diff --git a/CHANGELOG.md b/CHANGELOG.md index f7f98efdede..4a2db9edb57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [0.104.0]- 2024-05-22 + +### Changed + +- Weekly generation. + ## [0.103.0]- 2024-05-16 ### Changed diff --git a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go index 07667fd352b..a817c7579e1 100644 --- a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go +++ b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go @@ -54,11 +54,11 @@ func NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an operationalInsightsConnection object. +// Delete delete a resourceConnection 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/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil } -// ToDeleteRequestInformation delete an operationalInsightsConnection object. +// ToDeleteRequestInformation delete a resourceConnection object. // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index 2f648dda6d6..4fa0321e7e6 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. +// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not 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/windowsupdates-azureaddevice-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. +// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go index 29d6c57a6cf..70afc365a3b 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a contentApproval object. +// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a complianceChange object. type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReq urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a contentApproval object. +// Delete delete a complianceChange 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/windowsupdates-contentapproval-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return nil } -// Get read the properties and relationships of a contentApproval object. +// Get read the properties and relationships of a complianceChange 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-contentapproval-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// ToDeleteRequestInformation delete a contentApproval object. +// ToDeleteRequestInformation delete a complianceChange object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +130,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a contentApproval object. +// ToGetRequestInformation read the properties and relationships of a complianceChange object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_alternative_recording_request_builder.go b/app/online_meetings_item_alternative_recording_request_builder.go index 087a39a0bcb..dd0d31c27ec 100644 --- a/app/online_meetings_item_alternative_recording_request_builder.go +++ b/app/online_meetings_item_alternative_recording_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete alternativeRecording for the navigation property onlineMeetings in app +// Delete the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx contex } return nil } -// Get get alternativeRecording for the navigation property onlineMeetings from app +// Get the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.C } return res.([]byte), nil } -// Put update alternativeRecording for the navigation property onlineMeetings in app +// Put the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx context.C } return res.([]byte), nil } -// ToDeleteRequestInformation delete alternativeRecording for the navigation property onlineMeetings in app +// ToDeleteRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get alternativeRecording for the navigation property onlineMeetings from app +// ToGetRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in app +// ToPutRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_attendee_report_request_builder.go b/app/online_meetings_item_attendee_report_request_builder.go index 88616b87eb0..d38ae504264 100644 --- a/app/online_meetings_item_attendee_report_request_builder.go +++ b/app/online_meetings_item_attendee_report_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete attendeeReport for the navigation property onlineMeetings in app +// Delete the content stream of the attendee report of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context.Cont } return nil } -// Get get attendeeReport for the navigation property onlineMeetings from app +// Get the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context } return res.([]byte), nil } -// Put update attendeeReport for the navigation property onlineMeetings in app +// Put the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Context } return res.([]byte), nil } -// ToDeleteRequestInformation delete attendeeReport for the navigation property onlineMeetings in app +// ToDeleteRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get attendeeReport for the navigation property onlineMeetings from app +// ToGetRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in app +// ToPutRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_meeting_attendance_report_request_builder.go b/app/online_meetings_item_meeting_attendance_report_request_builder.go index 0be5a2fa345..b26eb3f39d0 100644 --- a/app/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from app +// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters the attendance report of the latest online meeting session. Read-only. type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx con } return nil } -// Get get meetingAttendanceReport from app +// Get the attendance report of the latest online meeting session. Read-only. // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { @@ -126,7 +126,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get meetingAttendanceReport from app +// ToGetRequestInformation the attendance report of the latest online meeting session. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_recording_request_builder.go b/app/online_meetings_item_recording_request_builder.go index 98caa9fd4fa..b28be35f4ca 100644 --- a/app/online_meetings_item_recording_request_builder.go +++ b/app/online_meetings_item_recording_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemRecordingRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete recording for the navigation property onlineMeetings in app +// Delete the content stream of the recording of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Context, } return nil } -// Get get recording for the navigation property onlineMeetings from app +// Get the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, req } return res.([]byte), nil } -// Put update recording for the navigation property onlineMeetings in app +// Put the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, bod } return res.([]byte), nil } -// ToDeleteRequestInformation delete recording for the navigation property onlineMeetings in app +// ToDeleteRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get recording for the navigation property onlineMeetings from app +// ToGetRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update recording for the navigation property onlineMeetings in app +// ToPutRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/get_all_messages_request_builder.go b/chats/get_all_messages_request_builder.go index 46c176dbae0..72291e58777 100644 --- a/chats/get_all_messages_request_builder.go +++ b/chats/get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// GetAllMessagesRequestBuilderGetQueryParameters get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. type GetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewGetAllMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a GetAllMessagesResponseable 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/chats-getallmessages?view=graph-rest-beta func (m *GetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAllMessagesRequestBuilderGetRequestConfiguration)(GetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *GetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(GetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a GetAllMessagesGetResponseable 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/chats-getallmessages?view=graph-rest-beta func (m *GetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *GetAllMessagesRequestBuilderGetRequestConfiguration)(GetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *GetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx contex } return res.(GetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a *RequestInformation when successful func (m *GetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAllMessagesRequestBuilderGetRequestConfiguration)(*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/online_meetings_item_alternative_recording_request_builder.go b/communications/online_meetings_item_alternative_recording_request_builder.go index 4b89c5e5185..50059cc9e1d 100644 --- a/communications/online_meetings_item_alternative_recording_request_builder.go +++ b/communications/online_meetings_item_alternative_recording_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete alternativeRecording for the navigation property onlineMeetings in communications +// Delete the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx contex } return nil } -// Get get alternativeRecording for the navigation property onlineMeetings from communications +// Get the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.C } return res.([]byte), nil } -// Put update alternativeRecording for the navigation property onlineMeetings in communications +// Put the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx context.C } return res.([]byte), nil } -// ToDeleteRequestInformation delete alternativeRecording for the navigation property onlineMeetings in communications +// ToDeleteRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get alternativeRecording for the navigation property onlineMeetings from communications +// ToGetRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in communications +// ToPutRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_attendee_report_request_builder.go b/communications/online_meetings_item_attendee_report_request_builder.go index d7d965bce70..352b69e7cd6 100644 --- a/communications/online_meetings_item_attendee_report_request_builder.go +++ b/communications/online_meetings_item_attendee_report_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete attendeeReport for the navigation property onlineMeetings in communications +// Delete the content stream of the attendee report of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context.Cont } return nil } -// Get get attendeeReport for the navigation property onlineMeetings from communications +// Get the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context } return res.([]byte), nil } -// Put update attendeeReport for the navigation property onlineMeetings in communications +// Put the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Context } return res.([]byte), nil } -// ToDeleteRequestInformation delete attendeeReport for the navigation property onlineMeetings in communications +// ToDeleteRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get attendeeReport for the navigation property onlineMeetings from communications +// ToGetRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in communications +// ToPutRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_meeting_attendance_report_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_request_builder.go index c83f94b79eb..8d65f952f7a 100644 --- a/communications/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from communications +// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters the attendance report of the latest online meeting session. Read-only. type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx con } return nil } -// Get get meetingAttendanceReport from communications +// Get the attendance report of the latest online meeting session. Read-only. // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { @@ -126,7 +126,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get meetingAttendanceReport from communications +// ToGetRequestInformation the attendance report of the latest online meeting session. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_recording_request_builder.go b/communications/online_meetings_item_recording_request_builder.go index f9967f6d789..03ffd19a364 100644 --- a/communications/online_meetings_item_recording_request_builder.go +++ b/communications/online_meetings_item_recording_request_builder.go @@ -44,7 +44,7 @@ func NewOnlineMeetingsItemRecordingRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete recording for the navigation property onlineMeetings in communications +// Delete the content stream of the recording of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Context, } return nil } -// Get get recording for the navigation property onlineMeetings from communications +// Get the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, req } return res.([]byte), nil } -// Put update recording for the navigation property onlineMeetings in communications +// Put the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, bod } return res.([]byte), nil } -// ToDeleteRequestInformation delete recording for the navigation property onlineMeetings in communications +// ToDeleteRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get recording for the navigation property onlineMeetings from communications +// ToGetRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update recording for the navigation property onlineMeetings in communications +// ToPutRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go index 39d25e35677..7c6ecce6609 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_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. +// IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. 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. +// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // 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. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // 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/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go index 99837d7a7c6..16eaa8fdfd8 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. +// IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. 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. +// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // 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. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // 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/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go index f4e2a48606b..a587655639d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go index 73e11416baa..91d94aa8865 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 3b12aa27879..3a00945df43 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go index 7cbe154fc0b..f097e84b4f4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go index 73c8f344528..9b4df51ef50 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationship // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go index 1754a63f62c..0385bf97d13 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go index 5fb084b5147..736af4c8666 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_android_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go index f1f784c165c..6d79454cb40 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 4d3c5debae9..7ee0c344847 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go index 5eb74895160..071a07d1d61 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go index dece73473f3..dea6fa4e751 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go index 7b6f064a3f9..b5e70b4647f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go index fb41ac3a083..d0541428648 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go index dc34bede80d..0c78baec05e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go index 9a76d738e42..6fbe4218608 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go index bd2eab8ffad..bd6f6ac4bf4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 27456812bba..0d8479b71cc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go index f9641b2b34c..ce43c37f0a0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go index 91aa2abe612..c6b0b372c2d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go index 1f79e1604fb..0c6f76fcd17 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index da6a6c9b256..6fc5bf80b5a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go index e0f10f56afa..f45ea1c06da 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 17c052ccfee..396b671d55a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go index fdb862d5090..fafe766181d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 457a67098ad..666db560686 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go index 9fb88f603ce..ec8f77796a8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go index 3baaa4e30ed..1477cf940e1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go index 4d58a737ee9..803fce06664 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go index c10df7ed98f..8106d98fb83 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go index 396e6132afa..d51a2ffa0f7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go index 0815419459e..68525e095d3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_win_get_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go index a449fb8d3a4..8ec9bab5750 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go index d8aec3d4193..5dd5dab3a7c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go index 43ea9050a5a..f9d016bdae4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go index 5bcdfd16bdc..d0cfb066c12 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go index a4e70b5781c..31023821c96 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go index 867f95a5435..65fc4cb5fe8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go index 726f73ab2cf..cec477b327a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go index 7940c24f374..1d0336d63f4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go index d40cc99add4..6bcc2b012ad 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go index 67ec4fc924c..e337a83c0e5 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go index 3338c21cdc0..f828e778fb2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go index c50c3f38993..c735e11f2ca 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Del } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/mobile_apps_item_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go index b0ebbdcbc13..93080353eaf 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go index fea03c708a4..0cf66a40566 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go @@ -32,6 +32,7 @@ func NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string, return NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Get get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a CloudPcReviewStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -55,6 +56,7 @@ func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx conte return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } // ToGetRequestInformation get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -66,6 +68,7 @@ func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestI 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. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder when successful func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { return NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go index 932fd0becfe..5349902dc29 100644 --- a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go @@ -31,6 +31,7 @@ func NewComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string, return NewComanagedDevicesItemSetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Post set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -50,6 +51,7 @@ func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx cont return nil } // ToPostRequestInformation set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body ComanagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -65,6 +67,7 @@ func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequest 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. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder when successful func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { return NewComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go index c984b01066e..be5622d37b7 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -32,6 +32,7 @@ func NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string, re return NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Get get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a CloudPcReviewStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -55,6 +56,7 @@ func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx context return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } // ToGetRequestInformation get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -66,6 +68,7 @@ func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInf 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. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder when successful func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { return NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go index 4a708aa6424..4f9e176dde5 100644 --- a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -31,6 +31,7 @@ func NewManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string, re return NewManagedDevicesItemSetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Post set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -50,6 +51,7 @@ func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx contex return nil } // ToPostRequestInformation set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -65,6 +67,7 @@ func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestIn 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. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder when successful func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { return NewManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go index 62b83fd9464..f5f57a998cb 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -188,11 +188,21 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Resize()(*VirtualEndp func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Restore()(*VirtualEndpointCloudPCsItemRestoreRequestBuilder) { return NewVirtualEndpointCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RetrieveReviewStatus provides operations to call the retrieveReviewStatus method. +// returns a *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder when successful +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) RetrieveReviewStatus()(*VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RetryPartnerAgentInstallation provides operations to call the retryPartnerAgentInstallation method. // returns a *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder when successful func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) RetryPartnerAgentInstallation()(*VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) { return NewVirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SetReviewStatus provides operations to call the setReviewStatus method. +// returns a *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder when successful +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) SetReviewStatus()(*VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) { + return NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Start provides operations to call the start method. // returns a *VirtualEndpointCloudPCsItemStartRequestBuilder when successful func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Start()(*VirtualEndpointCloudPCsItemStartRequestBuilder) { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go new file mode 100644 index 00000000000..4b32c89b294 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_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" +) + +// VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder provides operations to call the retrieveReviewStatus method. +type VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderInternal instantiates a new VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) { + m := &VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveReviewStatus()", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder instantiates a new VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrieveReviewStatus +// returns a CloudPcReviewStatusable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, 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.CreateCloudPcReviewStatusFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil +} +// ToGetRequestInformation invoke function retrieveReviewStatus +// returns a *RequestInformation when successful +func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder when successful +func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_post_request_body.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_post_request_body.go new file mode 100644 index 00000000000..95087831ce8 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_post_request_body.go @@ -0,0 +1,114 @@ +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 VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody instantiates a new VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody and sets the default values. +func NewVirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody()(*VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) { + m := &VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody(), 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 *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) 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 *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) 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 *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reviewStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCloudPcReviewStatusFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReviewStatus(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)) + } + return nil + } + return res +} +// GetReviewStatus gets the reviewStatus property value. The reviewStatus property +// returns a CloudPcReviewStatusable when successful +func (m *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) GetReviewStatus()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) { + val, err := m.GetBackingStore().Get("reviewStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("reviewStatus", m.GetReviewStatus()) + 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 *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) 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 *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReviewStatus sets the reviewStatus property value. The reviewStatus property +func (m *VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBody) SetReviewStatus(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)() { + err := m.GetBackingStore().Set("reviewStatus", value) + if err != nil { + panic(err) + } +} +type VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReviewStatus()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReviewStatus(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)() +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go new file mode 100644 index 00000000000..0a6e8282623 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_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" +) + +// VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder provides operations to call the setReviewStatus method. +type VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderInternal instantiates a new VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) { + m := &VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/setReviewStatus", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder instantiates a new VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setReviewStatus +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(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 setReviewStatus +// returns a *RequestInformation when successful +func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(*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 *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder when successful +func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) { + return NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go index 0b0cac2cbd9..160ad728674 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go @@ -31,7 +31,6 @@ func NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder(rawUrl stri return NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilderInternal(urlParams, requestAdapter) } // Post update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -51,7 +50,6 @@ func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) Post(ctx return nil } // ToPostRequestInformation update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointProvisioningPoliciesApplyConfigPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -67,7 +65,6 @@ func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) ToPostReq 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go index 609b86e74a6..8c869bc4dfb 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go @@ -70,7 +70,6 @@ func NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestB return NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -90,7 +89,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest return nil } // Get read the properties and relationships of a cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -114,7 +112,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } // Patch update the properties of a cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -138,7 +135,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } // ToDeleteRequestInformation delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +146,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -165,7 +160,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest return requestInfo, nil } // ToPatchRequestInformation update the properties of a cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -181,7 +175,6 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go index c9dcbf6082c..5022209a3ff 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go @@ -40,7 +40,6 @@ func NewVirtualEndpointProvisioningPoliciesCountRequestBuilder(rawUrl string, re return NewVirtualEndpointProvisioningPoliciesCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -61,7 +60,6 @@ func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) Get(ctx context return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -76,7 +74,6 @@ func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) ToGetRequestInf 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesCountRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go index 3f6105b42f4..3e55084a6b8 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go @@ -31,7 +31,6 @@ func NewVirtualEndpointProvisioningPoliciesItemApplyRequestBuilder(rawUrl string return NewVirtualEndpointProvisioningPoliciesItemApplyRequestBuilderInternal(urlParams, requestAdapter) } // Post apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -51,7 +50,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) Post(ctx co return nil } // ToPostRequestInformation apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemApplyPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -67,7 +65,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) ToPostReque 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go index 0ced80cf1b3..d6d48f4b423 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go @@ -31,7 +31,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignRequestBuilder(rawUrl strin return NewVirtualEndpointProvisioningPoliciesItemAssignRequestBuilderInternal(urlParams, requestAdapter) } // Post assign cloudPcProvisioningPolicy to user groups. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -51,7 +50,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) Post(ctx c return nil } // ToPostRequestInformation assign cloudPcProvisioningPolicy to user groups. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemAssignPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -67,7 +65,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) ToPostRequ 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go index 49591b3214a..7cea77d6014 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go @@ -60,7 +60,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPol return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete navigation property assignments for deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -77,7 +76,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo return nil } // Get a defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, error) { @@ -98,7 +96,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable), nil } // Patch update the navigation property assignments in deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, error) { @@ -119,7 +116,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable), nil } // ToDeleteRequestInformation delete navigation property assignments for deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +127,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo return requestInfo, nil } // ToGetRequestInformation a defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +141,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +156,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go index d18264dab39..44275529bcf 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go @@ -40,7 +40,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder(ra return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -61,7 +60,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -76,7 +74,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go index 5439abc7216..ab7a54a72b0 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go @@ -40,7 +40,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCount return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -61,7 +60,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCoun return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -76,7 +74,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCoun 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go index 7c145e3c64c..dec495f579e 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go @@ -48,7 +48,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemM return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) } // Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a MailboxSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { @@ -69,7 +68,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil } // Patch update property mailboxSettings value. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a MailboxSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { @@ -90,7 +88,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil } // ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +102,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +117,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_count_request_builder.go index 21d1e94e252..508fe18459b 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_count_request_builder.go @@ -40,7 +40,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemS return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -61,7 +60,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -76,7 +74,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go index 0cb2311fa31..6968e4ce513 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go @@ -58,7 +58,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ServiceProvisioningErrorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { @@ -79,7 +78,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } // ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -94,7 +92,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go index 0bb5a56f7cd..48d4196fc1e 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go @@ -40,7 +40,6 @@ type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestB QueryParameters *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilderGetQueryParameters } // ByUserId provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) ByUserId(userId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -71,7 +70,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequ return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable, error) { @@ -92,7 +90,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequ return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable), nil } // ToGetRequestInformation the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +104,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequ 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go index 02cc6237871..bb242596140 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go @@ -41,7 +41,6 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserI return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilderInternal(urlParams, requestAdapter) } // Get the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { @@ -72,7 +71,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUser return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // ToGetRequestInformation the assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -87,7 +85,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUser 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go index 8bd0b513e12..eeefa33e8d2 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go @@ -47,7 +47,6 @@ type VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderPostRequest Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } // ByCloudPcProvisioningPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ByCloudPcProvisioningPolicyAssignmentId(cloudPcProvisioningPolicyAssignmentId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -78,7 +77,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) Count return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get a defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentCollectionResponseable, error) { @@ -99,7 +97,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) Get(c return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentCollectionResponseable), nil } // Post create new navigation property to assignments for deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, error) { @@ -120,7 +117,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) Post( return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable), nil } // ToGetRequestInformation a defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +131,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToGet return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyAssignmentable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +146,6 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToPos 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go index bb577baba3d..842fad891bb 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go @@ -52,7 +52,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ApplyConfig()(*Virtu return NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // ByCloudPcProvisioningPolicyId provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ByCloudPcProvisioningPolicyId(cloudPcProvisioningPolicyId string)(*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -83,7 +82,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Count()(*VirtualEndp return NewVirtualEndpointProvisioningPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get list properties and relationships of the cloudPcProvisioningPolicy objects. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -107,7 +105,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Get(ctx context.Cont return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyCollectionResponseable), nil } // Post create a new cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -131,7 +128,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Post(ctx context.Con return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } // ToGetRequestInformation list properties and relationships of the cloudPcProvisioningPolicy objects. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +142,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToGetRequestInformat return requestInfo, nil } // ToPostRequestInformation create a new cloudPcProvisioningPolicy object. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +157,6 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToPostRequestInforma 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. -// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *VirtualEndpointProvisioningPoliciesRequestBuilder when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go index 60baf92be2a..85a31e7790a 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go @@ -96,7 +96,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobCollectionResponseable), nil } -// Post create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. +// Post create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report finishes downloading to the location specified by the exportUrl property. // returns a CloudPcExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -133,7 +133,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. +// ToPostRequestInformation create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report finishes downloading to the location specified by the exportUrl property. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable, requestConfiguration *VirtualEndpointReportsExportJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go index e7e24db5fcb..b10b2a2c54e 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go @@ -18,7 +18,7 @@ type OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilderGetQueryParameters the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. +// OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilderGetQueryParameters the collection of external Microsoft Entra tenants that the user shared profile data with. Read-only. type OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu } return nil } -// Get the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. +// Get the collection of external Microsoft Entra tenants that the user shared profile data with. Read-only. // returns a TenantReferenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantReferenceable, error) { @@ -126,7 +126,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. +// ToGetRequestInformation the collection of external Microsoft Entra tenants that the user shared profile data with. Read-only. // returns a *RequestInformation when successful func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_activities_item_drive_item_content_request_builder.go b/drives/item_activities_item_drive_item_content_request_builder.go index e4545b18cfd..6b611e66861 100644 --- a/drives/item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from drives +// ItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemActivitiesItemDriveItemContentRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Co } return nil } -// Get get content for the navigation property driveItem from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Conte } return res.([]byte), nil } -// Put update content for the navigation property driveItem in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_bundles_item_content_request_builder.go b/drives/item_bundles_item_content_request_builder.go index 7549b9fc3b8..3341a5a28b0 100644 --- a/drives/item_bundles_item_content_request_builder.go +++ b/drives/item_bundles_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemBundlesItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemBundlesItemContentRequestBuilderGetQueryParameters get content for the navigation property bundles from drives +// ItemBundlesItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemBundlesItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemBundlesItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemBundlesItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property bundles in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemBundlesItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemBundlesItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemBundlesItemContentRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get get content for the navigation property bundles from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemBundlesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBundlesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemBundlesItemContentRequestBuilder) Get(ctx context.Context, requestC } return res.([]byte), nil } -// Put update content for the navigation property bundles in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemBundlesItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemBundlesItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemBundlesItemContentRequestBuilder) Put(ctx context.Context, body []b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property bundles in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemBundlesItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemBundlesItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemBundlesItemContentRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property bundles from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemBundlesItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBundlesItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemBundlesItemContentRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property bundles in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemBundlesItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemBundlesItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_following_item_content_request_builder.go b/drives/item_following_item_content_request_builder.go index b855cce7a40..3eef205796c 100644 --- a/drives/item_following_item_content_request_builder.go +++ b/drives/item_following_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemFollowingItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFollowingItemContentRequestBuilderGetQueryParameters get content for the navigation property following from drives +// ItemFollowingItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemFollowingItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemFollowingItemContentRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemFollowingItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property following in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemFollowingItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemFollowingItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemFollowingItemContentRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get get content for the navigation property following from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemFollowingItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemFollowingItemContentRequestBuilder) Get(ctx context.Context, reques } return res.([]byte), nil } -// Put update content for the navigation property following in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemFollowingItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemFollowingItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemFollowingItemContentRequestBuilder) Put(ctx context.Context, body [ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property following in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemFollowingItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemFollowingItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemFollowingItemContentRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property following from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemFollowingItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFollowingItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemFollowingItemContentRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property following in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemFollowingItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemFollowingItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index 0a8b458006d..ee3f0167a3f 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from drives +// ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConten urlParams["request-raw-url"] = rawUrl return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return nil } -// Get get content for the navigation property driveItem from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return res.([]byte), nil } -// Put update content for the navigation property driveItem in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_children_item_content_request_builder.go b/drives/item_items_item_children_item_content_request_builder.go index 28d94d94da4..8f9d1837e97 100644 --- a/drives/item_items_item_children_item_content_request_builder.go +++ b/drives/item_items_item_children_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemChildrenItemContentRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemChildrenItemContentRequestBuilderGetQueryParameters get content for the navigation property children from drives +// ItemItemsItemChildrenItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemItemsItemChildrenItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemItemsItemChildrenItemContentRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemItemsItemChildrenItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property children in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemChildrenItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) Delete(ctx context.Cont } return nil } -// Get get content for the navigation property children from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemChildrenItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) Get(ctx context.Context } return res.([]byte), nil } -// Put update content for the navigation property children in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemChildrenItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) Put(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property children in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property children from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property children in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_content_request_builder.go b/drives/item_items_item_content_request_builder.go index 883374e6d52..2f7f4d32450 100644 --- a/drives/item_items_item_content_request_builder.go +++ b/drives/item_items_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemContentRequestBuilderGetQueryParameters get content for the navigation property items from drives +// ItemItemsItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemItemsItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemItemsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property items in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemItemsItemContentRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get get content for the navigation property items from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemItemsItemContentRequestBuilder) Get(ctx context.Context, requestCon } return res.([]byte), nil } -// Put update content for the navigation property items in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemItemsItemContentRequestBuilder) Put(ctx context.Context, body []byt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property items in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property items from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property items in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 8eff23647db..8381d121be7 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// 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. +// 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. // 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-lockorunlockrecord?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// 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. +// 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. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index 9050f6571c2..7e84074fa19 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookNamesItemRangeRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookNamesItemRangeRequestBuilderInternal(urlParams, requestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable 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/nameditem-range?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable), nil } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index e66bdebf683..ee3f7ca3d60 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable 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/tablecollection-add?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index c1d45c41883..4f0413332d7 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderInternal(urlParams, requestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable 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/nameditem-range?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable), nil } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index 8e37047a043..b4928b95cc4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable 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/tablecollection-add?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go index f6a84b2bec9..d0f18a30d0d 100644 --- a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from drives +// ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Delete(c } return nil } -// Get get content for the navigation property driveItem from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx } return res.([]byte), nil } -// Put update content for the navigation property driveItem in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_drive_item_content_request_builder.go b/drives/item_list_items_item_drive_item_content_request_builder.go index 8251378fa94..4ccdab7cd90 100644 --- a/drives/item_list_items_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from drives +// ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemListItemsItemDriveItemContentRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Delete(ctx context.Con } return nil } -// Get get content for the navigation property driveItem from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Get(ctx context.Contex } return res.([]byte), nil } -// Put update content for the navigation property driveItem in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Put(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_root_content_request_builder.go b/drives/item_root_content_request_builder.go index ca9c94ec144..a685e3ad2cb 100644 --- a/drives/item_root_content_request_builder.go +++ b/drives/item_root_content_request_builder.go @@ -18,7 +18,7 @@ type ItemRootContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRootContentRequestBuilderGetQueryParameters get content for the navigation property root from drives +// ItemRootContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemRootContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemRootContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemRootContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property root in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemRootContentRequestBuilder) Delete(ctx context.Context, requestConfi } return nil } -// Get get content for the navigation property root from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemRootContentRequestBuilder) Get(ctx context.Context, requestConfigur } return res.([]byte), nil } -// Put update content for the navigation property root in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemRootContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemRootContentRequestBuilder) Put(ctx context.Context, body []byte, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property root in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemRootContentRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property root from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property root in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemRootContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_special_item_content_request_builder.go b/drives/item_special_item_content_request_builder.go index 02ec6afe133..27aa59df6b9 100644 --- a/drives/item_special_item_content_request_builder.go +++ b/drives/item_special_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemSpecialItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSpecialItemContentRequestBuilderGetQueryParameters get content for the navigation property special from drives +// ItemSpecialItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemSpecialItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemSpecialItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemSpecialItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property special in drives +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSpecialItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSpecialItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemSpecialItemContentRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get get content for the navigation property special from drives +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSpecialItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSpecialItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemSpecialItemContentRequestBuilder) Get(ctx context.Context, requestC } return res.([]byte), nil } -// Put update content for the navigation property special in drives +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSpecialItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemSpecialItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemSpecialItemContentRequestBuilder) Put(ctx context.Context, body []b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property special in drives +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSpecialItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSpecialItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemSpecialItemContentRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property special from drives +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSpecialItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSpecialItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemSpecialItemContentRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property special in drives +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSpecialItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemSpecialItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 626528b21d0..1a56771a724 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -106,12 +106,12 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the relatedContact collection of an educationUser object. +// Patch update the properties of an educationuser object. // returns a EducationUserable 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/relatedcontact-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta func (m *UsersEducationUserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +169,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the relatedContact collection of an educationUser object. +// ToPatchRequestInformation update the properties of an educationuser object. // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, 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..47742dd8312 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 the 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 the 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/industry_data_data_connectors_industry_data_connector_item_request_builder.go b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go index 38dc53c4aef..b52535653c3 100644 --- a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go +++ b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go @@ -101,12 +101,12 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get( func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) MicrosoftGraphIndustryDataValidate()(*IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) { return NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an azureDataLakeConnector object. +// Patch update the properties of an 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-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-update?view=graph-rest-beta func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an azureDataLakeConnector object. +// ToPatchRequestInformation update the properties of an industryDataConnector object. // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go index 55bbe40b7ac..107c2161161 100644 --- a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go +++ b/external/industry_data_inbound_flows_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"` @@ -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 { @@ -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) diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index b4fb14898b6..a43fac74c7c 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataInboundFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFlow objects and their properties. +// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFileFlow objects and their properties. type IndustryDataInboundFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewIndustryDataInboundFlowsRequestBuilder(rawUrl string, requestAdapter i2a func (m *IndustryDataInboundFlowsRequestBuilder) Count()(*IndustryDataInboundFlowsCountRequestBuilder) { return NewIndustryDataInboundFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the inboundFlow objects and their properties. +// Get get a list of the inboundFileFlow objects and their properties. // returns a InboundFlowCollectionResponseable 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-list?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-list?view=graph-rest-beta func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: +// Post create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: // 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-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToGetRequestInformation get a list of the inboundFlow objects and their properties. +// ToGetRequestInformation get a list of the inboundFileFlow objects and their properties. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: +// ToPostRequestInformation create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_item_microsoft_graph_industry_data_reset_request_builder.go b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_item_microsoft_graph_industry_data_reset_request_builder.go new file mode 100644 index 00000000000..43276eba491 --- /dev/null +++ b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_item_microsoft_graph_industry_data_reset_request_builder.go @@ -0,0 +1,67 @@ +package external + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder provides operations to call the reset method. +type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderInternal instantiates a new IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder and sets the default values. +func NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) { + m := &IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows/{provisioningFlow%2Did}/microsoft.graph.industryData.reset", pathParameters), + } + return m +} +// NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder instantiates a new IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder and sets the default values. +func NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reset a provisioningFlow. This action reprovisions all current data as if it were the initial run, and clears out the existing errors associated with the 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/industrydata-provisioningflow-reset?view=graph-rest-beta +func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) Post(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(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 +} +// ToPostRequestInformation reset a provisioningFlow. This action reprovisions all current data as if it were the initial run, and clears out the existing errors associated with the flow. +// returns a *RequestInformation when successful +func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderPostRequestConfiguration)(*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 *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder when successful +func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) WithUrl(rawUrl string)(*IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) { + return NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go index 9492a439d53..8630cbb7461 100644 --- a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go +++ b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go @@ -90,6 +90,11 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable), nil } +// MicrosoftGraphIndustryDataReset provides operations to call the reset method. +// returns a *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder when successful +func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) MicrosoftGraphIndustryDataReset()(*IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilder) { + return NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsItemMicrosoftGraphIndustryDataResetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property provisioningFlows in external // returns a ProvisioningFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/graph_request_adapter.go b/graph_request_adapter.go index e4673a76fe7..43105d49356 100644 --- a/graph_request_adapter.go +++ b/graph_request_adapter.go @@ -10,7 +10,7 @@ import ( var clientOptions = core.GraphClientOptions{ GraphServiceVersion: "beta", - GraphServiceLibraryVersion: "0.103.0", + GraphServiceLibraryVersion: "0.104.0", } // GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware. @@ -91,3 +91,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH + diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index cf52f10a649..857edf5fd9d 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -119,12 +119,12 @@ func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequestBuilder) { return NewGetUserOwnedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// 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. +// 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. // 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-upsert?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?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 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. +// 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. // 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_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index 8589d84578a..c95ea7563cd 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters get a group's conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -64,12 +64,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a group's conversation object. +// Get retrieve the properties and relationships of conversation object. // returns a Conversationable 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-get-conversation?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-beta func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,7 +103,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a group's conversation object. +// ToGetRequestInformation retrieve the properties and relationships of conversation object. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 96976918e32..7bc4e302787 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error 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-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index e5d4d998946..19395c1dba2 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -97,12 +97,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationCollectionResponseable), nil } -// Post create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a Conversationable 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-conversations?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_resources_item_content_request_builder.go b/groups/item_onenote_resources_item_content_request_builder.go index 6d8f9b1f1aa..eddac926a54 100644 --- a/groups/item_onenote_resources_item_content_request_builder.go +++ b/groups/item_onenote_resources_item_content_request_builder.go @@ -45,7 +45,7 @@ func NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemOnenoteResourcesItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property resources in groups +// Delete the content of the resource. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -61,7 +61,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get content for the navigation property resources from groups +// Get the content of the resource. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -81,7 +81,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, } return res.([]byte), nil } -// Put update content for the navigation property resources in groups +// Put the content of the resource. // returns a OnenoteResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable, error) { @@ -101,7 +101,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable), nil } -// ToDeleteRequestInformation delete content for the navigation property resources in groups +// ToDeleteRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -112,7 +112,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property resources from groups +// ToGetRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -123,7 +123,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property resources in groups +// ToPutRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index 5f556fe2dd4..e2b9feb3857 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from groups +// ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConten urlParams["request-raw-url"] = rawUrl return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in groups +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return nil } -// Get get content for the navigation property driveItem from groups +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return res.([]byte), nil } -// Put update content for the navigation property driveItem in groups +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in groups +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from groups +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in groups +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index 398602c1fa6..f051f7463c9 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from groups +// ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuil urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in groups +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui } return nil } -// Get get content for the navigation property driveItem from groups +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui } return res.([]byte), nil } -// Put update content for the navigation property driveItem in groups +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in groups +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from groups +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in groups +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go index ac68b6637a9..663bbc2a33e 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from groups +// ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in groups +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Delete(c } return nil } -// Get get content for the navigation property driveItem from groups +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Get(ctx } return res.([]byte), nil } -// Put update content for the navigation property driveItem in groups +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) Put(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in groups +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from groups +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in groups +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_resources_item_content_request_builder.go b/groups/item_sites_item_onenote_resources_item_content_request_builder.go index f688160e91c..5ce95179239 100644 --- a/groups/item_sites_item_onenote_resources_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_resources_item_content_request_builder.go @@ -45,7 +45,7 @@ func NewItemSitesItemOnenoteResourcesItemContentRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemSitesItemOnenoteResourcesItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property resources in groups +// Delete the content of the resource. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -61,7 +61,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx cont } return nil } -// Get get content for the navigation property resources from groups +// Get the content of the resource. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -81,7 +81,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context } return res.([]byte), nil } -// Put update content for the navigation property resources in groups +// Put the content of the resource. // returns a OnenoteResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable, error) { @@ -101,7 +101,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable), nil } -// ToDeleteRequestInformation delete content for the navigation property resources in groups +// ToDeleteRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -112,7 +112,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property resources from groups +// ToGetRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -123,7 +123,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property resources in groups +// ToPutRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemSitesItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_files_folder_content_request_builder.go b/groups/item_team_channels_item_files_folder_content_request_builder.go index d7c9c9c6fb1..5e6e86de727 100644 --- a/groups/item_team_channels_item_files_folder_content_request_builder.go +++ b/groups/item_team_channels_item_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from groups +// ItemTeamChannelsItemFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemTeamChannelsItemFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemTeamChannelsItemFilesFolderContentRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in groups +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Delete(ctx contex } return nil } -// Get get content for the navigation property filesFolder from groups +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.C } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in groups +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in groups +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from groups +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in groups +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_files_folder_content_request_builder.go b/groups/item_team_primary_channel_files_folder_content_request_builder.go index 27ae17ec5b6..4efcac6137b 100644 --- a/groups/item_team_primary_channel_files_folder_content_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from groups +// ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemTeamPrimaryChannelFilesFolderContentRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in groups +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx cont } return nil } -// Get get content for the navigation property filesFolder from groups +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in groups +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in groups +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from groups +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in groups +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 944fc12e440..c8d61fe7bcf 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -52,11 +52,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 { @@ -127,7 +127,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) diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 83df9bbbfae..1dbeda4b96d 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error 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-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go index 5dcddf7f90f..52451efaa1b 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters get userFlowIdentityProviders from identity +// B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters the identity providers included in the user flow. type B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewB2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequest urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get userFlowIdentityProviders from identity +// Get the identity providers included in the user flow. // returns a IdentityProviderBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, error) { @@ -60,7 +60,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable), nil } -// ToGetRequestInformation get userFlowIdentityProviders from identity +// ToGetRequestInformation the identity providers included in the user flow. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go index ab14d89ffa5..482c754f7f6 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetQueryParameters get userFlowIdentityProviders from identity +// B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetQueryParameters the identity providers included in the user flow. type B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewB2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder(rawUrl string, r func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) Count()(*B2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) { return NewB2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get userFlowIdentityProviders from identity +// Get the identity providers included in the user flow. // returns a IdentityProviderBaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseCollectionResponseable, error) { @@ -89,7 +89,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseCollectionResponseable), nil } -// ToGetRequestInformation get userFlowIdentityProviders from identity +// ToGetRequestInformation the identity providers included in the user flow. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go index 612b577d8de..e3a4c843604 100644 --- a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderGetQueryParameters get identityProviders from identity +// B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderGetQueryParameters the identity providers included in the user flow. type B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewB2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewB2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get identityProviders from identity +// Get the identity providers included in the user flow. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a IdentityProviderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -61,7 +61,7 @@ func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable), nil } -// ToGetRequestInformation get identityProviders from identity +// ToGetRequestInformation the identity providers included in the user flow. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strengths_request_builder.go b/identity/conditional_access_authentication_strengths_request_builder.go index 2fdbf0519f9..d4d3a625ee0 100644 --- a/identity/conditional_access_authentication_strengths_request_builder.go +++ b/identity/conditional_access_authentication_strengths_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessAuthenticationStrengthsRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessAuthenticationStrengthsRequestBuilderGetQueryParameters get authenticationStrengths from identity +// ConditionalAccessAuthenticationStrengthsRequestBuilderGetQueryParameters dEPRECATED. See the authenticationStrength relationship instead. type ConditionalAccessAuthenticationStrengthsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,7 +76,7 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) Delete(ctx cont } return nil } -// Get get authenticationStrengths from identity +// Get dEPRECATED. See the authenticationStrength relationship instead. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationStrengthRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -135,7 +135,7 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get authenticationStrengths from identity +// ToGetRequestInformation dEPRECATED. See the authenticationStrength relationship instead. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 8661d34b42d..a55dce99d71 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation 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 an ipNamedLocation object. +// Delete delete a namedLocation 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/ipnamedlocation-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-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 a namedLocation object. +// Get retrieve the properties and relationships 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/namedlocation-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-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 an ipNamedLocation object. +// Patch update the properties of a countryNamedLocation 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-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-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 an ipNamedLocation object. +// ToDeleteRequestInformation delete a namedLocation 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 a namedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation 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 an ipNamedLocation object. +// ToPatchRequestInformation update the properties of a countryNamedLocation 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/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go index bd93acf8546..9e8b645b338 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAss urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAs } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go index 4e82201ebac..8eb457f3bbb 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go index 597ff086939..0f51a711634 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,13 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return nil } -// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension 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/accesspackageassignmentworkflowextension-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +131,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go index 0f976f3ea9b..7e8834c1772 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go @@ -54,12 +54,12 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// Delete delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// ToDeleteRequestInformation delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 33a0b88cb88..1bd38d29494 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// 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. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,12 +93,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// 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. +// Get retrieve the properties and relationships of an accessPackage object. // 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-list-accesspackageresourcerolescopes?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?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 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. +// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. // 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/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go index 7937c2a11cf..acf854c2224 100644 --- a/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAssignmentRequestsItemAccessPackageAssignmentReques urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -61,7 +61,7 @@ func (m *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.go new file mode 100644 index 00000000000..76528861157 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -0,0 +1,120 @@ +package identitygovernance + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the topTasksProcessedSummary method. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters provide a summary of the most processed tasks, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights/microsoft.graph.identityGovernance.topTasksProcessedSummary(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get provide a summary of the most processed tasks, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. +// Deprecated: This method is obsolete. Use GetAsTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable 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-insights-toptasksprocessedsummary?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable, 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, CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse provide a summary of the most processed tasks, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. +// returns a LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable 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-insights-toptasksprocessedsummary?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation provide a summary of the most processed tasks, known as top tasks, for a specified time period in a tenant. The task definition is provided, along with numerical counts of total, successful, and failed runs. For information about workflows processed, see insights: topWorkflowsProcessedSummary. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.go new file mode 100644 index 00000000000..0dde99e77aa --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_get_response.go @@ -0,0 +1,90 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse()(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateTopTasksInsightsSummaryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TopTasksInsightsSummaryable when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) 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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable) + SetValue(value []i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopTasksInsightsSummaryable)() +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_response.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..8fcadd1c676 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_tasks_processed_summary_with_start_date_time_with_end_date_time_top_tasks_processed_summary_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,27 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable instead. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse struct { + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse()(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse{ + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse: *NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable instead. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable interface { + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go new file mode 100644 index 00000000000..eb5231d7339 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -0,0 +1,120 @@ +package identitygovernance + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the topWorkflowsProcessedSummary method. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters provide a summary of the workflows processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights/microsoft.graph.identityGovernance.topWorkflowsProcessedSummary(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get provide a summary of the workflows processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. +// Deprecated: This method is obsolete. Use GetAsTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable 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-insights-topworkflowsprocessedsummary?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable, 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, CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse provide a summary of the workflows processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. +// returns a LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable 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-insights-topworkflowsprocessedsummary?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation provide a summary of the workflows processed the most, known as top workflows, for a specified period in a tenant. Workflow basic details are given, along with run information. For information about tasks processed, see insights: topTasksProcessedSummary. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.go new file mode 100644 index 00000000000..4b82f50250c --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_get_response.go @@ -0,0 +1,90 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/identitygovernance" +) + +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse()(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateTopWorkflowsInsightsSummaryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TopWorkflowsInsightsSummaryable when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable) + } + return nil +} +// Serialize serializes information the current object +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) 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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable) + SetValue(value []i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TopWorkflowsInsightsSummaryable)() +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_response.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..a184848ad88 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_top_workflows_processed_summary_with_start_date_time_with_end_date_time_top_workflows_processed_summary_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,27 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable instead. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse struct { + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse()(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse{ + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse: *NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable instead. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeResponseable interface { + LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.go new file mode 100644 index 00000000000..7537aa6ae6f --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_by_category_with_start_date_time_with_end_date_time_request_builder.go @@ -0,0 +1,79 @@ +package identitygovernance + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the workflowsProcessedByCategory method. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights/microsoft.graph.identityGovernance.workflowsProcessedByCategory(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get provide a summary of workflows processed, by category, in a tenant. This allows you to quickly get category information, by numerical value, bypassing other information found in the WorkflowsProcessedSummary call. +// returns a WorkflowsInsightsByCategoryable 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-insights-workflowsprocessedbycategory?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowsInsightsByCategoryable, 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, i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateWorkflowsInsightsByCategoryFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowsInsightsByCategoryable), nil +} +// ToGetRequestInformation provide a summary of workflows processed, by category, in a tenant. This allows you to quickly get category information, by numerical value, bypassing other information found in the WorkflowsProcessedSummary call. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go new file mode 100644 index 00000000000..254f010aca0 --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_microsoft_graph_identity_governance_workflows_processed_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -0,0 +1,79 @@ +package identitygovernance + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the workflowsProcessedSummary method. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights/microsoft.graph.identityGovernance.workflowsProcessedSummary(startDateTime={startDateTime},endDateTime={endDateTime})", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. +// returns a WorkflowsInsightsSummaryable 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-insights-workflowsprocessedsummary?view=graph-rest-beta +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowsInsightsSummaryable, 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, i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateWorkflowsInsightsSummaryFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowsInsightsSummaryable), nil +} +// ToGetRequestInformation provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_insights_request_builder.go b/identitygovernance/lifecycle_workflows_insights_request_builder.go new file mode 100644 index 00000000000..04b0f8293bb --- /dev/null +++ b/identitygovernance/lifecycle_workflows_insights_request_builder.go @@ -0,0 +1,178 @@ +package identitygovernance + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/identitygovernance" +) + +// LifecycleWorkflowsInsightsRequestBuilder provides operations to manage the insights property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +type LifecycleWorkflowsInsightsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// LifecycleWorkflowsInsightsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// LifecycleWorkflowsInsightsRequestBuilderGetQueryParameters the insight container holding workflow insight summaries for a tenant. +type LifecycleWorkflowsInsightsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// LifecycleWorkflowsInsightsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *LifecycleWorkflowsInsightsRequestBuilderGetQueryParameters +} +// LifecycleWorkflowsInsightsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type LifecycleWorkflowsInsightsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewLifecycleWorkflowsInsightsRequestBuilderInternal instantiates a new LifecycleWorkflowsInsightsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsRequestBuilder) { + m := &LifecycleWorkflowsInsightsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/insights{?%24expand,%24select}", pathParameters), + } + return m +} +// NewLifecycleWorkflowsInsightsRequestBuilder instantiates a new LifecycleWorkflowsInsightsRequestBuilder and sets the default values. +func NewLifecycleWorkflowsInsightsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*LifecycleWorkflowsInsightsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewLifecycleWorkflowsInsightsRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property insights for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsInsightsRequestBuilder) Delete(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderDeleteRequestConfiguration)(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 insight container holding workflow insight summaries for a tenant. +// returns a Insightsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable, 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, i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateInsightsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable), nil +} +// MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTime provides operations to call the topTasksProcessedSummary method. +// returns a *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) MicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopTasksProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime provides operations to call the topWorkflowsProcessedSummary method. +// returns a *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) MicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceTopWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTime provides operations to call the workflowsProcessedByCategory method. +// returns a *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) MicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedByCategoryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime provides operations to call the workflowsProcessedSummary method. +// returns a *LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsInsightsMicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// Patch update the navigation property insights in identityGovernance +// returns a Insightsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *LifecycleWorkflowsInsightsRequestBuilder) Patch(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderPatchRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable, 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, i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CreateInsightsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable), nil +} +// ToDeleteRequestInformation delete navigation property insights for identityGovernance +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderDeleteRequestConfiguration)(*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 insight container holding workflow insight summaries for a tenant. +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderGetRequestConfiguration)(*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 insights in identityGovernance +// returns a *RequestInformation when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Insightsable, requestConfiguration *LifecycleWorkflowsInsightsRequestBuilderPatchRequestConfiguration)(*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 *LifecycleWorkflowsInsightsRequestBuilder when successful +func (m *LifecycleWorkflowsInsightsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsInsightsRequestBuilder) { + return NewLifecycleWorkflowsInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_request_builder.go index c8862015b4f..5ce40d13e72 100644 --- a/identitygovernance/lifecycle_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_request_builder.go @@ -100,6 +100,11 @@ func (m *LifecycleWorkflowsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleWorkflowsContainerable), nil } +// Insights provides operations to manage the insights property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +// returns a *LifecycleWorkflowsInsightsRequestBuilder when successful +func (m *LifecycleWorkflowsRequestBuilder) Insights()(*LifecycleWorkflowsInsightsRequestBuilder) { + return NewLifecycleWorkflowsInsightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property lifecycleWorkflows in identityGovernance // returns a LifecycleWorkflowsContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index bf553211a66..de390f73231 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. 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 the properties and relationships of an agreement object. +// Get retrieve all files related to an agreement. This includes the default file and all localized files. // 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-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?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 the properties and relationships of an agreement object. +// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. // 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/identityprotection/risk_detections_risk_detection_item_request_builder.go b/identityprotection/risk_detections_risk_detection_item_request_builder.go index bc9ad555c9b..965068428e4 100644 --- a/identityprotection/risk_detections_risk_detection_item_request_builder.go +++ b/identityprotection/risk_detections_risk_detection_item_request_builder.go @@ -18,7 +18,7 @@ type RiskDetectionsRiskDetectionItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. +// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. type RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties of a riskDetection object. +// Get retrieve the properties of a collection of riskDetection objects. // returns a RiskDetectionable 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/riskdetection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. // returns a *RequestInformation when successful func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index 2907469e6b6..1073ad678eb 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a collection of riskyUser objects. +// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a riskyUser object. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,12 @@ func (m *RiskyUsersRequestBuilder) Count()(*RiskyUsersCountRequestBuilder) { func (m *RiskyUsersRequestBuilder) Dismiss()(*RiskyUsersDismissRequestBuilder) { return NewRiskyUsersDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a collection of riskyUser objects. +// Get retrieve the properties and relationships of a riskyUser object. // returns a RiskyUserCollectionResponseable 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/riskyusers-list?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *RiskyUsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a collection of riskyUser objects. +// ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. // returns a *RequestInformation when successful func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(*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 651581ca726..1cf881a1a62 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6FB2CFC68C47DC63BA3CE244E0E0A8A51FA39CE6F9F06DEC68A997DA8492263BFB190438270267B252506A0345962EB040F9CB30BBE367BC106396B42D6AC750", + "descriptionHash": "18961639DB52714B6469761329F15BB9DED0F2C13713CE65B193DAA53C4BC5A3E337080A3311780AA1C53EDC2DB89BB0D7C23369769F197453343ED4BEEA02B2", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.15.0", @@ -9,6 +9,7 @@ "usesBackingStore": true, "excludeBackwardCompatible": false, "includeAdditionalData": true, + "disableSSLValidation": false, "serializers": [ "Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory", "Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory", diff --git a/models/access_package_assignment_request.go b/models/access_package_assignment_request.go index 2b932d31171..365af128384 100644 --- a/models/access_package_assignment_request.go +++ b/models/access_package_assignment_request.go @@ -32,7 +32,7 @@ func (m *AccessPackageAssignmentRequest) GetAccessPackage()(AccessPackageable) { } return nil } -// GetAccessPackageAssignment gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// GetAccessPackageAssignment gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // returns a AccessPackageAssignmentable when successful func (m *AccessPackageAssignmentRequest) GetAccessPackageAssignment()(AccessPackageAssignmentable) { val, err := m.GetBackingStore().Get("accessPackageAssignment") @@ -104,7 +104,7 @@ func (m *AccessPackageAssignmentRequest) GetCustomExtensionHandlerInstances()([] } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property +// GetExpirationDateTime gets the expirationDateTime property value. 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 is 2014-01-01T00:00:00Z // returns a *Time when successful func (m *AccessPackageAssignmentRequest) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -306,7 +306,7 @@ func (m *AccessPackageAssignmentRequest) GetFieldDeserializers()(map[string]func } return res } -// GetIsValidationOnly gets the isValidationOnly property value. True if the request is not to be processed for assignment. +// GetIsValidationOnly gets the isValidationOnly property value. True if the request isn't to be processed for assignment. // returns a *bool when successful func (m *AccessPackageAssignmentRequest) GetIsValidationOnly()(*bool) { val, err := m.GetBackingStore().Get("isValidationOnly") @@ -342,7 +342,7 @@ func (m *AccessPackageAssignmentRequest) GetRequestor()(AccessPackageSubjectable } return nil } -// GetRequestState gets the requestState property value. One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted or Scheduled. Read-only. +// GetRequestState gets the requestState property value. One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted, or Scheduled. Read-only. // returns a *string when successful func (m *AccessPackageAssignmentRequest) GetRequestState()(*string) { val, err := m.GetBackingStore().Get("requestState") @@ -366,7 +366,7 @@ func (m *AccessPackageAssignmentRequest) GetRequestStatus()(*string) { } return nil } -// GetRequestType gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd, UserUpdate or UserRemove. Read-only. +// GetRequestType gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. // returns a *string when successful func (m *AccessPackageAssignmentRequest) GetRequestType()(*string) { val, err := m.GetBackingStore().Get("requestType") @@ -390,7 +390,7 @@ func (m *AccessPackageAssignmentRequest) GetSchedule()(RequestScheduleable) { } return nil } -// GetVerifiedCredentialsData gets the verifiedCredentialsData property value. The details of the verifiable credential that was presented by the requestor, such as the issuer and claims. Read-only. +// GetVerifiedCredentialsData gets the verifiedCredentialsData property value. The details of the verifiable credential that the requestor presented, such as the issuer and claims. Read-only. // returns a []VerifiedCredentialDataable when successful func (m *AccessPackageAssignmentRequest) GetVerifiedCredentialsData()([]VerifiedCredentialDataable) { val, err := m.GetBackingStore().Get("verifiedCredentialsData") @@ -537,7 +537,7 @@ func (m *AccessPackageAssignmentRequest) SetAccessPackage(value AccessPackageabl panic(err) } } -// SetAccessPackageAssignment sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. +// SetAccessPackageAssignment sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. func (m *AccessPackageAssignmentRequest) SetAccessPackageAssignment(value AccessPackageAssignmentable)() { err := m.GetBackingStore().Set("accessPackageAssignment", value) if err != nil { @@ -579,14 +579,14 @@ func (m *AccessPackageAssignmentRequest) SetCustomExtensionHandlerInstances(valu panic(err) } } -// SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property +// SetExpirationDateTime sets the expirationDateTime property value. 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 is 2014-01-01T00:00:00Z func (m *AccessPackageAssignmentRequest) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { panic(err) } } -// SetIsValidationOnly sets the isValidationOnly property value. True if the request is not to be processed for assignment. +// SetIsValidationOnly sets the isValidationOnly property value. True if the request isn't to be processed for assignment. func (m *AccessPackageAssignmentRequest) SetIsValidationOnly(value *bool)() { err := m.GetBackingStore().Set("isValidationOnly", value) if err != nil { @@ -607,7 +607,7 @@ func (m *AccessPackageAssignmentRequest) SetRequestor(value AccessPackageSubject panic(err) } } -// SetRequestState sets the requestState property value. One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted or Scheduled. Read-only. +// SetRequestState sets the requestState property value. One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted, or Scheduled. Read-only. func (m *AccessPackageAssignmentRequest) SetRequestState(value *string)() { err := m.GetBackingStore().Set("requestState", value) if err != nil { @@ -621,7 +621,7 @@ func (m *AccessPackageAssignmentRequest) SetRequestStatus(value *string)() { panic(err) } } -// SetRequestType sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd, UserUpdate or UserRemove. Read-only. +// SetRequestType sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. func (m *AccessPackageAssignmentRequest) SetRequestType(value *string)() { err := m.GetBackingStore().Set("requestType", value) if err != nil { @@ -635,7 +635,7 @@ func (m *AccessPackageAssignmentRequest) SetSchedule(value RequestScheduleable)( panic(err) } } -// SetVerifiedCredentialsData sets the verifiedCredentialsData property value. The details of the verifiable credential that was presented by the requestor, such as the issuer and claims. Read-only. +// SetVerifiedCredentialsData sets the verifiedCredentialsData property value. The details of the verifiable credential that the requestor presented, such as the issuer and claims. Read-only. func (m *AccessPackageAssignmentRequest) SetVerifiedCredentialsData(value []VerifiedCredentialDataable)() { err := m.GetBackingStore().Set("verifiedCredentialsData", value) if err != nil { diff --git a/models/access_package_subject.go b/models/access_package_subject.go index df26a7117e3..5032177cd91 100644 --- a/models/access_package_subject.go +++ b/models/access_package_subject.go @@ -220,7 +220,7 @@ func (m *AccessPackageSubject) GetObjectId()(*string) { } return nil } -// GetOnPremisesSecurityIdentifier gets the onPremisesSecurityIdentifier property value. The onPremisesSecurityIdentifier property +// GetOnPremisesSecurityIdentifier gets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier. // returns a *string when successful func (m *AccessPackageSubject) GetOnPremisesSecurityIdentifier()(*string) { val, err := m.GetBackingStore().Get("onPremisesSecurityIdentifier") @@ -392,7 +392,7 @@ func (m *AccessPackageSubject) SetObjectId(value *string)() { panic(err) } } -// SetOnPremisesSecurityIdentifier sets the onPremisesSecurityIdentifier property value. The onPremisesSecurityIdentifier property +// SetOnPremisesSecurityIdentifier sets the onPremisesSecurityIdentifier property value. A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier. func (m *AccessPackageSubject) SetOnPremisesSecurityIdentifier(value *string)() { err := m.GetBackingStore().Set("onPremisesSecurityIdentifier", value) if err != nil { diff --git a/models/access_review_instance_decision_item_service_principal_target.go b/models/access_review_instance_decision_item_service_principal_target.go index 09248d5265e..4a4a6d9b0ed 100644 --- a/models/access_review_instance_decision_item_service_principal_target.go +++ b/models/access_review_instance_decision_item_service_principal_target.go @@ -81,7 +81,7 @@ func (m *AccessReviewInstanceDecisionItemServicePrincipalTarget) GetServicePrinc } return nil } -// GetServicePrincipalId gets the servicePrincipalId property value. The servicePrincipalId property +// GetServicePrincipalId gets the servicePrincipalId property value. The identifier of the service principal whose access is being reviewed. // returns a *string when successful func (m *AccessReviewInstanceDecisionItemServicePrincipalTarget) GetServicePrincipalId()(*string) { val, err := m.GetBackingStore().Get("servicePrincipalId") @@ -133,7 +133,7 @@ func (m *AccessReviewInstanceDecisionItemServicePrincipalTarget) SetServicePrinc panic(err) } } -// SetServicePrincipalId sets the servicePrincipalId property value. The servicePrincipalId property +// SetServicePrincipalId sets the servicePrincipalId property value. The identifier of the service principal whose access is being reviewed. func (m *AccessReviewInstanceDecisionItemServicePrincipalTarget) SetServicePrincipalId(value *string)() { err := m.GetBackingStore().Set("servicePrincipalId", value) if err != nil { diff --git a/models/access_review_schedule_definition.go b/models/access_review_schedule_definition.go index 16f8ead3f23..b89c7bb95f1 100644 --- a/models/access_review_schedule_definition.go +++ b/models/access_review_schedule_definition.go @@ -32,7 +32,7 @@ func (m *AccessReviewScheduleDefinition) GetAdditionalNotificationRecipients()([ } return nil } -// GetBackupReviewers gets the backupReviewers property value. The backupReviewers property +// GetBackupReviewers gets the backupReviewers property value. This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist. Supports $select. Note: This property has been replaced by fallbackReviewers. However, specifying either backupReviewers or fallbackReviewers automatically populates the same values to the other property. // returns a []AccessReviewReviewerScopeable when successful func (m *AccessReviewScheduleDefinition) GetBackupReviewers()([]AccessReviewReviewerScopeable) { val, err := m.GetBackingStore().Get("backupReviewers") @@ -561,7 +561,7 @@ func (m *AccessReviewScheduleDefinition) SetAdditionalNotificationRecipients(val panic(err) } } -// SetBackupReviewers sets the backupReviewers property value. The backupReviewers property +// SetBackupReviewers sets the backupReviewers property value. This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist. Supports $select. Note: This property has been replaced by fallbackReviewers. However, specifying either backupReviewers or fallbackReviewers automatically populates the same values to the other property. func (m *AccessReviewScheduleDefinition) SetBackupReviewers(value []AccessReviewReviewerScopeable)() { err := m.GetBackingStore().Set("backupReviewers", value) if err != nil { diff --git a/models/add_in.go b/models/add_in.go index f4043c3255d..e5a74065028 100644 --- a/models/add_in.go +++ b/models/add_in.go @@ -93,7 +93,7 @@ func (m *AddIn) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The unique identifier for the addIn object. // returns a *UUID when successful func (m *AddIn) GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { val, err := m.GetBackingStore().Get("id") @@ -117,7 +117,7 @@ func (m *AddIn) GetOdataType()(*string) { } return nil } -// GetProperties gets the properties property value. The properties property +// GetProperties gets the properties property value. The collection of key-value pairs that define parameters that the consuming service can use or call. You must specify this property when performing a POST or a PATCH operation on the addIns collection. Required. // returns a []KeyValueable when successful func (m *AddIn) GetProperties()([]KeyValueable) { val, err := m.GetBackingStore().Get("properties") @@ -129,7 +129,7 @@ func (m *AddIn) GetProperties()([]KeyValueable) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The unique name for the functionality exposed by the app. // returns a *string when successful func (m *AddIn) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -192,7 +192,7 @@ func (m *AddIn) SetAdditionalData(value map[string]any)() { func (m *AddIn) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetId sets the id property value. The id property +// SetId sets the id property value. The unique identifier for the addIn object. func (m *AddIn) SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { err := m.GetBackingStore().Set("id", value) if err != nil { @@ -206,14 +206,14 @@ func (m *AddIn) SetOdataType(value *string)() { panic(err) } } -// SetProperties sets the properties property value. The properties property +// SetProperties sets the properties property value. The collection of key-value pairs that define parameters that the consuming service can use or call. You must specify this property when performing a POST or a PATCH operation on the addIns collection. Required. func (m *AddIn) SetProperties(value []KeyValueable)() { err := m.GetBackingStore().Set("properties", value) if err != nil { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The unique name for the functionality exposed by the app. func (m *AddIn) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/attribute_definition.go b/models/attribute_definition.go index 586a441583b..0fa2de81a6a 100644 --- a/models/attribute_definition.go +++ b/models/attribute_definition.go @@ -76,7 +76,7 @@ func (m *AttributeDefinition) GetCaseExact()(*bool) { } return nil } -// GetDefaultValue gets the defaultValue property value. The defaultValue property +// GetDefaultValue gets the defaultValue property value. The default value of the attribute. // returns a *string when successful func (m *AttributeDefinition) GetDefaultValue()(*string) { val, err := m.GetBackingStore().Get("defaultValue") @@ -490,7 +490,7 @@ func (m *AttributeDefinition) SetCaseExact(value *bool)() { panic(err) } } -// SetDefaultValue sets the defaultValue property value. The defaultValue property +// SetDefaultValue sets the defaultValue property value. The default value of the attribute. func (m *AttributeDefinition) SetDefaultValue(value *string)() { err := m.GetBackingStore().Set("defaultValue", value) if err != nil { diff --git a/models/audio_conferencing.go b/models/audio_conferencing.go index 963b3fbbeb6..c2d6f2237a2 100644 --- a/models/audio_conferencing.go +++ b/models/audio_conferencing.go @@ -164,7 +164,7 @@ func (m *AudioConferencing) GetOdataType()(*string) { } return nil } -// GetTollFreeNumber gets the tollFreeNumber property value. The tollFreeNumber property +// GetTollFreeNumber gets the tollFreeNumber property value. The toll-free number that connects to the Audio Conference Provider. // returns a *string when successful func (m *AudioConferencing) GetTollFreeNumber()(*string) { val, err := m.GetBackingStore().Get("tollFreeNumber") @@ -188,7 +188,7 @@ func (m *AudioConferencing) GetTollFreeNumbers()([]string) { } return nil } -// GetTollNumber gets the tollNumber property value. The tollNumber property +// GetTollNumber gets the tollNumber property value. The toll number that connects to the Audio Conference Provider. // returns a *string when successful func (m *AudioConferencing) GetTollNumber()(*string) { val, err := m.GetBackingStore().Get("tollNumber") @@ -296,7 +296,7 @@ func (m *AudioConferencing) SetOdataType(value *string)() { panic(err) } } -// SetTollFreeNumber sets the tollFreeNumber property value. The tollFreeNumber property +// SetTollFreeNumber sets the tollFreeNumber property value. The toll-free number that connects to the Audio Conference Provider. func (m *AudioConferencing) SetTollFreeNumber(value *string)() { err := m.GetBackingStore().Set("tollFreeNumber", value) if err != nil { @@ -310,7 +310,7 @@ func (m *AudioConferencing) SetTollFreeNumbers(value []string)() { panic(err) } } -// SetTollNumber sets the tollNumber property value. The tollNumber property +// SetTollNumber sets the tollNumber property value. The toll number that connects to the Audio Conference Provider. func (m *AudioConferencing) SetTollNumber(value *string)() { err := m.GetBackingStore().Set("tollNumber", value) if err != nil { diff --git a/models/authentication_method_target.go b/models/authentication_method_target.go index ce33c412513..9e16c5bcd62 100644 --- a/models/authentication_method_target.go +++ b/models/authentication_method_target.go @@ -31,6 +31,8 @@ func CreateAuthenticationMethodTargetFromDiscriminatorValue(parseNode i878a80d23 switch *mappingValue { case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget": return NewMicrosoftAuthenticatorAuthenticationMethodTarget(), nil + case "#microsoft.graph.passkeyAuthenticationMethodTarget": + return NewPasskeyAuthenticationMethodTarget(), nil case "#microsoft.graph.smsAuthenticationMethodTarget": return NewSmsAuthenticationMethodTarget(), nil case "#microsoft.graph.voiceAuthenticationMethodTarget": diff --git a/models/average_comparative_score.go b/models/average_comparative_score.go index 0357315851f..05d055cfaf2 100644 --- a/models/average_comparative_score.go +++ b/models/average_comparative_score.go @@ -35,7 +35,7 @@ func (m *AverageComparativeScore) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAverageScore gets the averageScore property value. The averageScore property +// GetAverageScore gets the averageScore property value. Average score within a specified basis. // returns a *float64 when successful func (m *AverageComparativeScore) GetAverageScore()(*float64) { val, err := m.GetBackingStore().Get("averageScore") @@ -52,7 +52,7 @@ func (m *AverageComparativeScore) GetAverageScore()(*float64) { func (m *AverageComparativeScore) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetBasis gets the basis property value. The basis property +// GetBasis gets the basis property value. Scope type (by AllTenants, TotalSeats, IndustryTypes). // returns a *string when successful func (m *AverageComparativeScore) GetBasis()(*string) { val, err := m.GetBackingStore().Get("basis") @@ -147,7 +147,7 @@ func (m *AverageComparativeScore) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAverageScore sets the averageScore property value. The averageScore property +// SetAverageScore sets the averageScore property value. Average score within a specified basis. func (m *AverageComparativeScore) SetAverageScore(value *float64)() { err := m.GetBackingStore().Set("averageScore", value) if err != nil { @@ -158,7 +158,7 @@ func (m *AverageComparativeScore) SetAverageScore(value *float64)() { func (m *AverageComparativeScore) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetBasis sets the basis property value. The basis property +// SetBasis sets the basis property value. Scope type (by AllTenants, TotalSeats, IndustryTypes). func (m *AverageComparativeScore) SetBasis(value *string)() { err := m.GetBackingStore().Set("basis", value) if err != nil { diff --git a/models/b2c_identity_user_flow.go b/models/b2c_identity_user_flow.go index a7de8efac94..3f800d4edc0 100644 --- a/models/b2c_identity_user_flow.go +++ b/models/b2c_identity_user_flow.go @@ -143,7 +143,7 @@ func (m *B2cIdentityUserFlow) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetIdentityProviders gets the identityProviders property value. The identityProviders property +// GetIdentityProviders gets the identityProviders property value. The identity providers included in the user flow. // returns a []IdentityProviderable when successful func (m *B2cIdentityUserFlow) GetIdentityProviders()([]IdentityProviderable) { val, err := m.GetBackingStore().Get("identityProviders") @@ -191,7 +191,7 @@ func (m *B2cIdentityUserFlow) GetUserAttributeAssignments()([]IdentityUserFlowAt } return nil } -// GetUserFlowIdentityProviders gets the userFlowIdentityProviders property value. The userFlowIdentityProviders property +// GetUserFlowIdentityProviders gets the userFlowIdentityProviders property value. The identity providers included in the user flow. // returns a []IdentityProviderBaseable when successful func (m *B2cIdentityUserFlow) GetUserFlowIdentityProviders()([]IdentityProviderBaseable) { val, err := m.GetBackingStore().Get("userFlowIdentityProviders") @@ -291,7 +291,7 @@ func (m *B2cIdentityUserFlow) SetDefaultLanguageTag(value *string)() { panic(err) } } -// SetIdentityProviders sets the identityProviders property value. The identityProviders property +// SetIdentityProviders sets the identityProviders property value. The identity providers included in the user flow. func (m *B2cIdentityUserFlow) SetIdentityProviders(value []IdentityProviderable)() { err := m.GetBackingStore().Set("identityProviders", value) if err != nil { @@ -319,7 +319,7 @@ func (m *B2cIdentityUserFlow) SetUserAttributeAssignments(value []IdentityUserFl panic(err) } } -// SetUserFlowIdentityProviders sets the userFlowIdentityProviders property value. The userFlowIdentityProviders property +// SetUserFlowIdentityProviders sets the userFlowIdentityProviders property value. The identity providers included in the user flow. func (m *B2cIdentityUserFlow) SetUserFlowIdentityProviders(value []IdentityProviderBaseable)() { err := m.GetBackingStore().Set("userFlowIdentityProviders", value) if err != nil { diff --git a/models/b2x_identity_user_flow.go b/models/b2x_identity_user_flow.go index 7ae2d37d18e..7d9d5db21bd 100644 --- a/models/b2x_identity_user_flow.go +++ b/models/b2x_identity_user_flow.go @@ -111,7 +111,7 @@ func (m *B2xIdentityUserFlow) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetIdentityProviders gets the identityProviders property value. The identityProviders property +// GetIdentityProviders gets the identityProviders property value. The identity providers included in the user flow. // returns a []IdentityProviderable when successful func (m *B2xIdentityUserFlow) GetIdentityProviders()([]IdentityProviderable) { val, err := m.GetBackingStore().Get("identityProviders") @@ -228,7 +228,7 @@ func (m *B2xIdentityUserFlow) SetApiConnectorConfiguration(value UserFlowApiConn panic(err) } } -// SetIdentityProviders sets the identityProviders property value. The identityProviders property +// SetIdentityProviders sets the identityProviders property value. The identity providers included in the user flow. func (m *B2xIdentityUserFlow) SetIdentityProviders(value []IdentityProviderable)() { err := m.GetBackingStore().Set("identityProviders", value) if err != nil { diff --git a/models/base_item.go b/models/base_item.go index fecec3304b6..ba2556b690d 100644 --- a/models/base_item.go +++ b/models/base_item.go @@ -96,7 +96,7 @@ func (m *BaseItem) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f307 } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. The description of the item. // returns a *string when successful func (m *BaseItem) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -403,7 +403,7 @@ func (m *BaseItem) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6 panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. The description of the item. func (m *BaseItem) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { diff --git a/models/call.go b/models/call.go index ecdd538ebf6..e708a5a44ba 100644 --- a/models/call.go +++ b/models/call.go @@ -595,7 +595,7 @@ func (m *Call) GetParticipants()([]Participantable) { } return nil } -// GetRequestedModalities gets the requestedModalities property value. The requestedModalities property +// GetRequestedModalities gets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. // returns a []Modality when successful func (m *Call) GetRequestedModalities()([]Modality) { val, err := m.GetBackingStore().Get("requestedModalities") @@ -607,7 +607,7 @@ func (m *Call) GetRequestedModalities()([]Modality) { } return nil } -// GetResultInfo gets the resultInfo property value. The resultInfo property +// GetResultInfo gets the resultInfo property value. The result information. For example, the result can hold termination reason. Read-only. // returns a ResultInfoable when successful func (m *Call) GetResultInfo()(ResultInfoable) { val, err := m.GetBackingStore().Get("resultInfo") @@ -619,7 +619,7 @@ func (m *Call) GetResultInfo()(ResultInfoable) { } return nil } -// GetRingingTimeoutInSeconds gets the ringingTimeoutInSeconds property value. The ringingTimeoutInSeconds property +// GetRingingTimeoutInSeconds gets the ringingTimeoutInSeconds property value. Ringing timeout in seconds for outgoing peer to peer calls. The max value for this attribute is 115 seconds. // returns a *int32 when successful func (m *Call) GetRingingTimeoutInSeconds()(*int32) { val, err := m.GetBackingStore().Get("ringingTimeoutInSeconds") @@ -631,7 +631,7 @@ func (m *Call) GetRingingTimeoutInSeconds()(*int32) { } return nil } -// GetRoutingPolicies gets the routingPolicies property value. The routingPolicies property +// GetRoutingPolicies gets the routingPolicies property value. This property is applicable for peer to peer calls only. Possible values are: none, noMissedCall, disableForwardingExceptPhone, disableForwarding, preferSkypeForBusiness, unknownFutureValue. // returns a []RoutingPolicy when successful func (m *Call) GetRoutingPolicies()([]RoutingPolicy) { val, err := m.GetBackingStore().Get("routingPolicies") @@ -643,7 +643,7 @@ func (m *Call) GetRoutingPolicies()([]RoutingPolicy) { } return nil } -// GetSource gets the source property value. The source property +// GetSource gets the source property value. The originator of the call. // returns a ParticipantInfoable when successful func (m *Call) GetSource()(ParticipantInfoable) { val, err := m.GetBackingStore().Get("source") @@ -655,7 +655,7 @@ func (m *Call) GetSource()(ParticipantInfoable) { } return nil } -// GetState gets the state property value. The state property +// GetState gets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. // returns a *CallState when successful func (m *Call) GetState()(*CallState) { val, err := m.GetBackingStore().Get("state") @@ -667,7 +667,7 @@ func (m *Call) GetState()(*CallState) { } return nil } -// GetSubject gets the subject property value. The subject property +// GetSubject gets the subject property value. The subject of the conversation. // returns a *string when successful func (m *Call) GetSubject()(*string) { val, err := m.GetBackingStore().Get("subject") @@ -679,7 +679,7 @@ func (m *Call) GetSubject()(*string) { } return nil } -// GetTargets gets the targets property value. The targets property +// GetTargets gets the targets property value. The targets of the call. Required information for creating peer to peer call. // returns a []InvitationParticipantInfoable when successful func (m *Call) GetTargets()([]InvitationParticipantInfoable) { val, err := m.GetBackingStore().Get("targets") @@ -691,7 +691,7 @@ func (m *Call) GetTargets()([]InvitationParticipantInfoable) { } return nil } -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. Read-only. tenantId in Microsoft Entra ID. // returns a *string when successful func (m *Call) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -1091,63 +1091,63 @@ func (m *Call) SetParticipants(value []Participantable)() { panic(err) } } -// SetRequestedModalities sets the requestedModalities property value. The requestedModalities property +// SetRequestedModalities sets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. func (m *Call) SetRequestedModalities(value []Modality)() { err := m.GetBackingStore().Set("requestedModalities", value) if err != nil { panic(err) } } -// SetResultInfo sets the resultInfo property value. The resultInfo property +// SetResultInfo sets the resultInfo property value. The result information. For example, the result can hold termination reason. Read-only. func (m *Call) SetResultInfo(value ResultInfoable)() { err := m.GetBackingStore().Set("resultInfo", value) if err != nil { panic(err) } } -// SetRingingTimeoutInSeconds sets the ringingTimeoutInSeconds property value. The ringingTimeoutInSeconds property +// SetRingingTimeoutInSeconds sets the ringingTimeoutInSeconds property value. Ringing timeout in seconds for outgoing peer to peer calls. The max value for this attribute is 115 seconds. func (m *Call) SetRingingTimeoutInSeconds(value *int32)() { err := m.GetBackingStore().Set("ringingTimeoutInSeconds", value) if err != nil { panic(err) } } -// SetRoutingPolicies sets the routingPolicies property value. The routingPolicies property +// SetRoutingPolicies sets the routingPolicies property value. This property is applicable for peer to peer calls only. Possible values are: none, noMissedCall, disableForwardingExceptPhone, disableForwarding, preferSkypeForBusiness, unknownFutureValue. func (m *Call) SetRoutingPolicies(value []RoutingPolicy)() { err := m.GetBackingStore().Set("routingPolicies", value) if err != nil { panic(err) } } -// SetSource sets the source property value. The source property +// SetSource sets the source property value. The originator of the call. func (m *Call) SetSource(value ParticipantInfoable)() { err := m.GetBackingStore().Set("source", value) if err != nil { panic(err) } } -// SetState sets the state property value. The state property +// SetState sets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. func (m *Call) SetState(value *CallState)() { err := m.GetBackingStore().Set("state", value) if err != nil { panic(err) } } -// SetSubject sets the subject property value. The subject property +// SetSubject sets the subject property value. The subject of the conversation. func (m *Call) SetSubject(value *string)() { err := m.GetBackingStore().Set("subject", value) if err != nil { panic(err) } } -// SetTargets sets the targets property value. The targets property +// SetTargets sets the targets property value. The targets of the call. Required information for creating peer to peer call. func (m *Call) SetTargets(value []InvitationParticipantInfoable)() { err := m.GetBackingStore().Set("targets", value) if err != nil { panic(err) } } -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. Read-only. tenantId in Microsoft Entra ID. func (m *Call) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { diff --git a/models/callrecords/call_record.go b/models/callrecords/call_record.go index b03096d9e96..117b3a2ad8d 100644 --- a/models/callrecords/call_record.go +++ b/models/callrecords/call_record.go @@ -219,7 +219,7 @@ func (m *CallRecord) GetModalities()([]Modality) { } return nil } -// GetOrganizer gets the organizer property value. The organizer property +// GetOrganizer gets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship. // returns a IdentitySetable when successful func (m *CallRecord) GetOrganizer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("organizer") @@ -243,7 +243,7 @@ func (m *CallRecord) GetOrganizerV2()(Organizerable) { } return nil } -// GetParticipants gets the participants property value. The participants property +// GetParticipants gets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship. // returns a []IdentitySetable when successful func (m *CallRecord) GetParticipants()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("participants") @@ -442,7 +442,7 @@ func (m *CallRecord) SetModalities(value []Modality)() { panic(err) } } -// SetOrganizer sets the organizer property value. The organizer property +// SetOrganizer sets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship. func (m *CallRecord) SetOrganizer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("organizer", value) if err != nil { @@ -456,7 +456,7 @@ func (m *CallRecord) SetOrganizerV2(value Organizerable)() { panic(err) } } -// SetParticipants sets the participants property value. The participants property +// SetParticipants sets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship. func (m *CallRecord) SetParticipants(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("participants", value) if err != nil { diff --git a/models/callrecords/participant_endpoint.go b/models/callrecords/participant_endpoint.go index 49c8d933768..7b71b8e4c3c 100644 --- a/models/callrecords/participant_endpoint.go +++ b/models/callrecords/participant_endpoint.go @@ -158,7 +158,7 @@ func (m *ParticipantEndpoint) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetIdentity gets the identity property value. The identity property +// GetIdentity gets the identity property value. Identity associated with the endpoint. The identity property is deprecated and will stop returning data on June 30, 2026. Going forward, use the associatedIdentity property. // returns a IdentitySetable when successful func (m *ParticipantEndpoint) GetIdentity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("identity") @@ -267,7 +267,7 @@ func (m *ParticipantEndpoint) SetFeedback(value UserFeedbackable)() { panic(err) } } -// SetIdentity sets the identity property value. The identity property +// SetIdentity sets the identity property value. Identity associated with the endpoint. The identity property is deprecated and will stop returning data on June 30, 2026. Going forward, use the associatedIdentity property. func (m *ParticipantEndpoint) SetIdentity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("identity", value) if err != nil { diff --git a/models/certification_control.go b/models/certification_control.go index c1fa617ff08..04cb2f0d87e 100644 --- a/models/certification_control.go +++ b/models/certification_control.go @@ -76,7 +76,7 @@ func (m *CertificationControl) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetName gets the name property value. The name property +// GetName gets the name property value. Certification control name. // returns a *string when successful func (m *CertificationControl) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -100,7 +100,7 @@ func (m *CertificationControl) GetOdataType()(*string) { } return nil } -// GetUrl gets the url property value. The url property +// GetUrl gets the url property value. URL for the Microsoft Service Trust Portal. // returns a *string when successful func (m *CertificationControl) GetUrl()(*string) { val, err := m.GetBackingStore().Get("url") @@ -151,7 +151,7 @@ func (m *CertificationControl) SetAdditionalData(value map[string]any)() { func (m *CertificationControl) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetName sets the name property value. The name property +// SetName sets the name property value. Certification control name. func (m *CertificationControl) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { @@ -165,7 +165,7 @@ func (m *CertificationControl) SetOdataType(value *string)() { panic(err) } } -// SetUrl sets the url property value. The url property +// SetUrl sets the url property value. URL for the Microsoft Service Trust Portal. func (m *CertificationControl) SetUrl(value *string)() { err := m.GetBackingStore().Set("url", value) if err != nil { diff --git a/models/chat.go b/models/chat.go index ee0a769d530..36b279a5de8 100644 --- a/models/chat.go +++ b/models/chat.go @@ -84,6 +84,16 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["isHiddenForAllMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHiddenForAllMembers(val) + } + return nil + } res["lastMessagePreview"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateChatMessageInfoFromDiscriminatorValue) if err != nil { @@ -264,6 +274,18 @@ func (m *Chat) GetInstalledApps()([]TeamsAppInstallationable) { } return nil } +// GetIsHiddenForAllMembers gets the isHiddenForAllMembers property value. Indicates whether the chat is hidden for all its members. Read-only. +// returns a *bool when successful +func (m *Chat) GetIsHiddenForAllMembers()(*bool) { + val, err := m.GetBackingStore().Get("isHiddenForAllMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*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. // returns a ChatMessageInfoable when successful func (m *Chat) GetLastMessagePreview()(ChatMessageInfoable) { @@ -451,6 +473,12 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteBoolValue("isHiddenForAllMembers", m.GetIsHiddenForAllMembers()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("lastMessagePreview", m.GetLastMessagePreview()) if err != nil { @@ -588,6 +616,13 @@ func (m *Chat) SetInstalledApps(value []TeamsAppInstallationable)() { panic(err) } } +// SetIsHiddenForAllMembers sets the isHiddenForAllMembers property value. Indicates whether the chat is hidden for all its members. Read-only. +func (m *Chat) SetIsHiddenForAllMembers(value *bool)() { + err := m.GetBackingStore().Set("isHiddenForAllMembers", value) + if err != nil { + 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. func (m *Chat) SetLastMessagePreview(value ChatMessageInfoable)() { err := m.GetBackingStore().Set("lastMessagePreview", value) @@ -685,6 +720,7 @@ type Chatable interface { GetChatType()(*ChatType) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetInstalledApps()([]TeamsAppInstallationable) + GetIsHiddenForAllMembers()(*bool) GetLastMessagePreview()(ChatMessageInfoable) GetLastUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMembers()([]ConversationMemberable) @@ -701,6 +737,7 @@ type Chatable interface { SetChatType(value *ChatType)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetInstalledApps(value []TeamsAppInstallationable)() + SetIsHiddenForAllMembers(value *bool)() SetLastMessagePreview(value ChatMessageInfoable)() SetLastUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMembers(value []ConversationMemberable)() diff --git a/models/cloud_pc_audit_resource.go b/models/cloud_pc_audit_resource.go index ad524d43046..176602a0f4c 100644 --- a/models/cloud_pc_audit_resource.go +++ b/models/cloud_pc_audit_resource.go @@ -172,7 +172,7 @@ func (m *CloudPcAuditResource) GetResourceType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The type of the audit resource. The type property is deprecated and will stop returning data on May 8, 2024. Going forward, use the resourceType property. // returns a *string when successful func (m *CloudPcAuditResource) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -282,7 +282,7 @@ func (m *CloudPcAuditResource) SetResourceType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The type of the audit resource. The type property is deprecated and will stop returning data on May 8, 2024. Going forward, use the resourceType property. func (m *CloudPcAuditResource) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/cloud_pc_device_image.go b/models/cloud_pc_device_image.go index 4ffe02fce21..91f060ebe87 100644 --- a/models/cloud_pc_device_image.go +++ b/models/cloud_pc_device_image.go @@ -272,7 +272,7 @@ func (m *CloudPcDeviceImage) GetStatus()(*CloudPcDeviceImageStatus) { } return nil } -// GetStatusDetails gets the statusDetails property value. The statusDetails property +// GetStatusDetails gets the statusDetails property value. The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. The statusDetails property is deprecated and will stop returning data on January 31, 2024. Going forward, use the errorCode property. // returns a *CloudPcDeviceImageStatusDetails when successful func (m *CloudPcDeviceImage) GetStatusDetails()(*CloudPcDeviceImageStatusDetails) { val, err := m.GetBackingStore().Get("statusDetails") @@ -450,7 +450,7 @@ func (m *CloudPcDeviceImage) SetStatus(value *CloudPcDeviceImageStatus)() { panic(err) } } -// SetStatusDetails sets the statusDetails property value. The statusDetails property +// SetStatusDetails sets the statusDetails property value. The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. The statusDetails property is deprecated and will stop returning data on January 31, 2024. Going forward, use the errorCode property. func (m *CloudPcDeviceImage) SetStatusDetails(value *CloudPcDeviceImageStatusDetails)() { err := m.GetBackingStore().Set("statusDetails", value) if err != nil { diff --git a/models/cloud_pc_domain_join_configuration.go b/models/cloud_pc_domain_join_configuration.go index 1f627ea2231..0b4524df905 100644 --- a/models/cloud_pc_domain_join_configuration.go +++ b/models/cloud_pc_domain_join_configuration.go @@ -166,7 +166,7 @@ func (m *CloudPcDomainJoinConfiguration) GetRegionName()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave regionName as empty. If you choose the azureADJoin type, provide a value for either onPremisesConnectionId or regionName. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. The type property is deprecated and will stop returning data on January 31, 2024. Going forward, use the domainJoinType property. // returns a *CloudPcDomainJoinType when successful func (m *CloudPcDomainJoinConfiguration) GetTypeEscaped()(*CloudPcDomainJoinType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -273,7 +273,7 @@ func (m *CloudPcDomainJoinConfiguration) SetRegionName(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. Specifies the method by which the provisioned Cloud PC joins Microsoft Entra ID. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave regionName as empty. If you choose the azureADJoin type, provide a value for either onPremisesConnectionId or regionName. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. The type property is deprecated and will stop returning data on January 31, 2024. Going forward, use the domainJoinType property. func (m *CloudPcDomainJoinConfiguration) SetTypeEscaped(value *CloudPcDomainJoinType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/cloud_pc_gallery_image.go b/models/cloud_pc_gallery_image.go index 06c36fc87eb..36cb950bd48 100644 --- a/models/cloud_pc_gallery_image.go +++ b/models/cloud_pc_gallery_image.go @@ -211,7 +211,7 @@ func (m *CloudPcGalleryImage) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetOffer gets the offer property value. The offer property +// GetOffer gets the offer property value. The offer name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The offer property is deprecated and will stop returning data on January 31, 2024. Going forward, use the offerName property. // returns a *string when successful func (m *CloudPcGalleryImage) GetOffer()(*string) { val, err := m.GetBackingStore().Get("offer") @@ -223,7 +223,7 @@ func (m *CloudPcGalleryImage) GetOffer()(*string) { } return nil } -// GetOfferDisplayName gets the offerDisplayName property value. The offerDisplayName property +// GetOfferDisplayName gets the offerDisplayName property value. The official display offer name of this gallery image. For example, Windows 10 Enterprise + OS Optimizations. The offerDisplayName property is deprecated and will stop returning data on January 31, 2024. // returns a *string when successful func (m *CloudPcGalleryImage) GetOfferDisplayName()(*string) { val, err := m.GetBackingStore().Get("offerDisplayName") @@ -247,7 +247,7 @@ func (m *CloudPcGalleryImage) GetOfferName()(*string) { } return nil } -// GetPublisher gets the publisher property value. The publisher property +// GetPublisher gets the publisher property value. The publisher name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The publisher property is deprecated and will stop returning data on January 31, 2024. Going forward, use the publisherName property. // returns a *string when successful func (m *CloudPcGalleryImage) GetPublisher()(*string) { val, err := m.GetBackingStore().Get("publisher") @@ -271,7 +271,7 @@ func (m *CloudPcGalleryImage) GetPublisherName()(*string) { } return nil } -// GetRecommendedSku gets the recommendedSku property value. The recommendedSku property +// GetRecommendedSku gets the recommendedSku property value. The recommended Cloud PC SKU for this gallery image. Read-only. The recommendedSku property is deprecated and will stop returning data on January 31, 2024. // returns a *string when successful func (m *CloudPcGalleryImage) GetRecommendedSku()(*string) { val, err := m.GetBackingStore().Get("recommendedSku") @@ -295,7 +295,7 @@ func (m *CloudPcGalleryImage) GetSizeInGB()(*int32) { } return nil } -// GetSku gets the sku property value. The sku property +// GetSku gets the sku property value. The SKU name of this image that is passed to ARM to retrieve the image resource. Read-only. The sku property is deprecated and will stop returning data on January 31, 2024. Going forward, use the skuName property. // returns a *string when successful func (m *CloudPcGalleryImage) GetSku()(*string) { val, err := m.GetBackingStore().Get("sku") @@ -307,7 +307,7 @@ func (m *CloudPcGalleryImage) GetSku()(*string) { } return nil } -// GetSkuDisplayName gets the skuDisplayName property value. The skuDisplayName property +// GetSkuDisplayName gets the skuDisplayName property value. The official display SKU name of this gallery image. For example, 2004. Read-only. The skuDisplayName property is deprecated and will stop returning data on January 31, 2024. // returns a *string when successful func (m *CloudPcGalleryImage) GetSkuDisplayName()(*string) { val, err := m.GetBackingStore().Get("skuDisplayName") @@ -475,14 +475,14 @@ func (m *CloudPcGalleryImage) SetExpirationDate(value *i878a80d2330e89d26896388a panic(err) } } -// SetOffer sets the offer property value. The offer property +// SetOffer sets the offer property value. The offer name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The offer property is deprecated and will stop returning data on January 31, 2024. Going forward, use the offerName property. func (m *CloudPcGalleryImage) SetOffer(value *string)() { err := m.GetBackingStore().Set("offer", value) if err != nil { panic(err) } } -// SetOfferDisplayName sets the offerDisplayName property value. The offerDisplayName property +// SetOfferDisplayName sets the offerDisplayName property value. The official display offer name of this gallery image. For example, Windows 10 Enterprise + OS Optimizations. The offerDisplayName property is deprecated and will stop returning data on January 31, 2024. func (m *CloudPcGalleryImage) SetOfferDisplayName(value *string)() { err := m.GetBackingStore().Set("offerDisplayName", value) if err != nil { @@ -496,7 +496,7 @@ func (m *CloudPcGalleryImage) SetOfferName(value *string)() { panic(err) } } -// SetPublisher sets the publisher property value. The publisher property +// SetPublisher sets the publisher property value. The publisher name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The publisher property is deprecated and will stop returning data on January 31, 2024. Going forward, use the publisherName property. func (m *CloudPcGalleryImage) SetPublisher(value *string)() { err := m.GetBackingStore().Set("publisher", value) if err != nil { @@ -510,7 +510,7 @@ func (m *CloudPcGalleryImage) SetPublisherName(value *string)() { panic(err) } } -// SetRecommendedSku sets the recommendedSku property value. The recommendedSku property +// SetRecommendedSku sets the recommendedSku property value. The recommended Cloud PC SKU for this gallery image. Read-only. The recommendedSku property is deprecated and will stop returning data on January 31, 2024. func (m *CloudPcGalleryImage) SetRecommendedSku(value *string)() { err := m.GetBackingStore().Set("recommendedSku", value) if err != nil { @@ -524,14 +524,14 @@ func (m *CloudPcGalleryImage) SetSizeInGB(value *int32)() { panic(err) } } -// SetSku sets the sku property value. The sku property +// SetSku sets the sku property value. The SKU name of this image that is passed to ARM to retrieve the image resource. Read-only. The sku property is deprecated and will stop returning data on January 31, 2024. Going forward, use the skuName property. func (m *CloudPcGalleryImage) SetSku(value *string)() { err := m.GetBackingStore().Set("sku", value) if err != nil { panic(err) } } -// SetSkuDisplayName sets the skuDisplayName property value. The skuDisplayName property +// SetSkuDisplayName sets the skuDisplayName property value. The official display SKU name of this gallery image. For example, 2004. Read-only. The skuDisplayName property is deprecated and will stop returning data on January 31, 2024. func (m *CloudPcGalleryImage) SetSkuDisplayName(value *string)() { err := m.GetBackingStore().Set("skuDisplayName", value) if err != nil { diff --git a/models/cloud_pc_on_premises_connection.go b/models/cloud_pc_on_premises_connection.go index a21d65121ed..06cd8b0b801 100644 --- a/models/cloud_pc_on_premises_connection.go +++ b/models/cloud_pc_on_premises_connection.go @@ -435,7 +435,7 @@ func (m *CloudPcOnPremisesConnection) GetSubscriptionName()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. The type property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the connectionType property. // returns a *CloudPcOnPremisesConnectionType when successful func (m *CloudPcOnPremisesConnection) GetTypeEscaped()(*CloudPcOnPremisesConnectionType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -722,7 +722,7 @@ func (m *CloudPcOnPremisesConnection) SetSubscriptionName(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. The type property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the connectionType property. func (m *CloudPcOnPremisesConnection) SetTypeEscaped(value *CloudPcOnPremisesConnectionType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/cloud_pc_on_premises_connection_health_check.go b/models/cloud_pc_on_premises_connection_health_check.go index 49e580ea8a5..3985fbe62fe 100644 --- a/models/cloud_pc_on_premises_connection_health_check.go +++ b/models/cloud_pc_on_premises_connection_health_check.go @@ -48,7 +48,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) GetAdditionalDetail()(*string) } return nil } -// GetAdditionalDetails gets the additionalDetails property value. The additionalDetails property +// GetAdditionalDetails gets the additionalDetails property value. More details about the health check or the recommended action. Read-only. The additionalDetails property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the additionalDetail property. // returns a *string when successful func (m *CloudPcOnPremisesConnectionHealthCheck) GetAdditionalDetails()(*string) { val, err := m.GetBackingStore().Get("additionalDetails") @@ -353,7 +353,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) SetAdditionalDetail(value *stri panic(err) } } -// SetAdditionalDetails sets the additionalDetails property value. The additionalDetails property +// SetAdditionalDetails sets the additionalDetails property value. More details about the health check or the recommended action. Read-only. The additionalDetails property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the additionalDetail property. func (m *CloudPcOnPremisesConnectionHealthCheck) SetAdditionalDetails(value *string)() { err := m.GetBackingStore().Set("additionalDetails", value) if err != nil { diff --git a/models/cloud_pc_provisioning_policy.go b/models/cloud_pc_provisioning_policy.go index bec6405f6f4..cf7e390bd75 100644 --- a/models/cloud_pc_provisioning_policy.go +++ b/models/cloud_pc_provisioning_policy.go @@ -43,6 +43,18 @@ func (m *CloudPcProvisioningPolicy) GetAssignments()([]CloudPcProvisioningPolicy } return nil } +// GetAutopatch gets the autopatch property value. The autopatch property +// returns a CloudPcProvisioningPolicyAutopatchable when successful +func (m *CloudPcProvisioningPolicy) GetAutopatch()(CloudPcProvisioningPolicyAutopatchable) { + val, err := m.GetBackingStore().Get("autopatch") + if err != nil { + panic(err) + } + if val != nil { + return val.(CloudPcProvisioningPolicyAutopatchable) + } + return nil +} // GetCloudPcGroupDisplayName gets the cloudPcGroupDisplayName property value. The display name of the Cloud PC group that the Cloud PCs reside in. Read-only. // returns a *string when successful func (m *CloudPcProvisioningPolicy) GetCloudPcGroupDisplayName()(*string) { @@ -91,18 +103,6 @@ func (m *CloudPcProvisioningPolicy) GetDisplayName()(*string) { } return nil } -// GetDomainJoinConfiguration gets the domainJoinConfiguration property value. The domainJoinConfiguration property -// returns a CloudPcDomainJoinConfigurationable when successful -func (m *CloudPcProvisioningPolicy) GetDomainJoinConfiguration()(CloudPcDomainJoinConfigurationable) { - val, err := m.GetBackingStore().Get("domainJoinConfiguration") - if err != nil { - panic(err) - } - if val != nil { - return val.(CloudPcDomainJoinConfigurationable) - } - return nil -} // GetDomainJoinConfigurations gets the domainJoinConfigurations property value. Specifies a list ordered by priority on how Cloud PCs join Microsoft Entra ID (Azure AD). Supports $select. // returns a []CloudPcDomainJoinConfigurationable when successful func (m *CloudPcProvisioningPolicy) GetDomainJoinConfigurations()([]CloudPcDomainJoinConfigurationable) { @@ -157,6 +157,16 @@ func (m *CloudPcProvisioningPolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } + res["autopatch"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCloudPcProvisioningPolicyAutopatchFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAutopatch(val.(CloudPcProvisioningPolicyAutopatchable)) + } + return nil + } res["cloudPcGroupDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -197,16 +207,6 @@ func (m *CloudPcProvisioningPolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } - res["domainJoinConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateCloudPcDomainJoinConfigurationFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetDomainJoinConfiguration(val.(CloudPcDomainJoinConfigurationable)) - } - return nil - } res["domainJoinConfigurations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateCloudPcDomainJoinConfigurationFromDiscriminatorValue) if err != nil { @@ -303,16 +303,6 @@ func (m *CloudPcProvisioningPolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } - res["onPremisesConnectionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetOnPremisesConnectionId(val) - } - return nil - } res["provisioningType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseCloudPcProvisioningType) if err != nil { @@ -445,18 +435,6 @@ func (m *CloudPcProvisioningPolicy) GetMicrosoftManagedDesktop()(MicrosoftManage } return nil } -// GetOnPremisesConnectionId gets the onPremisesConnectionId property value. The onPremisesConnectionId property -// returns a *string when successful -func (m *CloudPcProvisioningPolicy) GetOnPremisesConnectionId()(*string) { - val, err := m.GetBackingStore().Get("onPremisesConnectionId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetProvisioningType gets the provisioningType property value. Specifies the type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. For example, a dedicated service plan can be assigned to only one user and provision only one Cloud PC. The shared and sharedByUser plans require customers to purchase a shared service plan. Each shared license purchased can enable up to three Cloud PCs, with only one user signed in at a time. The sharedByEntraGroup plan also requires the purchase of a shared service plan. Each shared license under this plan can enable one Cloud PC, which is shared for the group according to the assignments of this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy is created. // returns a *CloudPcProvisioningType when successful func (m *CloudPcProvisioningPolicy) GetProvisioningType()(*CloudPcProvisioningType) { @@ -493,7 +471,7 @@ func (m *CloudPcProvisioningPolicy) GetWindowsSetting()(CloudPcWindowsSettingabl } return nil } -// GetWindowsSettings gets the windowsSettings property value. The windowsSettings property +// GetWindowsSettings gets the windowsSettings property value. Specific Windows settings to configure during the creation of Cloud PCs for this provisioning policy. Supports $select. The windowsSettings property is deprecated and will stop returning data on January 31, 2024. Going forward, use the windowsSetting property. // returns a CloudPcWindowsSettingsable when successful func (m *CloudPcProvisioningPolicy) GetWindowsSettings()(CloudPcWindowsSettingsable) { val, err := m.GetBackingStore().Get("windowsSettings") @@ -530,31 +508,31 @@ func (m *CloudPcProvisioningPolicy) Serialize(writer i878a80d2330e89d26896388a3f } } { - err = writer.WriteStringValue("cloudPcGroupDisplayName", m.GetCloudPcGroupDisplayName()) + err = writer.WriteObjectValue("autopatch", m.GetAutopatch()) if err != nil { return err } } { - err = writer.WriteStringValue("cloudPcNamingTemplate", m.GetCloudPcNamingTemplate()) + err = writer.WriteStringValue("cloudPcGroupDisplayName", m.GetCloudPcGroupDisplayName()) if err != nil { return err } } { - err = writer.WriteStringValue("description", m.GetDescription()) + err = writer.WriteStringValue("cloudPcNamingTemplate", m.GetCloudPcNamingTemplate()) if err != nil { return err } } { - err = writer.WriteStringValue("displayName", m.GetDisplayName()) + err = writer.WriteStringValue("description", m.GetDescription()) if err != nil { return err } } { - err = writer.WriteObjectValue("domainJoinConfiguration", m.GetDomainJoinConfiguration()) + err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { return err } @@ -621,12 +599,6 @@ func (m *CloudPcProvisioningPolicy) Serialize(writer i878a80d2330e89d26896388a3f return err } } - { - err = writer.WriteStringValue("onPremisesConnectionId", m.GetOnPremisesConnectionId()) - if err != nil { - return err - } - } if m.GetProvisioningType() != nil { cast := (*m.GetProvisioningType()).String() err = writer.WriteStringValue("provisioningType", &cast) @@ -668,6 +640,13 @@ func (m *CloudPcProvisioningPolicy) SetAssignments(value []CloudPcProvisioningPo panic(err) } } +// SetAutopatch sets the autopatch property value. The autopatch property +func (m *CloudPcProvisioningPolicy) SetAutopatch(value CloudPcProvisioningPolicyAutopatchable)() { + err := m.GetBackingStore().Set("autopatch", value) + if err != nil { + panic(err) + } +} // SetCloudPcGroupDisplayName sets the cloudPcGroupDisplayName property value. The display name of the Cloud PC group that the Cloud PCs reside in. Read-only. func (m *CloudPcProvisioningPolicy) SetCloudPcGroupDisplayName(value *string)() { err := m.GetBackingStore().Set("cloudPcGroupDisplayName", value) @@ -696,13 +675,6 @@ func (m *CloudPcProvisioningPolicy) SetDisplayName(value *string)() { panic(err) } } -// SetDomainJoinConfiguration sets the domainJoinConfiguration property value. The domainJoinConfiguration property -func (m *CloudPcProvisioningPolicy) SetDomainJoinConfiguration(value CloudPcDomainJoinConfigurationable)() { - err := m.GetBackingStore().Set("domainJoinConfiguration", value) - if err != nil { - panic(err) - } -} // SetDomainJoinConfigurations sets the domainJoinConfigurations property value. Specifies a list ordered by priority on how Cloud PCs join Microsoft Entra ID (Azure AD). Supports $select. func (m *CloudPcProvisioningPolicy) SetDomainJoinConfigurations(value []CloudPcDomainJoinConfigurationable)() { err := m.GetBackingStore().Set("domainJoinConfigurations", value) @@ -766,13 +738,6 @@ func (m *CloudPcProvisioningPolicy) SetMicrosoftManagedDesktop(value MicrosoftMa panic(err) } } -// SetOnPremisesConnectionId sets the onPremisesConnectionId property value. The onPremisesConnectionId property -func (m *CloudPcProvisioningPolicy) SetOnPremisesConnectionId(value *string)() { - err := m.GetBackingStore().Set("onPremisesConnectionId", value) - if err != nil { - panic(err) - } -} // SetProvisioningType sets the provisioningType property value. Specifies the type of licenses to be used when provisioning Cloud PCs using this policy. The possible values are dedicated, shared, unknownFutureValue, sharedByUser, sharedByEntraGroup. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: sharedByUser, sharedByEntraGroup. The shared member is deprecated and will stop returning on April 30, 2027; going forward, use the sharedByUser member. For example, a dedicated service plan can be assigned to only one user and provision only one Cloud PC. The shared and sharedByUser plans require customers to purchase a shared service plan. Each shared license purchased can enable up to three Cloud PCs, with only one user signed in at a time. The sharedByEntraGroup plan also requires the purchase of a shared service plan. Each shared license under this plan can enable one Cloud PC, which is shared for the group according to the assignments of this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy is created. func (m *CloudPcProvisioningPolicy) SetProvisioningType(value *CloudPcProvisioningType)() { err := m.GetBackingStore().Set("provisioningType", value) @@ -794,7 +759,7 @@ func (m *CloudPcProvisioningPolicy) SetWindowsSetting(value CloudPcWindowsSettin panic(err) } } -// SetWindowsSettings sets the windowsSettings property value. The windowsSettings property +// SetWindowsSettings sets the windowsSettings property value. Specific Windows settings to configure during the creation of Cloud PCs for this provisioning policy. Supports $select. The windowsSettings property is deprecated and will stop returning data on January 31, 2024. Going forward, use the windowsSetting property. func (m *CloudPcProvisioningPolicy) SetWindowsSettings(value CloudPcWindowsSettingsable)() { err := m.GetBackingStore().Set("windowsSettings", value) if err != nil { @@ -806,11 +771,11 @@ type CloudPcProvisioningPolicyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAlternateResourceUrl()(*string) GetAssignments()([]CloudPcProvisioningPolicyAssignmentable) + GetAutopatch()(CloudPcProvisioningPolicyAutopatchable) GetCloudPcGroupDisplayName()(*string) GetCloudPcNamingTemplate()(*string) GetDescription()(*string) GetDisplayName()(*string) - GetDomainJoinConfiguration()(CloudPcDomainJoinConfigurationable) GetDomainJoinConfigurations()([]CloudPcDomainJoinConfigurationable) GetEnableSingleSignOn()(*bool) GetGracePeriodInHours()(*int32) @@ -820,18 +785,17 @@ type CloudPcProvisioningPolicyable interface { GetLocalAdminEnabled()(*bool) GetManagedBy()(*CloudPcManagementService) GetMicrosoftManagedDesktop()(MicrosoftManagedDesktopable) - GetOnPremisesConnectionId()(*string) GetProvisioningType()(*CloudPcProvisioningType) GetScopeIds()([]string) GetWindowsSetting()(CloudPcWindowsSettingable) GetWindowsSettings()(CloudPcWindowsSettingsable) SetAlternateResourceUrl(value *string)() SetAssignments(value []CloudPcProvisioningPolicyAssignmentable)() + SetAutopatch(value CloudPcProvisioningPolicyAutopatchable)() SetCloudPcGroupDisplayName(value *string)() SetCloudPcNamingTemplate(value *string)() SetDescription(value *string)() SetDisplayName(value *string)() - SetDomainJoinConfiguration(value CloudPcDomainJoinConfigurationable)() SetDomainJoinConfigurations(value []CloudPcDomainJoinConfigurationable)() SetEnableSingleSignOn(value *bool)() SetGracePeriodInHours(value *int32)() @@ -841,7 +805,6 @@ type CloudPcProvisioningPolicyable interface { SetLocalAdminEnabled(value *bool)() SetManagedBy(value *CloudPcManagementService)() SetMicrosoftManagedDesktop(value MicrosoftManagedDesktopable)() - SetOnPremisesConnectionId(value *string)() SetProvisioningType(value *CloudPcProvisioningType)() SetScopeIds(value []string)() SetWindowsSetting(value CloudPcWindowsSettingable)() diff --git a/models/cloud_pc_provisioning_policy_autopatch.go b/models/cloud_pc_provisioning_policy_autopatch.go new file mode 100644 index 00000000000..cd426a57af6 --- /dev/null +++ b/models/cloud_pc_provisioning_policy_autopatch.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudPcProvisioningPolicyAutopatch struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcProvisioningPolicyAutopatch instantiates a new CloudPcProvisioningPolicyAutopatch and sets the default values. +func NewCloudPcProvisioningPolicyAutopatch()(*CloudPcProvisioningPolicyAutopatch) { + m := &CloudPcProvisioningPolicyAutopatch{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcProvisioningPolicyAutopatchFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudPcProvisioningPolicyAutopatchFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcProvisioningPolicyAutopatch(), 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 *CloudPcProvisioningPolicyAutopatch) 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) +} +// GetAutopatchGroupId gets the autopatchGroupId property value. The autopatchGroupId property +// returns a *string when successful +func (m *CloudPcProvisioningPolicyAutopatch) GetAutopatchGroupId()(*string) { + val, err := m.GetBackingStore().Get("autopatchGroupId") + 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 *CloudPcProvisioningPolicyAutopatch) 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 *CloudPcProvisioningPolicyAutopatch) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["autopatchGroupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAutopatchGroupId(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 + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudPcProvisioningPolicyAutopatch) 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 *CloudPcProvisioningPolicyAutopatch) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("autopatchGroupId", m.GetAutopatchGroupId()) + 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 *CloudPcProvisioningPolicyAutopatch) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAutopatchGroupId sets the autopatchGroupId property value. The autopatchGroupId property +func (m *CloudPcProvisioningPolicyAutopatch) SetAutopatchGroupId(value *string)() { + err := m.GetBackingStore().Set("autopatchGroupId", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudPcProvisioningPolicyAutopatch) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcProvisioningPolicyAutopatch) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type CloudPcProvisioningPolicyAutopatchable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAutopatchGroupId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAutopatchGroupId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/cloud_pc_restore_point_setting.go b/models/cloud_pc_restore_point_setting.go index 8b3e6055570..191306068ae 100644 --- a/models/cloud_pc_restore_point_setting.go +++ b/models/cloud_pc_restore_point_setting.go @@ -86,7 +86,7 @@ func (m *CloudPcRestorePointSetting) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetFrequencyInHours gets the frequencyInHours property value. The frequencyInHours property +// GetFrequencyInHours gets the frequencyInHours property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are 4, 6, 12, 16, and 24. The default frequency is 12 hours. The frequencyInHours property is deprecated and will stop returning data on January 31, 2024. Going forward, use the frequencyType property. // returns a *int32 when successful func (m *CloudPcRestorePointSetting) GetFrequencyInHours()(*int32) { val, err := m.GetBackingStore().Get("frequencyInHours") @@ -180,7 +180,7 @@ func (m *CloudPcRestorePointSetting) SetAdditionalData(value map[string]any)() { func (m *CloudPcRestorePointSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFrequencyInHours sets the frequencyInHours property value. The frequencyInHours property +// SetFrequencyInHours sets the frequencyInHours property value. The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are 4, 6, 12, 16, and 24. The default frequency is 12 hours. The frequencyInHours property is deprecated and will stop returning data on January 31, 2024. Going forward, use the frequencyType property. func (m *CloudPcRestorePointSetting) SetFrequencyInHours(value *int32)() { err := m.GetBackingStore().Set("frequencyInHours", value) if err != nil { diff --git a/models/cloud_pc_source_device_image.go b/models/cloud_pc_source_device_image.go index f54f939e17d..6a47336e6dd 100644 --- a/models/cloud_pc_source_device_image.go +++ b/models/cloud_pc_source_device_image.go @@ -118,7 +118,7 @@ func (m *CloudPcSourceDeviceImage) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The unique identifier (ID) of the source image. Read-only. The id property is deprecated and will stop returning data on January 31, 2024. Going forward, use the resourceId property. // returns a *string when successful func (m *CloudPcSourceDeviceImage) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -242,7 +242,7 @@ func (m *CloudPcSourceDeviceImage) SetDisplayName(value *string)() { panic(err) } } -// SetId sets the id property value. The id property +// SetId sets the id property value. The unique identifier (ID) of the source image. Read-only. The id property is deprecated and will stop returning data on January 31, 2024. Going forward, use the resourceId property. func (m *CloudPcSourceDeviceImage) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/cloud_pc_user_setting.go b/models/cloud_pc_user_setting.go index 47566b0ea2e..2fc99187c24 100644 --- a/models/cloud_pc_user_setting.go +++ b/models/cloud_pc_user_setting.go @@ -218,7 +218,7 @@ func (m *CloudPcUserSetting) GetRestorePointSetting()(CloudPcRestorePointSetting } return nil } -// GetSelfServiceEnabled gets the selfServiceEnabled property value. The selfServiceEnabled property +// GetSelfServiceEnabled gets the selfServiceEnabled property value. Indicates whether the self-service option is enabled. Default value is false. To enable the self-service option, change the setting to true. If the self-service option is enabled, the end user is allowed to perform some self-service operations, such as upgrading the Cloud PC through the end user portal. The selfServiceEnabled property is deprecated and will stop returning data on December 1, 2023. // returns a *bool when successful func (m *CloudPcUserSetting) GetSelfServiceEnabled()(*bool) { val, err := m.GetBackingStore().Get("selfServiceEnabled") @@ -354,7 +354,7 @@ func (m *CloudPcUserSetting) SetRestorePointSetting(value CloudPcRestorePointSet panic(err) } } -// SetSelfServiceEnabled sets the selfServiceEnabled property value. The selfServiceEnabled property +// SetSelfServiceEnabled sets the selfServiceEnabled property value. Indicates whether the self-service option is enabled. Default value is false. To enable the self-service option, change the setting to true. If the self-service option is enabled, the end user is allowed to perform some self-service operations, such as upgrading the Cloud PC through the end user portal. The selfServiceEnabled property is deprecated and will stop returning data on December 1, 2023. func (m *CloudPcUserSetting) SetSelfServiceEnabled(value *bool)() { err := m.GetBackingStore().Set("selfServiceEnabled", value) if err != nil { diff --git a/models/conditional_access_condition_set.go b/models/conditional_access_condition_set.go index 5d30daa2799..e4345a9ca3b 100644 --- a/models/conditional_access_condition_set.go +++ b/models/conditional_access_condition_set.go @@ -76,7 +76,7 @@ func (m *ConditionalAccessConditionSet) GetClientApplications()(ConditionalAcces } return nil } -// GetClientAppTypes gets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. +// GetClientAppTypes gets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member is deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. // returns a []ConditionalAccessClientApp when successful func (m *ConditionalAccessConditionSet) GetClientAppTypes()([]ConditionalAccessClientApp) { val, err := m.GetBackingStore().Get("clientAppTypes") @@ -282,7 +282,7 @@ func (m *ConditionalAccessConditionSet) GetFieldDeserializers()(map[string]func( } return res } -// GetInsiderRiskLevels gets the insiderRiskLevels property value. The insiderRiskLevels property +// GetInsiderRiskLevels gets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue. // returns a *ConditionalAccessInsiderRiskLevels when successful func (m *ConditionalAccessConditionSet) GetInsiderRiskLevels()(*ConditionalAccessInsiderRiskLevels) { val, err := m.GetBackingStore().Get("insiderRiskLevels") @@ -505,7 +505,7 @@ func (m *ConditionalAccessConditionSet) SetClientApplications(value ConditionalA panic(err) } } -// SetClientAppTypes sets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. +// SetClientAppTypes sets the clientAppTypes property value. Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member is deprecated in favor of exchangeActiveSync, which includes EAS supported and unsupported platforms. func (m *ConditionalAccessConditionSet) SetClientAppTypes(value []ConditionalAccessClientApp)() { err := m.GetBackingStore().Set("clientAppTypes", value) if err != nil { @@ -526,7 +526,7 @@ func (m *ConditionalAccessConditionSet) SetDeviceStates(value ConditionalAccessD panic(err) } } -// SetInsiderRiskLevels sets the insiderRiskLevels property value. The insiderRiskLevels property +// SetInsiderRiskLevels sets the insiderRiskLevels property value. Insider risk levels included in the policy. The possible values are: minor, moderate, elevated, unknownFutureValue. func (m *ConditionalAccessConditionSet) SetInsiderRiskLevels(value *ConditionalAccessInsiderRiskLevels)() { err := m.GetBackingStore().Set("insiderRiskLevels", value) if err != nil { diff --git a/models/conditional_access_devices.go b/models/conditional_access_devices.go index 3386eefea6d..db9a8546a37 100644 --- a/models/conditional_access_devices.go +++ b/models/conditional_access_devices.go @@ -64,7 +64,7 @@ func (m *ConditionalAccessDevices) GetExcludeDevices()([]string) { } return nil } -// GetExcludeDeviceStates gets the excludeDeviceStates property value. The excludeDeviceStates property +// GetExcludeDeviceStates gets the excludeDeviceStates property value. States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. // returns a []string when successful func (m *ConditionalAccessDevices) GetExcludeDeviceStates()([]string) { val, err := m.GetBackingStore().Get("excludeDeviceStates") @@ -178,7 +178,7 @@ func (m *ConditionalAccessDevices) GetIncludeDevices()([]string) { } return nil } -// GetIncludeDeviceStates gets the includeDeviceStates property value. The includeDeviceStates property +// GetIncludeDeviceStates gets the includeDeviceStates property value. States in the scope of the policy. All is the only allowed value. // returns a []string when successful func (m *ConditionalAccessDevices) GetIncludeDeviceStates()([]string) { val, err := m.GetBackingStore().Get("includeDeviceStates") @@ -273,7 +273,7 @@ func (m *ConditionalAccessDevices) SetExcludeDevices(value []string)() { panic(err) } } -// SetExcludeDeviceStates sets the excludeDeviceStates property value. The excludeDeviceStates property +// SetExcludeDeviceStates sets the excludeDeviceStates property value. States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. func (m *ConditionalAccessDevices) SetExcludeDeviceStates(value []string)() { err := m.GetBackingStore().Set("excludeDeviceStates", value) if err != nil { @@ -287,7 +287,7 @@ func (m *ConditionalAccessDevices) SetIncludeDevices(value []string)() { panic(err) } } -// SetIncludeDeviceStates sets the includeDeviceStates property value. The includeDeviceStates property +// SetIncludeDeviceStates sets the includeDeviceStates property value. States in the scope of the policy. All is the only allowed value. func (m *ConditionalAccessDevices) SetIncludeDeviceStates(value []string)() { err := m.GetBackingStore().Set("includeDeviceStates", value) if err != nil { diff --git a/models/conditional_access_root.go b/models/conditional_access_root.go index 3aa1719ad43..d8b44926be9 100644 --- a/models/conditional_access_root.go +++ b/models/conditional_access_root.go @@ -43,7 +43,7 @@ func (m *ConditionalAccessRoot) GetAuthenticationStrength()(AuthenticationStreng } return nil } -// GetAuthenticationStrengths gets the authenticationStrengths property value. The authenticationStrengths property +// GetAuthenticationStrengths gets the authenticationStrengths property value. DEPRECATED. See the authenticationStrength relationship instead. // returns a AuthenticationStrengthRootable when successful func (m *ConditionalAccessRoot) GetAuthenticationStrengths()(AuthenticationStrengthRootable) { val, err := m.GetBackingStore().Get("authenticationStrengths") @@ -263,7 +263,7 @@ func (m *ConditionalAccessRoot) SetAuthenticationStrength(value AuthenticationSt panic(err) } } -// SetAuthenticationStrengths sets the authenticationStrengths property value. The authenticationStrengths property +// SetAuthenticationStrengths sets the authenticationStrengths property value. DEPRECATED. See the authenticationStrength relationship instead. func (m *ConditionalAccessRoot) SetAuthenticationStrengths(value AuthenticationStrengthRootable)() { err := m.GetBackingStore().Set("authenticationStrengths", value) if err != nil { diff --git a/models/contains_transformation.go b/models/contains_transformation.go index fb4013c7cb8..9f7ffdac459 100644 --- a/models/contains_transformation.go +++ b/models/contains_transformation.go @@ -59,7 +59,7 @@ func (m *ContainsTransformation) GetOutput()(TransformationAttributeable) { } return nil } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The value to be used as part of the transformation. // returns a *string when successful func (m *ContainsTransformation) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -98,7 +98,7 @@ func (m *ContainsTransformation) SetOutput(value TransformationAttributeable)() panic(err) } } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The value to be used as part of the transformation. func (m *ContainsTransformation) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/control_score.go b/models/control_score.go index 0d0d6f776ca..58c5ab1d6e2 100644 --- a/models/control_score.go +++ b/models/control_score.go @@ -40,7 +40,7 @@ func (m *ControlScore) GetAdditionalData()(map[string]any) { func (m *ControlScore) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetControlCategory gets the controlCategory property value. The controlCategory property +// GetControlCategory gets the controlCategory property value. Control action category (Identity, Data, Device, Apps, Infrastructure). // returns a *string when successful func (m *ControlScore) GetControlCategory()(*string) { val, err := m.GetBackingStore().Get("controlCategory") @@ -52,7 +52,7 @@ func (m *ControlScore) GetControlCategory()(*string) { } return nil } -// GetControlName gets the controlName property value. The controlName property +// GetControlName gets the controlName property value. Control unique name // returns a *string when successful func (m *ControlScore) GetControlName()(*string) { val, err := m.GetBackingStore().Get("controlName") @@ -64,7 +64,7 @@ func (m *ControlScore) GetControlName()(*string) { } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. Description of the control. // returns a *string when successful func (m *ControlScore) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -144,7 +144,7 @@ func (m *ControlScore) GetOdataType()(*string) { } return nil } -// GetScore gets the score property value. The score property +// GetScore gets the score property value. Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). // returns a *float64 when successful func (m *ControlScore) GetScore()(*float64) { val, err := m.GetBackingStore().Get("score") @@ -207,21 +207,21 @@ func (m *ControlScore) SetAdditionalData(value map[string]any)() { func (m *ControlScore) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetControlCategory sets the controlCategory property value. The controlCategory property +// SetControlCategory sets the controlCategory property value. Control action category (Identity, Data, Device, Apps, Infrastructure). func (m *ControlScore) SetControlCategory(value *string)() { err := m.GetBackingStore().Set("controlCategory", value) if err != nil { panic(err) } } -// SetControlName sets the controlName property value. The controlName property +// SetControlName sets the controlName property value. Control unique name func (m *ControlScore) SetControlName(value *string)() { err := m.GetBackingStore().Set("controlName", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. Description of the control. func (m *ControlScore) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { @@ -235,7 +235,7 @@ func (m *ControlScore) SetOdataType(value *string)() { panic(err) } } -// SetScore sets the score property value. The score property +// SetScore sets the score property value. Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). func (m *ControlScore) SetScore(value *float64)() { err := m.GetBackingStore().Set("score", value) if err != nil { diff --git a/models/custom_claim.go b/models/custom_claim.go index 1b4219bc4d3..c5bb349fa2a 100644 --- a/models/custom_claim.go +++ b/models/custom_claim.go @@ -73,7 +73,7 @@ func (m *CustomClaim) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetName gets the name property value. The name property +// GetName gets the name property value. The name of the claim to be emitted. // returns a *string when successful func (m *CustomClaim) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -85,7 +85,7 @@ func (m *CustomClaim) GetName()(*string) { } return nil } -// GetNamespace gets the namespace property value. The namespace property +// GetNamespace gets the namespace property value. An optional namespace to be included as part of the claim name. // returns a *string when successful func (m *CustomClaim) GetNamespace()(*string) { val, err := m.GetBackingStore().Get("namespace") @@ -97,7 +97,7 @@ func (m *CustomClaim) GetNamespace()(*string) { } return nil } -// GetSamlAttributeNameFormat gets the samlAttributeNameFormat property value. The samlAttributeNameFormat property +// GetSamlAttributeNameFormat gets the samlAttributeNameFormat property value. If specified, it sets the nameFormat attribute associated with the claim in the SAML response. The possible values are: unspecified, uri, basic, unknownFutureValue. // returns a *SamlAttributeNameFormat when successful func (m *CustomClaim) GetSamlAttributeNameFormat()(*SamlAttributeNameFormat) { val, err := m.GetBackingStore().Get("samlAttributeNameFormat") @@ -109,7 +109,7 @@ func (m *CustomClaim) GetSamlAttributeNameFormat()(*SamlAttributeNameFormat) { } return nil } -// GetTokenFormat gets the tokenFormat property value. The tokenFormat property +// GetTokenFormat gets the tokenFormat property value. List of token formats for which this claim should be emitted. The possible values are: saml,jwt, unknownFutureValue // returns a []TokenFormat when successful func (m *CustomClaim) GetTokenFormat()([]TokenFormat) { val, err := m.GetBackingStore().Get("tokenFormat") @@ -154,28 +154,28 @@ func (m *CustomClaim) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetName sets the name property value. The name property +// SetName sets the name property value. The name of the claim to be emitted. func (m *CustomClaim) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetNamespace sets the namespace property value. The namespace property +// SetNamespace sets the namespace property value. An optional namespace to be included as part of the claim name. func (m *CustomClaim) SetNamespace(value *string)() { err := m.GetBackingStore().Set("namespace", value) if err != nil { panic(err) } } -// SetSamlAttributeNameFormat sets the samlAttributeNameFormat property value. The samlAttributeNameFormat property +// SetSamlAttributeNameFormat sets the samlAttributeNameFormat property value. If specified, it sets the nameFormat attribute associated with the claim in the SAML response. The possible values are: unspecified, uri, basic, unknownFutureValue. func (m *CustomClaim) SetSamlAttributeNameFormat(value *SamlAttributeNameFormat)() { err := m.GetBackingStore().Set("samlAttributeNameFormat", value) if err != nil { panic(err) } } -// SetTokenFormat sets the tokenFormat property value. The tokenFormat property +// SetTokenFormat sets the tokenFormat property value. List of token formats for which this claim should be emitted. The possible values are: saml,jwt, unknownFutureValue func (m *CustomClaim) SetTokenFormat(value []TokenFormat)() { err := m.GetBackingStore().Set("tokenFormat", value) if err != nil { diff --git a/models/custom_claim_base.go b/models/custom_claim_base.go index d161753016b..eb541601e9e 100644 --- a/models/custom_claim_base.go +++ b/models/custom_claim_base.go @@ -60,7 +60,7 @@ func (m *CustomClaimBase) GetAdditionalData()(map[string]any) { func (m *CustomClaimBase) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetConfigurations gets the configurations property value. The configurations property +// GetConfigurations gets the configurations property value. One or more configurations that describe how the claim is sourced and under what conditions. // returns a []CustomClaimConfigurationable when successful func (m *CustomClaimBase) GetConfigurations()([]CustomClaimConfigurationable) { val, err := m.GetBackingStore().Get("configurations") @@ -155,7 +155,7 @@ func (m *CustomClaimBase) SetAdditionalData(value map[string]any)() { func (m *CustomClaimBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetConfigurations sets the configurations property value. The configurations property +// SetConfigurations sets the configurations property value. One or more configurations that describe how the claim is sourced and under what conditions. func (m *CustomClaimBase) SetConfigurations(value []CustomClaimConfigurationable)() { err := m.GetBackingStore().Set("configurations", value) if err != nil { diff --git a/models/custom_claim_condition.go b/models/custom_claim_condition.go index b1092f76b00..bab42336b6b 100644 --- a/models/custom_claim_condition.go +++ b/models/custom_claim_condition.go @@ -53,7 +53,7 @@ func (m *CustomClaimCondition) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetMemberOf gets the memberOf property value. The memberOf property +// GetMemberOf gets the memberOf property value. A list of groups (GUIDs) to which the user/application must be a member for this condition to be applied. // returns a []string when successful func (m *CustomClaimCondition) GetMemberOf()([]string) { val, err := m.GetBackingStore().Get("memberOf") @@ -65,7 +65,7 @@ func (m *CustomClaimCondition) GetMemberOf()([]string) { } return nil } -// GetUserType gets the userType property value. The userType property +// GetUserType gets the userType property value. The type of user this condition applies to. The possible values are: any, members, allGuests, aadGuests, externalGuests, unknownFutureValue. // returns a *ClaimConditionUserType when successful func (m *CustomClaimCondition) GetUserType()(*ClaimConditionUserType) { val, err := m.GetBackingStore().Get("userType") @@ -98,14 +98,14 @@ func (m *CustomClaimCondition) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetMemberOf sets the memberOf property value. The memberOf property +// SetMemberOf sets the memberOf property value. A list of groups (GUIDs) to which the user/application must be a member for this condition to be applied. func (m *CustomClaimCondition) SetMemberOf(value []string)() { err := m.GetBackingStore().Set("memberOf", value) if err != nil { panic(err) } } -// SetUserType sets the userType property value. The userType property +// SetUserType sets the userType property value. The type of user this condition applies to. The possible values are: any, members, allGuests, aadGuests, externalGuests, unknownFutureValue. func (m *CustomClaimCondition) SetUserType(value *ClaimConditionUserType)() { err := m.GetBackingStore().Set("userType", value) if err != nil { diff --git a/models/custom_claim_configuration.go b/models/custom_claim_configuration.go index 8a6ffc5a800..ab63df0f27d 100644 --- a/models/custom_claim_configuration.go +++ b/models/custom_claim_configuration.go @@ -35,7 +35,7 @@ func (m *CustomClaimConfiguration) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAttribute gets the attribute property value. The attribute property +// GetAttribute gets the attribute property value. The attribute on which we source this property. // returns a CustomClaimAttributeBaseable when successful func (m *CustomClaimConfiguration) GetAttribute()(CustomClaimAttributeBaseable) { val, err := m.GetBackingStore().Get("attribute") @@ -52,7 +52,7 @@ func (m *CustomClaimConfiguration) GetAttribute()(CustomClaimAttributeBaseable) func (m *CustomClaimConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCondition gets the condition property value. The condition property +// GetCondition gets the condition property value. The condition, if any, associated with this configuration. // returns a CustomClaimConditionBaseable when successful func (m *CustomClaimConfiguration) GetCondition()(CustomClaimConditionBaseable) { val, err := m.GetBackingStore().Get("condition") @@ -128,7 +128,7 @@ func (m *CustomClaimConfiguration) GetOdataType()(*string) { } return nil } -// GetTransformations gets the transformations property value. The transformations property +// GetTransformations gets the transformations property value. An ordered list of transformations that are applied in sequence. // returns a []CustomClaimTransformationable when successful func (m *CustomClaimConfiguration) GetTransformations()([]CustomClaimTransformationable) { val, err := m.GetBackingStore().Get("transformations") @@ -187,7 +187,7 @@ func (m *CustomClaimConfiguration) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAttribute sets the attribute property value. The attribute property +// SetAttribute sets the attribute property value. The attribute on which we source this property. func (m *CustomClaimConfiguration) SetAttribute(value CustomClaimAttributeBaseable)() { err := m.GetBackingStore().Set("attribute", value) if err != nil { @@ -198,7 +198,7 @@ func (m *CustomClaimConfiguration) SetAttribute(value CustomClaimAttributeBaseab func (m *CustomClaimConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCondition sets the condition property value. The condition property +// SetCondition sets the condition property value. The condition, if any, associated with this configuration. func (m *CustomClaimConfiguration) SetCondition(value CustomClaimConditionBaseable)() { err := m.GetBackingStore().Set("condition", value) if err != nil { @@ -212,7 +212,7 @@ func (m *CustomClaimConfiguration) SetOdataType(value *string)() { panic(err) } } -// SetTransformations sets the transformations property value. The transformations property +// SetTransformations sets the transformations property value. An ordered list of transformations that are applied in sequence. func (m *CustomClaimConfiguration) SetTransformations(value []CustomClaimTransformationable)() { err := m.GetBackingStore().Set("transformations", value) if err != nil { diff --git a/models/custom_claims_policy.go b/models/custom_claims_policy.go index 21daec70ad1..85de6fa954c 100644 --- a/models/custom_claims_policy.go +++ b/models/custom_claims_policy.go @@ -19,7 +19,7 @@ func NewCustomClaimsPolicy()(*CustomClaimsPolicy) { func CreateCustomClaimsPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCustomClaimsPolicy(), nil } -// GetAudienceOverride gets the audienceOverride property value. The audienceOverride property +// GetAudienceOverride gets the audienceOverride property value. If specified, it overrides the content of the audience claim for WS-Federation and SAML2 protocols. A custom signing key must be used for audienceOverride to be applied, otherwise, the audienceOverride value is ignored. The value provided must be in the format of an absolute URI. // returns a *string when successful func (m *CustomClaimsPolicy) GetAudienceOverride()(*string) { val, err := m.GetBackingStore().Get("audienceOverride") @@ -31,7 +31,7 @@ func (m *CustomClaimsPolicy) GetAudienceOverride()(*string) { } return nil } -// GetClaims gets the claims property value. The claims property +// GetClaims gets the claims property value. Defines which claims are present in the tokens affected by the policy, in addition to the basic claim and the core claim set. Inherited from customclaimbase. // returns a []CustomClaimBaseable when successful func (m *CustomClaimsPolicy) GetClaims()([]CustomClaimBaseable) { val, err := m.GetBackingStore().Get("claims") @@ -95,7 +95,7 @@ func (m *CustomClaimsPolicy) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIncludeApplicationIdInIssuer gets the includeApplicationIdInIssuer property value. The includeApplicationIdInIssuer property +// GetIncludeApplicationIdInIssuer gets the includeApplicationIdInIssuer property value. Indicates whether the application ID is added to the claim. It is relevant only for SAML2.0 and if a custom signing key is used. the default value is true. Optional. // returns a *bool when successful func (m *CustomClaimsPolicy) GetIncludeApplicationIdInIssuer()(*bool) { val, err := m.GetBackingStore().Get("includeApplicationIdInIssuer") @@ -107,7 +107,7 @@ func (m *CustomClaimsPolicy) GetIncludeApplicationIdInIssuer()(*bool) { } return nil } -// GetIncludeBasicClaimSet gets the includeBasicClaimSet property value. The includeBasicClaimSet property +// GetIncludeBasicClaimSet gets the includeBasicClaimSet property value. Determines whether the basic claim set is included in tokens affected by this policy. If set to true, all claims in the basic claim set are emitted in tokens affected by the policy. By default the basic claim set isn't in the tokens unless they're explicitly configured in this policy. // returns a *bool when successful func (m *CustomClaimsPolicy) GetIncludeBasicClaimSet()(*bool) { val, err := m.GetBackingStore().Get("includeBasicClaimSet") @@ -157,28 +157,28 @@ func (m *CustomClaimsPolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetAudienceOverride sets the audienceOverride property value. The audienceOverride property +// SetAudienceOverride sets the audienceOverride property value. If specified, it overrides the content of the audience claim for WS-Federation and SAML2 protocols. A custom signing key must be used for audienceOverride to be applied, otherwise, the audienceOverride value is ignored. The value provided must be in the format of an absolute URI. func (m *CustomClaimsPolicy) SetAudienceOverride(value *string)() { err := m.GetBackingStore().Set("audienceOverride", value) if err != nil { panic(err) } } -// SetClaims sets the claims property value. The claims property +// SetClaims sets the claims property value. Defines which claims are present in the tokens affected by the policy, in addition to the basic claim and the core claim set. Inherited from customclaimbase. func (m *CustomClaimsPolicy) SetClaims(value []CustomClaimBaseable)() { err := m.GetBackingStore().Set("claims", value) if err != nil { panic(err) } } -// SetIncludeApplicationIdInIssuer sets the includeApplicationIdInIssuer property value. The includeApplicationIdInIssuer property +// SetIncludeApplicationIdInIssuer sets the includeApplicationIdInIssuer property value. Indicates whether the application ID is added to the claim. It is relevant only for SAML2.0 and if a custom signing key is used. the default value is true. Optional. func (m *CustomClaimsPolicy) SetIncludeApplicationIdInIssuer(value *bool)() { err := m.GetBackingStore().Set("includeApplicationIdInIssuer", value) if err != nil { panic(err) } } -// SetIncludeBasicClaimSet sets the includeBasicClaimSet property value. The includeBasicClaimSet property +// SetIncludeBasicClaimSet sets the includeBasicClaimSet property value. Determines whether the basic claim set is included in tokens affected by this policy. If set to true, all claims in the basic claim set are emitted in tokens affected by the policy. By default the basic claim set isn't in the tokens unless they're explicitly configured in this policy. func (m *CustomClaimsPolicy) SetIncludeBasicClaimSet(value *bool)() { err := m.GetBackingStore().Set("includeBasicClaimSet", value) if err != nil { diff --git a/models/custom_question_answer.go b/models/custom_question_answer.go index 5edfb503c6a..8fe51946297 100644 --- a/models/custom_question_answer.go +++ b/models/custom_question_answer.go @@ -2,19 +2,16 @@ package models import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) type CustomQuestionAnswer struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore + Entity } // NewCustomQuestionAnswer instantiates a new CustomQuestionAnswer and sets the default values. func NewCustomQuestionAnswer()(*CustomQuestionAnswer) { m := &CustomQuestionAnswer{ + Entity: *NewEntity(), } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) return m } // CreateCustomQuestionAnswerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value @@ -22,24 +19,6 @@ func NewCustomQuestionAnswer()(*CustomQuestionAnswer) { func CreateCustomQuestionAnswerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCustomQuestionAnswer(), 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 *CustomQuestionAnswer) 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 *CustomQuestionAnswer) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - return m.backingStore -} // GetDisplayName gets the displayName property value. Display name of the custom registration question. Read-only. // returns a *string when successful func (m *CustomQuestionAnswer) GetDisplayName()(*string) { @@ -55,7 +34,7 @@ func (m *CustomQuestionAnswer) GetDisplayName()(*string) { // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *CustomQuestionAnswer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res := m.Entity.GetFieldDeserializers() res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -66,16 +45,6 @@ func (m *CustomQuestionAnswer) GetFieldDeserializers()(map[string]func(i878a80d2 } 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["questionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -98,18 +67,6 @@ func (m *CustomQuestionAnswer) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetOdataType gets the @odata.type property value. The OdataType property -// returns a *string when successful -func (m *CustomQuestionAnswer) GetOdataType()(*string) { - val, err := m.GetBackingStore().Get("odataType") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetQuestionId gets the questionId property value. ID the custom registration question. Read-only. // returns a *string when successful func (m *CustomQuestionAnswer) GetQuestionId()(*string) { @@ -136,49 +93,30 @@ func (m *CustomQuestionAnswer) GetValue()(*string) { } // Serialize serializes information the current object func (m *CustomQuestionAnswer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteStringValue("displayName", m.GetDisplayName()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("@odata.type", m.GetOdataType()) - if err != nil { - return err - } + err := m.Entity.Serialize(writer) + if err != nil { + return err } { - err := writer.WriteStringValue("questionId", m.GetQuestionId()) + err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { return err } } { - err := writer.WriteStringValue("value", m.GetValue()) + err = writer.WriteStringValue("questionId", m.GetQuestionId()) if err != nil { return err } } { - err := writer.WriteAdditionalData(m.GetAdditionalData()) + err = writer.WriteStringValue("value", m.GetValue()) 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 *CustomQuestionAnswer) 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 *CustomQuestionAnswer) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} // SetDisplayName sets the displayName property value. Display name of the custom registration question. Read-only. func (m *CustomQuestionAnswer) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -186,13 +124,6 @@ func (m *CustomQuestionAnswer) SetDisplayName(value *string)() { panic(err) } } -// SetOdataType sets the @odata.type property value. The OdataType property -func (m *CustomQuestionAnswer) SetOdataType(value *string)() { - err := m.GetBackingStore().Set("odataType", value) - if err != nil { - panic(err) - } -} // SetQuestionId sets the questionId property value. ID the custom registration question. Read-only. func (m *CustomQuestionAnswer) SetQuestionId(value *string)() { err := m.GetBackingStore().Set("questionId", value) @@ -208,17 +139,12 @@ func (m *CustomQuestionAnswer) SetValue(value *string)() { } } type CustomQuestionAnswerable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetDisplayName()(*string) - GetOdataType()(*string) GetQuestionId()(*string) GetValue()(*string) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetDisplayName(value *string)() - SetOdataType(value *string)() SetQuestionId(value *string)() SetValue(value *string)() } diff --git a/models/device.go b/models/device.go index 9ef20ed5302..0c2527de0d9 100644 --- a/models/device.go +++ b/models/device.go @@ -22,7 +22,7 @@ func NewDevice()(*Device) { func CreateDeviceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDevice(), nil } -// GetAccountEnabled gets the accountEnabled property value. true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property. +// GetAccountEnabled gets the accountEnabled property value. true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers with at least the Cloud Device Administrator role can set this property. // returns a *bool when successful func (m *Device) GetAccountEnabled()(*bool) { val, err := m.GetBackingStore().Get("accountEnabled") @@ -1382,7 +1382,7 @@ func (m *Device) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c } return nil } -// SetAccountEnabled sets the accountEnabled property value. true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property. +// SetAccountEnabled sets the accountEnabled property value. true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers with at least the Cloud Device Administrator role can set this property. func (m *Device) SetAccountEnabled(value *bool)() { err := m.GetBackingStore().Set("accountEnabled", 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 8f0d294486c..16fe9c74a9a 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 72e7bfbc56a..5d493903800 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 +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 // 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 +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 // 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 +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 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 +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_simple_setting_definition.go b/models/device_management_configuration_simple_setting_definition.go index acf2724ebd6..20e692fcff0 100644 --- a/models/device_management_configuration_simple_setting_definition.go +++ b/models/device_management_configuration_simple_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSimpleSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationSimpleSettingDefinition(), nil } -// GetDefaultValue gets the defaultValue property value. Default setting value for this setting +// GetDefaultValue gets the defaultValue property value. Default setting value for this setting. // returns a DeviceManagementConfigurationSettingValueable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue()(DeviceManagementConfigurationSettingValueable) { val, err := m.GetBackingStore().Get("defaultValue") @@ -49,7 +49,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue() } return nil } -// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting +// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting. // returns a []DeviceManagementConfigurationSettingDependedOnByable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy()([]DeviceManagementConfigurationSettingDependedOnByable) { val, err := m.GetBackingStore().Get("dependedOnBy") @@ -61,7 +61,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy() } return nil } -// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on +// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on. // returns a []DeviceManagementConfigurationDependentOnable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependentOn()([]DeviceManagementConfigurationDependentOnable) { val, err := m.GetBackingStore().Get("dependentOn") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetFieldDeseriali } return res } -// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting +// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting. // returns a DeviceManagementConfigurationSettingValueDefinitionable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetValueDefinition()(DeviceManagementConfigurationSettingValueDefinitionable) { val, err := m.GetBackingStore().Get("valueDefinition") @@ -187,28 +187,28 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) Serialize(writer } return nil } -// SetDefaultValue sets the defaultValue property value. Default setting value for this setting +// SetDefaultValue sets the defaultValue property value. Default setting value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDefaultValue(value DeviceManagementConfigurationSettingValueable)() { err := m.GetBackingStore().Set("defaultValue", value) if err != nil { panic(err) } } -// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting +// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependedOnBy(value []DeviceManagementConfigurationSettingDependedOnByable)() { err := m.GetBackingStore().Set("dependedOnBy", value) if err != nil { panic(err) } } -// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on +// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependentOn(value []DeviceManagementConfigurationDependentOnable)() { err := m.GetBackingStore().Set("dependentOn", value) if err != nil { panic(err) } } -// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting +// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetValueDefinition(value DeviceManagementConfigurationSettingValueDefinitionable)() { err := m.GetBackingStore().Set("valueDefinition", value) if err != nil { diff --git a/models/drive_item.go b/models/drive_item.go index 4c13839651a..1d6547d6656 100644 --- a/models/drive_item.go +++ b/models/drive_item.go @@ -81,7 +81,7 @@ func (m *DriveItem) GetChildren()([]DriveItemable) { } return nil } -// GetContent gets the content property value. The content property +// GetContent gets the content property value. The content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful func (m *DriveItem) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -1206,7 +1206,7 @@ func (m *DriveItem) SetChildren(value []DriveItemable)() { panic(err) } } -// SetContent sets the content property value. The content property +// SetContent sets the content property value. The content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. func (m *DriveItem) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { diff --git a/models/ediscovery/case_export_operation.go b/models/ediscovery/case_export_operation.go index cbd2c8a4c89..d6b05c7058f 100644 --- a/models/ediscovery/case_export_operation.go +++ b/models/ediscovery/case_export_operation.go @@ -165,7 +165,7 @@ func (m *CaseExportOperation) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetOutputFolderId gets the outputFolderId property value. The outputFolderId property +// GetOutputFolderId gets the outputFolderId property value. The output folder ID. // returns a *string when successful func (m *CaseExportOperation) GetOutputFolderId()(*string) { val, err := m.GetBackingStore().Get("outputFolderId") @@ -294,7 +294,7 @@ func (m *CaseExportOperation) SetExportStructure(value *ExportFileStructure)() { panic(err) } } -// SetOutputFolderId sets the outputFolderId property value. The outputFolderId property +// SetOutputFolderId sets the outputFolderId property value. The output folder ID. func (m *CaseExportOperation) SetOutputFolderId(value *string)() { err := m.GetBackingStore().Set("outputFolderId", value) if err != nil { diff --git a/models/education_file_synchronization_verification_message.go b/models/education_file_synchronization_verification_message.go index e4a1e0c864e..ce09b7d159b 100644 --- a/models/education_file_synchronization_verification_message.go +++ b/models/education_file_synchronization_verification_message.go @@ -98,7 +98,7 @@ func (m *EducationFileSynchronizationVerificationMessage) GetFieldDeserializers( } return res } -// GetFileName gets the fileName property value. The fileName property +// GetFileName gets the fileName property value. Source file that contains the error. // returns a *string when successful func (m *EducationFileSynchronizationVerificationMessage) GetFileName()(*string) { val, err := m.GetBackingStore().Get("fileName") @@ -186,7 +186,7 @@ func (m *EducationFileSynchronizationVerificationMessage) SetDescription(value * panic(err) } } -// SetFileName sets the fileName property value. The fileName property +// SetFileName sets the fileName property value. Source file that contains the error. func (m *EducationFileSynchronizationVerificationMessage) SetFileName(value *string)() { err := m.GetBackingStore().Set("fileName", value) if err != nil { diff --git a/models/education_user.go b/models/education_user.go index c4627766b88..f28711bf70d 100644 --- a/models/education_user.go +++ b/models/education_user.go @@ -670,7 +670,7 @@ func (m *EducationUser) GetMobilePhone()(*string) { } return nil } -// GetOfficeLocation gets the officeLocation property value. The officeLocation property +// GetOfficeLocation gets the officeLocation property value. The office location for the user. // returns a *string when successful func (m *EducationUser) GetOfficeLocation()(*string) { val, err := m.GetBackingStore().Get("officeLocation") @@ -1333,7 +1333,7 @@ func (m *EducationUser) SetMobilePhone(value *string)() { panic(err) } } -// SetOfficeLocation sets the officeLocation property value. The officeLocation property +// SetOfficeLocation sets the officeLocation property value. The office location for the user. func (m *EducationUser) SetOfficeLocation(value *string)() { err := m.GetBackingStore().Set("officeLocation", value) if err != nil { diff --git a/models/ends_with_transformation.go b/models/ends_with_transformation.go index f0706bd0f52..de4d7e38a24 100644 --- a/models/ends_with_transformation.go +++ b/models/ends_with_transformation.go @@ -59,7 +59,7 @@ func (m *EndsWithTransformation) GetOutput()(TransformationAttributeable) { } return nil } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The value to be used as part of the transformation. // returns a *string when successful func (m *EndsWithTransformation) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -98,7 +98,7 @@ func (m *EndsWithTransformation) SetOutput(value TransformationAttributeable)() panic(err) } } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The value to be used as part of the transformation. func (m *EndsWithTransformation) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index 1e0ce02a41d..49441433b58 100644 --- a/models/entity.go +++ b/models/entity.go @@ -2040,6 +2040,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewParticipantLeftNotification(), nil case "#microsoft.graph.partners": return NewPartners(), nil + case "#microsoft.graph.passkeyAuthenticationMethodTarget": + return NewPasskeyAuthenticationMethodTarget(), nil case "#microsoft.graph.passwordAuthenticationMethod": return NewPasswordAuthenticationMethod(), nil case "#microsoft.graph.passwordlessMicrosoftAuthenticatorAuthenticationMethod": diff --git a/models/extract_transformation.go b/models/extract_transformation.go index 8f2ed33d0bf..47578764ff7 100644 --- a/models/extract_transformation.go +++ b/models/extract_transformation.go @@ -57,7 +57,7 @@ func (m *ExtractTransformation) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The type of extract transformation to apply. // returns a *string when successful func (m *ExtractTransformation) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -69,7 +69,7 @@ func (m *ExtractTransformation) GetTypeEscaped()(*string) { } return nil } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The value to be used as part of the transformation. // returns a *string when successful func (m *ExtractTransformation) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -81,7 +81,7 @@ func (m *ExtractTransformation) GetValue()(*string) { } return nil } -// GetValue2 gets the value2 property value. The value2 property +// GetValue2 gets the value2 property value. An optional secondary value to be used when dealing with between extract operations. // returns a *string when successful func (m *ExtractTransformation) GetValue2()(*string) { val, err := m.GetBackingStore().Get("value2") @@ -119,21 +119,21 @@ func (m *ExtractTransformation) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The type of extract transformation to apply. func (m *ExtractTransformation) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) } } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The value to be used as part of the transformation. func (m *ExtractTransformation) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -// SetValue2 sets the value2 property value. The value2 property +// SetValue2 sets the value2 property value. An optional secondary value to be used when dealing with between extract operations. func (m *ExtractTransformation) SetValue2(value *string)() { err := m.GetBackingStore().Set("value2", value) if err != nil { diff --git a/models/fido2_authentication_method_configuration.go b/models/fido2_authentication_method_configuration.go index 9cbf1075fcb..826f875feb7 100644 --- a/models/fido2_authentication_method_configuration.go +++ b/models/fido2_authentication_method_configuration.go @@ -25,6 +25,22 @@ func CreateFido2AuthenticationMethodConfigurationFromDiscriminatorValue(parseNod // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Fido2AuthenticationMethodConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AuthenticationMethodConfiguration.GetFieldDeserializers() + res["includeTargets"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePasskeyAuthenticationMethodTargetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PasskeyAuthenticationMethodTargetable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PasskeyAuthenticationMethodTargetable) + } + } + m.SetIncludeTargets(res) + } + return nil + } res["isAttestationEnforced"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -57,6 +73,18 @@ func (m *Fido2AuthenticationMethodConfiguration) GetFieldDeserializers()(map[str } return res } +// GetIncludeTargets gets the includeTargets property value. A collection of groups that are enabled to use the authentication method. +// returns a []PasskeyAuthenticationMethodTargetable when successful +func (m *Fido2AuthenticationMethodConfiguration) GetIncludeTargets()([]PasskeyAuthenticationMethodTargetable) { + val, err := m.GetBackingStore().Get("includeTargets") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PasskeyAuthenticationMethodTargetable) + } + return nil +} // GetIsAttestationEnforced gets the isAttestationEnforced property value. Determines whether attestation must be enforced for FIDO2 security key registration. // returns a *bool when successful func (m *Fido2AuthenticationMethodConfiguration) GetIsAttestationEnforced()(*bool) { @@ -99,6 +127,18 @@ func (m *Fido2AuthenticationMethodConfiguration) Serialize(writer i878a80d2330e8 if err != nil { return err } + if m.GetIncludeTargets() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIncludeTargets())) + for i, v := range m.GetIncludeTargets() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("includeTargets", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isAttestationEnforced", m.GetIsAttestationEnforced()) if err != nil { @@ -119,6 +159,13 @@ func (m *Fido2AuthenticationMethodConfiguration) Serialize(writer i878a80d2330e8 } return nil } +// SetIncludeTargets sets the includeTargets property value. A collection of groups that are enabled to use the authentication method. +func (m *Fido2AuthenticationMethodConfiguration) SetIncludeTargets(value []PasskeyAuthenticationMethodTargetable)() { + err := m.GetBackingStore().Set("includeTargets", value) + if err != nil { + panic(err) + } +} // SetIsAttestationEnforced sets the isAttestationEnforced property value. Determines whether attestation must be enforced for FIDO2 security key registration. func (m *Fido2AuthenticationMethodConfiguration) SetIsAttestationEnforced(value *bool)() { err := m.GetBackingStore().Set("isAttestationEnforced", value) @@ -143,9 +190,11 @@ func (m *Fido2AuthenticationMethodConfiguration) SetKeyRestrictions(value Fido2K type Fido2AuthenticationMethodConfigurationable interface { AuthenticationMethodConfigurationable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIncludeTargets()([]PasskeyAuthenticationMethodTargetable) GetIsAttestationEnforced()(*bool) GetIsSelfServiceRegistrationAllowed()(*bool) GetKeyRestrictions()(Fido2KeyRestrictionsable) + SetIncludeTargets(value []PasskeyAuthenticationMethodTargetable)() SetIsAttestationEnforced(value *bool)() SetIsSelfServiceRegistrationAllowed(value *bool)() SetKeyRestrictions(value Fido2KeyRestrictionsable)() diff --git a/models/governance_role_definition.go b/models/governance_role_definition.go index f1f2beb2897..a371733596d 100644 --- a/models/governance_role_definition.go +++ b/models/governance_role_definition.go @@ -31,7 +31,7 @@ func (m *GovernanceRoleDefinition) GetDisplayName()(*string) { } return nil } -// GetExternalId gets the externalId property value. The external id of the role definition. +// GetExternalId gets the externalId property value. The external ID of the role definition. // returns a *string when successful func (m *GovernanceRoleDefinition) GetExternalId()(*string) { val, err := m.GetBackingStore().Get("externalId") @@ -121,7 +121,7 @@ func (m *GovernanceRoleDefinition) GetResource()(GovernanceResourceable) { } return nil } -// GetResourceId gets the resourceId property value. Required. The id of the resource associated with the role definition. +// GetResourceId gets the resourceId property value. Required. The ID of the resource associated with the role definition. // returns a *string when successful func (m *GovernanceRoleDefinition) GetResourceId()(*string) { val, err := m.GetBackingStore().Get("resourceId") @@ -145,7 +145,7 @@ func (m *GovernanceRoleDefinition) GetRoleSetting()(GovernanceRoleSettingable) { } return nil } -// GetTemplateId gets the templateId property value. The templateId property +// GetTemplateId gets the templateId property value. The unique identifier for the template. // returns a *string when successful func (m *GovernanceRoleDefinition) GetTemplateId()(*string) { val, err := m.GetBackingStore().Get("templateId") @@ -208,7 +208,7 @@ func (m *GovernanceRoleDefinition) SetDisplayName(value *string)() { panic(err) } } -// SetExternalId sets the externalId property value. The external id of the role definition. +// SetExternalId sets the externalId property value. The external ID of the role definition. func (m *GovernanceRoleDefinition) SetExternalId(value *string)() { err := m.GetBackingStore().Set("externalId", value) if err != nil { @@ -222,7 +222,7 @@ func (m *GovernanceRoleDefinition) SetResource(value GovernanceResourceable)() { panic(err) } } -// SetResourceId sets the resourceId property value. Required. The id of the resource associated with the role definition. +// SetResourceId sets the resourceId property value. Required. The ID of the resource associated with the role definition. func (m *GovernanceRoleDefinition) SetResourceId(value *string)() { err := m.GetBackingStore().Set("resourceId", value) if err != nil { @@ -236,7 +236,7 @@ func (m *GovernanceRoleDefinition) SetRoleSetting(value GovernanceRoleSettingabl panic(err) } } -// SetTemplateId sets the templateId property value. The templateId property +// SetTemplateId sets the templateId property value. The unique identifier for the template. func (m *GovernanceRoleDefinition) SetTemplateId(value *string)() { err := m.GetBackingStore().Set("templateId", value) if err != nil { diff --git a/models/group.go b/models/group.go index 9597a6191cf..3c850b2a9f0 100644 --- a/models/group.go +++ b/models/group.go @@ -34,7 +34,7 @@ func (m *Group) GetAcceptedSenders()([]DirectoryObjectable) { } return nil } -// GetAccessType gets the accessType property value. The accessType property +// GetAccessType gets the accessType property value. Indicates the type of access to the group. Possible values are none, private, secret, and public. // returns a *GroupAccessType when successful func (m *Group) GetAccessType()(*GroupAccessType) { val, err := m.GetBackingStore().Get("accessType") @@ -1356,7 +1356,7 @@ func (m *Group) GetIsArchived()(*bool) { } return nil } -// GetIsAssignableToRole gets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). +// GetIsAssignableToRole gets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). // returns a *bool when successful func (m *Group) GetIsAssignableToRole()(*bool) { val, err := m.GetBackingStore().Get("isAssignableToRole") @@ -1368,7 +1368,7 @@ func (m *Group) GetIsAssignableToRole()(*bool) { } return nil } -// GetIsFavorite gets the isFavorite property value. The isFavorite property +// GetIsFavorite gets the isFavorite property value. Indicates whether the user marked the group as favorite. // returns a *bool when successful func (m *Group) GetIsFavorite()(*bool) { val, err := m.GetBackingStore().Get("isFavorite") @@ -1692,7 +1692,7 @@ func (m *Group) GetPlanner()(PlannerGroupable) { } return nil } -// GetPreferredDataLocation gets the preferredDataLocation property value. The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. +// GetPreferredDataLocation gets the preferredDataLocation property value. The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned at least one of the following Microsoft Entra roles: User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. // returns a *string when successful func (m *Group) GetPreferredDataLocation()(*string) { val, err := m.GetBackingStore().Get("preferredDataLocation") @@ -2614,7 +2614,7 @@ func (m *Group) SetAcceptedSenders(value []DirectoryObjectable)() { panic(err) } } -// SetAccessType sets the accessType property value. The accessType property +// SetAccessType sets the accessType property value. Indicates the type of access to the group. Possible values are none, private, secret, and public. func (m *Group) SetAccessType(value *GroupAccessType)() { err := m.GetBackingStore().Set("accessType", value) if err != nil { @@ -2810,14 +2810,14 @@ func (m *Group) SetIsArchived(value *bool)() { panic(err) } } -// SetIsAssignableToRole sets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). +// SetIsAssignableToRole sets the isAssignableToRole property value. Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers with at least the Privileged Role Administrator role can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). func (m *Group) SetIsAssignableToRole(value *bool)() { err := m.GetBackingStore().Set("isAssignableToRole", value) if err != nil { panic(err) } } -// SetIsFavorite sets the isFavorite property value. The isFavorite property +// SetIsFavorite sets the isFavorite property value. Indicates whether the user marked the group as favorite. func (m *Group) SetIsFavorite(value *bool)() { err := m.GetBackingStore().Set("isFavorite", value) if err != nil { @@ -3006,7 +3006,7 @@ func (m *Group) SetPlanner(value PlannerGroupable)() { panic(err) } } -// SetPreferredDataLocation sets the preferredDataLocation property value. The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. +// SetPreferredDataLocation sets the preferredDataLocation property value. The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned at least one of the following Microsoft Entra roles: User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. func (m *Group) SetPreferredDataLocation(value *string)() { err := m.GetBackingStore().Set("preferredDataLocation", value) if err != nil { diff --git a/models/hybrid_agent_updater_configuration.go b/models/hybrid_agent_updater_configuration.go index ff462aa0b3c..470a4c27887 100644 --- a/models/hybrid_agent_updater_configuration.go +++ b/models/hybrid_agent_updater_configuration.go @@ -123,7 +123,7 @@ func (m *HybridAgentUpdaterConfiguration) GetOdataType()(*string) { } return nil } -// GetUpdateWindow gets the updateWindow property value. The updateWindow property +// GetUpdateWindow gets the updateWindow property value. The time window during which the agent can receive updates. // returns a UpdateWindowable when successful func (m *HybridAgentUpdaterConfiguration) GetUpdateWindow()(UpdateWindowable) { val, err := m.GetBackingStore().Get("updateWindow") @@ -201,7 +201,7 @@ func (m *HybridAgentUpdaterConfiguration) SetOdataType(value *string)() { panic(err) } } -// SetUpdateWindow sets the updateWindow property value. The updateWindow property +// SetUpdateWindow sets the updateWindow property value. The time window during which the agent can receive updates. func (m *HybridAgentUpdaterConfiguration) SetUpdateWindow(value UpdateWindowable)() { err := m.GetBackingStore().Set("updateWindow", value) 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_container.go b/models/identity_container.go index 42f42da5c8f..53ea63a9753 100644 --- a/models/identity_container.go +++ b/models/identity_container.go @@ -59,7 +59,7 @@ func (m *IdentityContainer) GetAuthenticationEventListeners()([]AuthenticationEv } return nil } -// GetAuthenticationEventsFlows gets the authenticationEventsFlows property value. Represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. +// GetAuthenticationEventsFlows gets the authenticationEventsFlows property value. Represents the entry point for self-service sign-up and sign-in user flows in both Microsoft Entra workforce and external tenants. // returns a []AuthenticationEventsFlowable when successful func (m *IdentityContainer) GetAuthenticationEventsFlows()([]AuthenticationEventsFlowable) { val, err := m.GetBackingStore().Get("authenticationEventsFlows") @@ -521,7 +521,7 @@ func (m *IdentityContainer) SetAuthenticationEventListeners(value []Authenticati panic(err) } } -// SetAuthenticationEventsFlows sets the authenticationEventsFlows property value. Represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. +// SetAuthenticationEventsFlows sets the authenticationEventsFlows property value. Represents the entry point for self-service sign-up and sign-in user flows in both Microsoft Entra workforce and external tenants. func (m *IdentityContainer) SetAuthenticationEventsFlows(value []AuthenticationEventsFlowable)() { err := m.GetBackingStore().Set("authenticationEventsFlows", value) if err != nil { diff --git a/models/identity_set.go b/models/identity_set.go index 749df189cbf..4f7bf6f9002 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. Optional. The application associated with this action. +// GetApplication gets the application property value. The Identity of the Application. This property is read-only. // 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. Optional. The device associated with this action. +// GetDevice gets the device property value. The Identity of the Device. This property is read-only. // 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. Optional. The user associated with this action. +// GetUser gets the user property value. The Identity of the User. This property is read-only. // 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. Optional. The application associated with this action. +// SetApplication sets the application property value. The Identity of the Application. This property is read-only. 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. Optional. The device associated with this action. +// SetDevice sets the device property value. The Identity of the Device. This property is read-only. 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. Optional. The user associated with this action. +// SetUser sets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/identitygovernance/insights.go b/models/identitygovernance/insights.go new file mode 100644 index 00000000000..9dbe2dfaaae --- /dev/null +++ b/models/identitygovernance/insights.go @@ -0,0 +1,40 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Insights struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewInsights instantiates a new Insights and sets the default values. +func NewInsights()(*Insights) { + m := &Insights{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateInsightsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInsightsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewInsights(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Insights) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *Insights) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type Insightsable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/identitygovernance/lifecycle_workflows_container.go b/models/identitygovernance/lifecycle_workflows_container.go index 8a76a5fcca9..e67fdee0706 100644 --- a/models/identitygovernance/lifecycle_workflows_container.go +++ b/models/identitygovernance/lifecycle_workflows_container.go @@ -74,6 +74,16 @@ func (m *LifecycleWorkflowsContainer) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["insights"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateInsightsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInsights(val.(Insightsable)) + } + return nil + } res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateLifecycleManagementSettingsFromDiscriminatorValue) if err != nil { @@ -134,6 +144,18 @@ func (m *LifecycleWorkflowsContainer) GetFieldDeserializers()(map[string]func(i8 } return res } +// GetInsights gets the insights property value. The insight container holding workflow insight summaries for a tenant. +// returns a Insightsable when successful +func (m *LifecycleWorkflowsContainer) GetInsights()(Insightsable) { + val, err := m.GetBackingStore().Get("insights") + if err != nil { + panic(err) + } + if val != nil { + return val.(Insightsable) + } + return nil +} // GetSettings gets the settings property value. The settings property // returns a LifecycleManagementSettingsable when successful func (m *LifecycleWorkflowsContainer) GetSettings()(LifecycleManagementSettingsable) { @@ -206,6 +228,12 @@ func (m *LifecycleWorkflowsContainer) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteObjectValue("insights", m.GetInsights()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("settings", m.GetSettings()) if err != nil { @@ -264,6 +292,13 @@ func (m *LifecycleWorkflowsContainer) SetDeletedItems(value ie233ee762e29b4ba697 panic(err) } } +// SetInsights sets the insights property value. The insight container holding workflow insight summaries for a tenant. +func (m *LifecycleWorkflowsContainer) SetInsights(value Insightsable)() { + err := m.GetBackingStore().Set("insights", value) + if err != nil { + panic(err) + } +} // SetSettings sets the settings property value. The settings property func (m *LifecycleWorkflowsContainer) SetSettings(value LifecycleManagementSettingsable)() { err := m.GetBackingStore().Set("settings", value) @@ -297,12 +332,14 @@ type LifecycleWorkflowsContainerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCustomTaskExtensions()([]CustomTaskExtensionable) GetDeletedItems()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedItemContainerable) + GetInsights()(Insightsable) GetSettings()(LifecycleManagementSettingsable) GetTaskDefinitions()([]TaskDefinitionable) GetWorkflows()([]Workflowable) GetWorkflowTemplates()([]WorkflowTemplateable) SetCustomTaskExtensions(value []CustomTaskExtensionable)() SetDeletedItems(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedItemContainerable)() + SetInsights(value Insightsable)() SetSettings(value LifecycleManagementSettingsable)() SetTaskDefinitions(value []TaskDefinitionable)() SetWorkflows(value []Workflowable)() diff --git a/models/identitygovernance/task_definition.go b/models/identitygovernance/task_definition.go index 58c567def10..276bf8294a4 100644 --- a/models/identitygovernance/task_definition.go +++ b/models/identitygovernance/task_definition.go @@ -32,7 +32,7 @@ func (m *TaskDefinition) GetCategory()(*LifecycleTaskCategory) { } return nil } -// GetContinueOnError gets the continueOnError property value. The continueOnError property +// GetContinueOnError gets the continueOnError property value. Defines if the workflow will continue if the task has an error. // returns a *bool when successful func (m *TaskDefinition) GetContinueOnError()(*bool) { val, err := m.GetBackingStore().Get("continueOnError") @@ -222,7 +222,7 @@ func (m *TaskDefinition) SetCategory(value *LifecycleTaskCategory)() { panic(err) } } -// SetContinueOnError sets the continueOnError property value. The continueOnError property +// SetContinueOnError sets the continueOnError property value. Defines if the workflow will continue if the task has an error. func (m *TaskDefinition) SetContinueOnError(value *bool)() { err := m.GetBackingStore().Set("continueOnError", value) if err != nil { diff --git a/models/identitygovernance/top_tasks_insights_summary.go b/models/identitygovernance/top_tasks_insights_summary.go new file mode 100644 index 00000000000..11e67bfe663 --- /dev/null +++ b/models/identitygovernance/top_tasks_insights_summary.go @@ -0,0 +1,409 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TopTasksInsightsSummary struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTopTasksInsightsSummary instantiates a new TopTasksInsightsSummary and sets the default values. +func NewTopTasksInsightsSummary()(*TopTasksInsightsSummary) { + m := &TopTasksInsightsSummary{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTopTasksInsightsSummaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTopTasksInsightsSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTopTasksInsightsSummary(), 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 *TopTasksInsightsSummary) 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 *TopTasksInsightsSummary) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFailedTasks gets the failedTasks property value. Count of failed runs of the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetFailedTasks()(*int32) { + val, err := m.GetBackingStore().Get("failedTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedUsers gets the failedUsers property value. Count of failed users who were processed by the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetFailedUsers()(*int32) { + val, err := m.GetBackingStore().Get("failedUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TopTasksInsightsSummary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["failedTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedTasks(val) + } + return nil + } + res["failedUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedUsers(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["successfulTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulTasks(val) + } + return nil + } + res["successfulUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulUsers(val) + } + return nil + } + res["taskDefinitionDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTaskDefinitionDisplayName(val) + } + return nil + } + res["taskDefinitionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTaskDefinitionId(val) + } + return nil + } + res["totalTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalTasks(val) + } + return nil + } + res["totalUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalUsers(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TopTasksInsightsSummary) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSuccessfulTasks gets the successfulTasks property value. Count of successful runs of the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetSuccessfulTasks()(*int32) { + val, err := m.GetBackingStore().Get("successfulTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulUsers gets the successfulUsers property value. Count of successful users processed by the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetSuccessfulUsers()(*int32) { + val, err := m.GetBackingStore().Get("successfulUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTaskDefinitionDisplayName gets the taskDefinitionDisplayName property value. The name of the task. +// returns a *string when successful +func (m *TopTasksInsightsSummary) GetTaskDefinitionDisplayName()(*string) { + val, err := m.GetBackingStore().Get("taskDefinitionDisplayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTaskDefinitionId gets the taskDefinitionId property value. The task ID. +// returns a *string when successful +func (m *TopTasksInsightsSummary) GetTaskDefinitionId()(*string) { + val, err := m.GetBackingStore().Get("taskDefinitionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotalTasks gets the totalTasks property value. Count of total runs of the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetTotalTasks()(*int32) { + val, err := m.GetBackingStore().Get("totalTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalUsers gets the totalUsers property value. Count of total users processed by the task. +// returns a *int32 when successful +func (m *TopTasksInsightsSummary) GetTotalUsers()(*int32) { + val, err := m.GetBackingStore().Get("totalUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *TopTasksInsightsSummary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("failedTasks", m.GetFailedTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedUsers", m.GetFailedUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulTasks", m.GetSuccessfulTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulUsers", m.GetSuccessfulUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("taskDefinitionDisplayName", m.GetTaskDefinitionDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("taskDefinitionId", m.GetTaskDefinitionId()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalTasks", m.GetTotalTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalUsers", m.GetTotalUsers()) + 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 *TopTasksInsightsSummary) 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 *TopTasksInsightsSummary) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFailedTasks sets the failedTasks property value. Count of failed runs of the task. +func (m *TopTasksInsightsSummary) SetFailedTasks(value *int32)() { + err := m.GetBackingStore().Set("failedTasks", value) + if err != nil { + panic(err) + } +} +// SetFailedUsers sets the failedUsers property value. Count of failed users who were processed by the task. +func (m *TopTasksInsightsSummary) SetFailedUsers(value *int32)() { + err := m.GetBackingStore().Set("failedUsers", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TopTasksInsightsSummary) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulTasks sets the successfulTasks property value. Count of successful runs of the task. +func (m *TopTasksInsightsSummary) SetSuccessfulTasks(value *int32)() { + err := m.GetBackingStore().Set("successfulTasks", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulUsers sets the successfulUsers property value. Count of successful users processed by the task. +func (m *TopTasksInsightsSummary) SetSuccessfulUsers(value *int32)() { + err := m.GetBackingStore().Set("successfulUsers", value) + if err != nil { + panic(err) + } +} +// SetTaskDefinitionDisplayName sets the taskDefinitionDisplayName property value. The name of the task. +func (m *TopTasksInsightsSummary) SetTaskDefinitionDisplayName(value *string)() { + err := m.GetBackingStore().Set("taskDefinitionDisplayName", value) + if err != nil { + panic(err) + } +} +// SetTaskDefinitionId sets the taskDefinitionId property value. The task ID. +func (m *TopTasksInsightsSummary) SetTaskDefinitionId(value *string)() { + err := m.GetBackingStore().Set("taskDefinitionId", value) + if err != nil { + panic(err) + } +} +// SetTotalTasks sets the totalTasks property value. Count of total runs of the task. +func (m *TopTasksInsightsSummary) SetTotalTasks(value *int32)() { + err := m.GetBackingStore().Set("totalTasks", value) + if err != nil { + panic(err) + } +} +// SetTotalUsers sets the totalUsers property value. Count of total users processed by the task. +func (m *TopTasksInsightsSummary) SetTotalUsers(value *int32)() { + err := m.GetBackingStore().Set("totalUsers", value) + if err != nil { + panic(err) + } +} +type TopTasksInsightsSummaryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFailedTasks()(*int32) + GetFailedUsers()(*int32) + GetOdataType()(*string) + GetSuccessfulTasks()(*int32) + GetSuccessfulUsers()(*int32) + GetTaskDefinitionDisplayName()(*string) + GetTaskDefinitionId()(*string) + GetTotalTasks()(*int32) + GetTotalUsers()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFailedTasks(value *int32)() + SetFailedUsers(value *int32)() + SetOdataType(value *string)() + SetSuccessfulTasks(value *int32)() + SetSuccessfulUsers(value *int32)() + SetTaskDefinitionDisplayName(value *string)() + SetTaskDefinitionId(value *string)() + SetTotalTasks(value *int32)() + SetTotalUsers(value *int32)() +} diff --git a/models/identitygovernance/top_workflows_insights_summary.go b/models/identitygovernance/top_workflows_insights_summary.go new file mode 100644 index 00000000000..321320f7bef --- /dev/null +++ b/models/identitygovernance/top_workflows_insights_summary.go @@ -0,0 +1,484 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TopWorkflowsInsightsSummary struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTopWorkflowsInsightsSummary instantiates a new TopWorkflowsInsightsSummary and sets the default values. +func NewTopWorkflowsInsightsSummary()(*TopWorkflowsInsightsSummary) { + m := &TopWorkflowsInsightsSummary{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTopWorkflowsInsightsSummaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTopWorkflowsInsightsSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTopWorkflowsInsightsSummary(), 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 *TopWorkflowsInsightsSummary) 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 *TopWorkflowsInsightsSummary) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFailedRuns gets the failedRuns property value. Count of failed runs for workflow. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetFailedRuns()(*int32) { + val, err := m.GetBackingStore().Get("failedRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedUsers gets the failedUsers property value. Count of failed users who were processed. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetFailedUsers()(*int32) { + val, err := m.GetBackingStore().Get("failedUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TopWorkflowsInsightsSummary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["failedRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedRuns(val) + } + return nil + } + res["failedUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedUsers(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["successfulRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulRuns(val) + } + return nil + } + res["successfulUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulUsers(val) + } + return nil + } + res["totalRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRuns(val) + } + return nil + } + res["totalUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalUsers(val) + } + return nil + } + res["workflowCategory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseLifecycleWorkflowCategory) + if err != nil { + return err + } + if val != nil { + m.SetWorkflowCategory(val.(*LifecycleWorkflowCategory)) + } + return nil + } + res["workflowDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWorkflowDisplayName(val) + } + return nil + } + res["workflowId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWorkflowId(val) + } + return nil + } + res["workflowVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetWorkflowVersion(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TopWorkflowsInsightsSummary) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSuccessfulRuns gets the successfulRuns property value. Count of successful runs of the workflow. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetSuccessfulRuns()(*int32) { + val, err := m.GetBackingStore().Get("successfulRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulUsers gets the successfulUsers property value. Count of successful users processed by the workflow. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetSuccessfulUsers()(*int32) { + val, err := m.GetBackingStore().Get("successfulUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalRuns gets the totalRuns property value. Count of total runs of workflow. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetTotalRuns()(*int32) { + val, err := m.GetBackingStore().Get("totalRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalUsers gets the totalUsers property value. Total number of users processed by the workflow. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetTotalUsers()(*int32) { + val, err := m.GetBackingStore().Get("totalUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetWorkflowCategory gets the workflowCategory property value. The workflowCategory property +// returns a *LifecycleWorkflowCategory when successful +func (m *TopWorkflowsInsightsSummary) GetWorkflowCategory()(*LifecycleWorkflowCategory) { + val, err := m.GetBackingStore().Get("workflowCategory") + if err != nil { + panic(err) + } + if val != nil { + return val.(*LifecycleWorkflowCategory) + } + return nil +} +// GetWorkflowDisplayName gets the workflowDisplayName property value. The name of the workflow. +// returns a *string when successful +func (m *TopWorkflowsInsightsSummary) GetWorkflowDisplayName()(*string) { + val, err := m.GetBackingStore().Get("workflowDisplayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkflowId gets the workflowId property value. The workflow ID. +// returns a *string when successful +func (m *TopWorkflowsInsightsSummary) GetWorkflowId()(*string) { + val, err := m.GetBackingStore().Get("workflowId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWorkflowVersion gets the workflowVersion property value. The version of the workflow that was a top workflow ran. +// returns a *int32 when successful +func (m *TopWorkflowsInsightsSummary) GetWorkflowVersion()(*int32) { + val, err := m.GetBackingStore().Get("workflowVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *TopWorkflowsInsightsSummary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("failedRuns", m.GetFailedRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedUsers", m.GetFailedUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulRuns", m.GetSuccessfulRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulUsers", m.GetSuccessfulUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalRuns", m.GetTotalRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalUsers", m.GetTotalUsers()) + if err != nil { + return err + } + } + if m.GetWorkflowCategory() != nil { + cast := (*m.GetWorkflowCategory()).String() + err := writer.WriteStringValue("workflowCategory", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("workflowDisplayName", m.GetWorkflowDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("workflowId", m.GetWorkflowId()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("workflowVersion", m.GetWorkflowVersion()) + 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 *TopWorkflowsInsightsSummary) 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 *TopWorkflowsInsightsSummary) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFailedRuns sets the failedRuns property value. Count of failed runs for workflow. +func (m *TopWorkflowsInsightsSummary) SetFailedRuns(value *int32)() { + err := m.GetBackingStore().Set("failedRuns", value) + if err != nil { + panic(err) + } +} +// SetFailedUsers sets the failedUsers property value. Count of failed users who were processed. +func (m *TopWorkflowsInsightsSummary) SetFailedUsers(value *int32)() { + err := m.GetBackingStore().Set("failedUsers", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TopWorkflowsInsightsSummary) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulRuns sets the successfulRuns property value. Count of successful runs of the workflow. +func (m *TopWorkflowsInsightsSummary) SetSuccessfulRuns(value *int32)() { + err := m.GetBackingStore().Set("successfulRuns", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulUsers sets the successfulUsers property value. Count of successful users processed by the workflow. +func (m *TopWorkflowsInsightsSummary) SetSuccessfulUsers(value *int32)() { + err := m.GetBackingStore().Set("successfulUsers", value) + if err != nil { + panic(err) + } +} +// SetTotalRuns sets the totalRuns property value. Count of total runs of workflow. +func (m *TopWorkflowsInsightsSummary) SetTotalRuns(value *int32)() { + err := m.GetBackingStore().Set("totalRuns", value) + if err != nil { + panic(err) + } +} +// SetTotalUsers sets the totalUsers property value. Total number of users processed by the workflow. +func (m *TopWorkflowsInsightsSummary) SetTotalUsers(value *int32)() { + err := m.GetBackingStore().Set("totalUsers", value) + if err != nil { + panic(err) + } +} +// SetWorkflowCategory sets the workflowCategory property value. The workflowCategory property +func (m *TopWorkflowsInsightsSummary) SetWorkflowCategory(value *LifecycleWorkflowCategory)() { + err := m.GetBackingStore().Set("workflowCategory", value) + if err != nil { + panic(err) + } +} +// SetWorkflowDisplayName sets the workflowDisplayName property value. The name of the workflow. +func (m *TopWorkflowsInsightsSummary) SetWorkflowDisplayName(value *string)() { + err := m.GetBackingStore().Set("workflowDisplayName", value) + if err != nil { + panic(err) + } +} +// SetWorkflowId sets the workflowId property value. The workflow ID. +func (m *TopWorkflowsInsightsSummary) SetWorkflowId(value *string)() { + err := m.GetBackingStore().Set("workflowId", value) + if err != nil { + panic(err) + } +} +// SetWorkflowVersion sets the workflowVersion property value. The version of the workflow that was a top workflow ran. +func (m *TopWorkflowsInsightsSummary) SetWorkflowVersion(value *int32)() { + err := m.GetBackingStore().Set("workflowVersion", value) + if err != nil { + panic(err) + } +} +type TopWorkflowsInsightsSummaryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFailedRuns()(*int32) + GetFailedUsers()(*int32) + GetOdataType()(*string) + GetSuccessfulRuns()(*int32) + GetSuccessfulUsers()(*int32) + GetTotalRuns()(*int32) + GetTotalUsers()(*int32) + GetWorkflowCategory()(*LifecycleWorkflowCategory) + GetWorkflowDisplayName()(*string) + GetWorkflowId()(*string) + GetWorkflowVersion()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFailedRuns(value *int32)() + SetFailedUsers(value *int32)() + SetOdataType(value *string)() + SetSuccessfulRuns(value *int32)() + SetSuccessfulUsers(value *int32)() + SetTotalRuns(value *int32)() + SetTotalUsers(value *int32)() + SetWorkflowCategory(value *LifecycleWorkflowCategory)() + SetWorkflowDisplayName(value *string)() + SetWorkflowId(value *string)() + SetWorkflowVersion(value *int32)() +} diff --git a/models/identitygovernance/workflows_insights_by_category.go b/models/identitygovernance/workflows_insights_by_category.go new file mode 100644 index 00000000000..8c474a47fbf --- /dev/null +++ b/models/identitygovernance/workflows_insights_by_category.go @@ -0,0 +1,446 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WorkflowsInsightsByCategory struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWorkflowsInsightsByCategory instantiates a new WorkflowsInsightsByCategory and sets the default values. +func NewWorkflowsInsightsByCategory()(*WorkflowsInsightsByCategory) { + m := &WorkflowsInsightsByCategory{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWorkflowsInsightsByCategoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkflowsInsightsByCategoryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkflowsInsightsByCategory(), 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 *WorkflowsInsightsByCategory) 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 *WorkflowsInsightsByCategory) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFailedJoinerRuns gets the failedJoinerRuns property value. Failed 'Joiner' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetFailedJoinerRuns()(*int32) { + val, err := m.GetBackingStore().Get("failedJoinerRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedLeaverRuns gets the failedLeaverRuns property value. Failed 'Leaver' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetFailedLeaverRuns()(*int32) { + val, err := m.GetBackingStore().Get("failedLeaverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedMoverRuns gets the failedMoverRuns property value. Failed 'Mover' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetFailedMoverRuns()(*int32) { + val, err := m.GetBackingStore().Get("failedMoverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkflowsInsightsByCategory) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["failedJoinerRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedJoinerRuns(val) + } + return nil + } + res["failedLeaverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedLeaverRuns(val) + } + return nil + } + res["failedMoverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedMoverRuns(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["successfulJoinerRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulJoinerRuns(val) + } + return nil + } + res["successfulLeaverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulLeaverRuns(val) + } + return nil + } + res["successfulMoverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulMoverRuns(val) + } + return nil + } + res["totalJoinerRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalJoinerRuns(val) + } + return nil + } + res["totalLeaverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalLeaverRuns(val) + } + return nil + } + res["totalMoverRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalMoverRuns(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WorkflowsInsightsByCategory) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSuccessfulJoinerRuns gets the successfulJoinerRuns property value. Successful 'Joiner' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetSuccessfulJoinerRuns()(*int32) { + val, err := m.GetBackingStore().Get("successfulJoinerRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulLeaverRuns gets the successfulLeaverRuns property value. Successful 'Leaver' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetSuccessfulLeaverRuns()(*int32) { + val, err := m.GetBackingStore().Get("successfulLeaverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulMoverRuns gets the successfulMoverRuns property value. Successful 'Mover' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetSuccessfulMoverRuns()(*int32) { + val, err := m.GetBackingStore().Get("successfulMoverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalJoinerRuns gets the totalJoinerRuns property value. Total 'Joiner' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetTotalJoinerRuns()(*int32) { + val, err := m.GetBackingStore().Get("totalJoinerRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalLeaverRuns gets the totalLeaverRuns property value. Total 'Leaver' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetTotalLeaverRuns()(*int32) { + val, err := m.GetBackingStore().Get("totalLeaverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalMoverRuns gets the totalMoverRuns property value. Total 'Mover' workflows processed in a tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsByCategory) GetTotalMoverRuns()(*int32) { + val, err := m.GetBackingStore().Get("totalMoverRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkflowsInsightsByCategory) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("failedJoinerRuns", m.GetFailedJoinerRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedLeaverRuns", m.GetFailedLeaverRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedMoverRuns", m.GetFailedMoverRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulJoinerRuns", m.GetSuccessfulJoinerRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulLeaverRuns", m.GetSuccessfulLeaverRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulMoverRuns", m.GetSuccessfulMoverRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalJoinerRuns", m.GetTotalJoinerRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalLeaverRuns", m.GetTotalLeaverRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalMoverRuns", m.GetTotalMoverRuns()) + 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 *WorkflowsInsightsByCategory) 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 *WorkflowsInsightsByCategory) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFailedJoinerRuns sets the failedJoinerRuns property value. Failed 'Joiner' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetFailedJoinerRuns(value *int32)() { + err := m.GetBackingStore().Set("failedJoinerRuns", value) + if err != nil { + panic(err) + } +} +// SetFailedLeaverRuns sets the failedLeaverRuns property value. Failed 'Leaver' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetFailedLeaverRuns(value *int32)() { + err := m.GetBackingStore().Set("failedLeaverRuns", value) + if err != nil { + panic(err) + } +} +// SetFailedMoverRuns sets the failedMoverRuns property value. Failed 'Mover' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetFailedMoverRuns(value *int32)() { + err := m.GetBackingStore().Set("failedMoverRuns", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WorkflowsInsightsByCategory) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulJoinerRuns sets the successfulJoinerRuns property value. Successful 'Joiner' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetSuccessfulJoinerRuns(value *int32)() { + err := m.GetBackingStore().Set("successfulJoinerRuns", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulLeaverRuns sets the successfulLeaverRuns property value. Successful 'Leaver' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetSuccessfulLeaverRuns(value *int32)() { + err := m.GetBackingStore().Set("successfulLeaverRuns", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulMoverRuns sets the successfulMoverRuns property value. Successful 'Mover' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetSuccessfulMoverRuns(value *int32)() { + err := m.GetBackingStore().Set("successfulMoverRuns", value) + if err != nil { + panic(err) + } +} +// SetTotalJoinerRuns sets the totalJoinerRuns property value. Total 'Joiner' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetTotalJoinerRuns(value *int32)() { + err := m.GetBackingStore().Set("totalJoinerRuns", value) + if err != nil { + panic(err) + } +} +// SetTotalLeaverRuns sets the totalLeaverRuns property value. Total 'Leaver' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetTotalLeaverRuns(value *int32)() { + err := m.GetBackingStore().Set("totalLeaverRuns", value) + if err != nil { + panic(err) + } +} +// SetTotalMoverRuns sets the totalMoverRuns property value. Total 'Mover' workflows processed in a tenant. +func (m *WorkflowsInsightsByCategory) SetTotalMoverRuns(value *int32)() { + err := m.GetBackingStore().Set("totalMoverRuns", value) + if err != nil { + panic(err) + } +} +type WorkflowsInsightsByCategoryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFailedJoinerRuns()(*int32) + GetFailedLeaverRuns()(*int32) + GetFailedMoverRuns()(*int32) + GetOdataType()(*string) + GetSuccessfulJoinerRuns()(*int32) + GetSuccessfulLeaverRuns()(*int32) + GetSuccessfulMoverRuns()(*int32) + GetTotalJoinerRuns()(*int32) + GetTotalLeaverRuns()(*int32) + GetTotalMoverRuns()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFailedJoinerRuns(value *int32)() + SetFailedLeaverRuns(value *int32)() + SetFailedMoverRuns(value *int32)() + SetOdataType(value *string)() + SetSuccessfulJoinerRuns(value *int32)() + SetSuccessfulLeaverRuns(value *int32)() + SetSuccessfulMoverRuns(value *int32)() + SetTotalJoinerRuns(value *int32)() + SetTotalLeaverRuns(value *int32)() + SetTotalMoverRuns(value *int32)() +} diff --git a/models/identitygovernance/workflows_insights_summary.go b/models/identitygovernance/workflows_insights_summary.go new file mode 100644 index 00000000000..a086feec646 --- /dev/null +++ b/models/identitygovernance/workflows_insights_summary.go @@ -0,0 +1,446 @@ +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type WorkflowsInsightsSummary struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewWorkflowsInsightsSummary instantiates a new WorkflowsInsightsSummary and sets the default values. +func NewWorkflowsInsightsSummary()(*WorkflowsInsightsSummary) { + m := &WorkflowsInsightsSummary{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateWorkflowsInsightsSummaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkflowsInsightsSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkflowsInsightsSummary(), 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 *WorkflowsInsightsSummary) 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 *WorkflowsInsightsSummary) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFailedRuns gets the failedRuns property value. Count of failed workflow runs processed in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetFailedRuns()(*int32) { + val, err := m.GetBackingStore().Get("failedRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedTasks gets the failedTasks property value. Count of failed tasks processed in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetFailedTasks()(*int32) { + val, err := m.GetBackingStore().Get("failedTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFailedUsers gets the failedUsers property value. Count of failed users processed by workflows in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetFailedUsers()(*int32) { + val, err := m.GetBackingStore().Get("failedUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkflowsInsightsSummary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["failedRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedRuns(val) + } + return nil + } + res["failedTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedTasks(val) + } + return nil + } + res["failedUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFailedUsers(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["successfulRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulRuns(val) + } + return nil + } + res["successfulTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulTasks(val) + } + return nil + } + res["successfulUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSuccessfulUsers(val) + } + return nil + } + res["totalRuns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRuns(val) + } + return nil + } + res["totalTasks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalTasks(val) + } + return nil + } + res["totalUsers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalUsers(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *WorkflowsInsightsSummary) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSuccessfulRuns gets the successfulRuns property value. Count of successful workflow runs processed in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetSuccessfulRuns()(*int32) { + val, err := m.GetBackingStore().Get("successfulRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulTasks gets the successfulTasks property value. Count of successful tasks processed in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetSuccessfulTasks()(*int32) { + val, err := m.GetBackingStore().Get("successfulTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSuccessfulUsers gets the successfulUsers property value. Count of successful users processed by workflows in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetSuccessfulUsers()(*int32) { + val, err := m.GetBackingStore().Get("successfulUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalRuns gets the totalRuns property value. Count of total workflows processed in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetTotalRuns()(*int32) { + val, err := m.GetBackingStore().Get("totalRuns") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalTasks gets the totalTasks property value. Count of total tasks processed by workflows in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetTotalTasks()(*int32) { + val, err := m.GetBackingStore().Get("totalTasks") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalUsers gets the totalUsers property value. Count of total users processed by workflows in the tenant. +// returns a *int32 when successful +func (m *WorkflowsInsightsSummary) GetTotalUsers()(*int32) { + val, err := m.GetBackingStore().Get("totalUsers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkflowsInsightsSummary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("failedRuns", m.GetFailedRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedTasks", m.GetFailedTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("failedUsers", m.GetFailedUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulRuns", m.GetSuccessfulRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulTasks", m.GetSuccessfulTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("successfulUsers", m.GetSuccessfulUsers()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalRuns", m.GetTotalRuns()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalTasks", m.GetTotalTasks()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("totalUsers", m.GetTotalUsers()) + 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 *WorkflowsInsightsSummary) 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 *WorkflowsInsightsSummary) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFailedRuns sets the failedRuns property value. Count of failed workflow runs processed in the tenant. +func (m *WorkflowsInsightsSummary) SetFailedRuns(value *int32)() { + err := m.GetBackingStore().Set("failedRuns", value) + if err != nil { + panic(err) + } +} +// SetFailedTasks sets the failedTasks property value. Count of failed tasks processed in the tenant. +func (m *WorkflowsInsightsSummary) SetFailedTasks(value *int32)() { + err := m.GetBackingStore().Set("failedTasks", value) + if err != nil { + panic(err) + } +} +// SetFailedUsers sets the failedUsers property value. Count of failed users processed by workflows in the tenant. +func (m *WorkflowsInsightsSummary) SetFailedUsers(value *int32)() { + err := m.GetBackingStore().Set("failedUsers", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *WorkflowsInsightsSummary) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulRuns sets the successfulRuns property value. Count of successful workflow runs processed in the tenant. +func (m *WorkflowsInsightsSummary) SetSuccessfulRuns(value *int32)() { + err := m.GetBackingStore().Set("successfulRuns", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulTasks sets the successfulTasks property value. Count of successful tasks processed in the tenant. +func (m *WorkflowsInsightsSummary) SetSuccessfulTasks(value *int32)() { + err := m.GetBackingStore().Set("successfulTasks", value) + if err != nil { + panic(err) + } +} +// SetSuccessfulUsers sets the successfulUsers property value. Count of successful users processed by workflows in the tenant. +func (m *WorkflowsInsightsSummary) SetSuccessfulUsers(value *int32)() { + err := m.GetBackingStore().Set("successfulUsers", value) + if err != nil { + panic(err) + } +} +// SetTotalRuns sets the totalRuns property value. Count of total workflows processed in the tenant. +func (m *WorkflowsInsightsSummary) SetTotalRuns(value *int32)() { + err := m.GetBackingStore().Set("totalRuns", value) + if err != nil { + panic(err) + } +} +// SetTotalTasks sets the totalTasks property value. Count of total tasks processed by workflows in the tenant. +func (m *WorkflowsInsightsSummary) SetTotalTasks(value *int32)() { + err := m.GetBackingStore().Set("totalTasks", value) + if err != nil { + panic(err) + } +} +// SetTotalUsers sets the totalUsers property value. Count of total users processed by workflows in the tenant. +func (m *WorkflowsInsightsSummary) SetTotalUsers(value *int32)() { + err := m.GetBackingStore().Set("totalUsers", value) + if err != nil { + panic(err) + } +} +type WorkflowsInsightsSummaryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFailedRuns()(*int32) + GetFailedTasks()(*int32) + GetFailedUsers()(*int32) + GetOdataType()(*string) + GetSuccessfulRuns()(*int32) + GetSuccessfulTasks()(*int32) + GetSuccessfulUsers()(*int32) + GetTotalRuns()(*int32) + GetTotalTasks()(*int32) + GetTotalUsers()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFailedRuns(value *int32)() + SetFailedTasks(value *int32)() + SetFailedUsers(value *int32)() + SetOdataType(value *string)() + SetSuccessfulRuns(value *int32)() + SetSuccessfulTasks(value *int32)() + SetSuccessfulUsers(value *int32)() + SetTotalRuns(value *int32)() + SetTotalTasks(value *int32)() + SetTotalUsers(value *int32)() +} diff --git a/models/ios_lob_app_provisioning_configuration.go b/models/ios_lob_app_provisioning_configuration.go index 4c72c8d7e93..762ebf06ff5 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. +// 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. // 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. +// 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. // 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. +// 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. 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. +// 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. func (m *IosLobAppProvisioningConfiguration) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { diff --git a/models/ip_application_segment.go b/models/ip_application_segment.go index 63b5bf6a16d..98d1350d071 100644 --- a/models/ip_application_segment.go +++ b/models/ip_application_segment.go @@ -21,6 +21,18 @@ func NewIpApplicationSegment()(*IpApplicationSegment) { func CreateIpApplicationSegmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewIpApplicationSegment(), nil } +// GetApplication gets the application property value. The application property +// returns a Applicationable when successful +func (m *IpApplicationSegment) GetApplication()(Applicationable) { + val, err := m.GetBackingStore().Get("application") + if err != nil { + panic(err) + } + if val != nil { + return val.(Applicationable) + } + return nil +} // GetDestinationHost gets the destinationHost property value. The destinationHost property // returns a *string when successful func (m *IpApplicationSegment) GetDestinationHost()(*string) { @@ -49,6 +61,16 @@ func (m *IpApplicationSegment) GetDestinationType()(*PrivateNetworkDestinationTy // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *IpApplicationSegment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.ApplicationSegment.GetFieldDeserializers() + res["application"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateApplicationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetApplication(val.(Applicationable)) + } + return nil + } res["destinationHost"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -149,6 +171,12 @@ func (m *IpApplicationSegment) Serialize(writer i878a80d2330e89d26896388a3f487ee if err != nil { return err } + { + err = writer.WriteObjectValue("application", m.GetApplication()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("destinationHost", m.GetDestinationHost()) if err != nil { @@ -183,6 +211,13 @@ func (m *IpApplicationSegment) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } +// SetApplication sets the application property value. The application property +func (m *IpApplicationSegment) SetApplication(value Applicationable)() { + err := m.GetBackingStore().Set("application", value) + if err != nil { + panic(err) + } +} // SetDestinationHost sets the destinationHost property value. The destinationHost property func (m *IpApplicationSegment) SetDestinationHost(value *string)() { err := m.GetBackingStore().Set("destinationHost", value) @@ -221,11 +256,13 @@ func (m *IpApplicationSegment) SetProtocol(value *PrivateNetworkProtocol)() { type IpApplicationSegmentable interface { ApplicationSegmentable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplication()(Applicationable) GetDestinationHost()(*string) GetDestinationType()(*PrivateNetworkDestinationType) GetPort()(*int32) GetPorts()([]string) GetProtocol()(*PrivateNetworkProtocol) + SetApplication(value Applicationable)() SetDestinationHost(value *string)() SetDestinationType(value *PrivateNetworkDestinationType)() SetPort(value *int32)() diff --git a/models/ip_application_segment_collection_response.go b/models/ip_application_segment_collection_response.go new file mode 100644 index 00000000000..de3cc21282f --- /dev/null +++ b/models/ip_application_segment_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type IpApplicationSegmentCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewIpApplicationSegmentCollectionResponse instantiates a new IpApplicationSegmentCollectionResponse and sets the default values. +func NewIpApplicationSegmentCollectionResponse()(*IpApplicationSegmentCollectionResponse) { + m := &IpApplicationSegmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateIpApplicationSegmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIpApplicationSegmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIpApplicationSegmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IpApplicationSegmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIpApplicationSegmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IpApplicationSegmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IpApplicationSegmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []IpApplicationSegmentable when successful +func (m *IpApplicationSegmentCollectionResponse) GetValue()([]IpApplicationSegmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IpApplicationSegmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *IpApplicationSegmentCollectionResponse) 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 *IpApplicationSegmentCollectionResponse) SetValue(value []IpApplicationSegmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type IpApplicationSegmentCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]IpApplicationSegmentable) + SetValue(value []IpApplicationSegmentable)() +} diff --git a/models/item_facet.go b/models/item_facet.go index dda1c017d94..c4d326f8249 100644 --- a/models/item_facet.go +++ b/models/item_facet.go @@ -274,7 +274,7 @@ func (m *ItemFacet) GetSource()(PersonDataSourcesable) { } return nil } -// GetSources gets the sources property value. The sources property +// GetSources gets the sources property value. Where the values within an entity originated if synced from another source. // returns a []ProfileSourceAnnotationable when successful func (m *ItemFacet) GetSources()([]ProfileSourceAnnotationable) { val, err := m.GetBackingStore().Get("sources") @@ -411,7 +411,7 @@ func (m *ItemFacet) SetSource(value PersonDataSourcesable)() { panic(err) } } -// SetSources sets the sources property value. The sources property +// SetSources sets the sources property value. Where the values within an entity originated if synced from another source. func (m *ItemFacet) SetSources(value []ProfileSourceAnnotationable)() { err := m.GetBackingStore().Set("sources", value) if err != nil { diff --git a/models/join_transformation.go b/models/join_transformation.go index 5414aca0c5c..48147f998b2 100644 --- a/models/join_transformation.go +++ b/models/join_transformation.go @@ -59,7 +59,7 @@ func (m *JoinTransformation) GetInput2()(TransformationAttributeable) { } return nil } -// GetSeparator gets the separator property value. The separator property +// GetSeparator gets the separator property value. The separator value to be used. // returns a *string when successful func (m *JoinTransformation) GetSeparator()(*string) { val, err := m.GetBackingStore().Get("separator") @@ -98,7 +98,7 @@ func (m *JoinTransformation) SetInput2(value TransformationAttributeable)() { panic(err) } } -// SetSeparator sets the separator property value. The separator property +// SetSeparator sets the separator property value. The separator value to be used. func (m *JoinTransformation) SetSeparator(value *string)() { err := m.GetBackingStore().Set("separator", value) if err != nil { diff --git a/models/key_credential_configuration.go b/models/key_credential_configuration.go index 6971b193fb4..6f1c2eafd88 100644 --- a/models/key_credential_configuration.go +++ b/models/key_credential_configuration.go @@ -115,7 +115,7 @@ func (m *KeyCredentialConfiguration) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetMaxLifetime gets the maxLifetime property value. The maxLifetime property +// GetMaxLifetime gets the maxLifetime property value. Value that can be used as the maximum duration in days, hours, minutes, or seconds from the date of key creation, for which the key is valid. Defined in ISO 8601 format for Durations. For example, P4DT12H30M5S represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. // returns a *ISODuration when successful func (m *KeyCredentialConfiguration) GetMaxLifetime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxLifetime") @@ -222,7 +222,7 @@ func (m *KeyCredentialConfiguration) SetCertificateBasedApplicationConfiguration panic(err) } } -// SetMaxLifetime sets the maxLifetime property value. The maxLifetime property +// SetMaxLifetime sets the maxLifetime property value. Value that can be used as the maximum duration in days, hours, minutes, or seconds from the date of key creation, for which the key is valid. Defined in ISO 8601 format for Durations. For example, P4DT12H30M5S represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. func (m *KeyCredentialConfiguration) SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxLifetime", value) if err != nil { diff --git a/models/learning_course_activity.go b/models/learning_course_activity.go index bb50a34aac7..d7d075ed563 100644 --- a/models/learning_course_activity.go +++ b/models/learning_course_activity.go @@ -64,7 +64,7 @@ func (m *LearningCourseActivity) GetCompletionPercentage()(*int32) { } return nil } -// GetExternalcourseActivityId gets the externalcourseActivityId property value. A course activity ID generated by the provider. Optional. +// GetExternalcourseActivityId gets the externalcourseActivityId property value. The externalcourseActivityId property // returns a *string when successful func (m *LearningCourseActivity) GetExternalcourseActivityId()(*string) { val, err := m.GetBackingStore().Get("externalcourseActivityId") @@ -265,7 +265,7 @@ func (m *LearningCourseActivity) SetCompletionPercentage(value *int32)() { panic(err) } } -// SetExternalcourseActivityId sets the externalcourseActivityId property value. A course activity ID generated by the provider. Optional. +// SetExternalcourseActivityId sets the externalcourseActivityId property value. The externalcourseActivityId property func (m *LearningCourseActivity) SetExternalcourseActivityId(value *string)() { err := m.GetBackingStore().Set("externalcourseActivityId", value) if err != nil { diff --git a/models/media_config.go b/models/media_config.go index 0ceb4ca317a..3d6a8768670 100644 --- a/models/media_config.go +++ b/models/media_config.go @@ -98,7 +98,7 @@ func (m *MediaConfig) GetOdataType()(*string) { } return nil } -// GetRemoveFromDefaultAudioGroup gets the removeFromDefaultAudioGroup property value. The removeFromDefaultAudioGroup property +// GetRemoveFromDefaultAudioGroup gets the removeFromDefaultAudioGroup property value. Remove media from the default audio group. // returns a *bool when successful func (m *MediaConfig) GetRemoveFromDefaultAudioGroup()(*bool) { val, err := m.GetBackingStore().Get("removeFromDefaultAudioGroup") @@ -150,7 +150,7 @@ func (m *MediaConfig) SetOdataType(value *string)() { panic(err) } } -// SetRemoveFromDefaultAudioGroup sets the removeFromDefaultAudioGroup property value. The removeFromDefaultAudioGroup property +// SetRemoveFromDefaultAudioGroup sets the removeFromDefaultAudioGroup property value. Remove media from the default audio group. func (m *MediaConfig) SetRemoveFromDefaultAudioGroup(value *bool)() { err := m.GetBackingStore().Set("removeFromDefaultAudioGroup", value) if err != nil { diff --git a/models/meeting_participants.go b/models/meeting_participants.go index 7dcbb7595c6..095f7288fc0 100644 --- a/models/meeting_participants.go +++ b/models/meeting_participants.go @@ -52,7 +52,7 @@ func (m *MeetingParticipants) GetAttendees()([]MeetingParticipantInfoable) { func (m *MeetingParticipants) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContributors gets the contributors property value. The contributors property +// GetContributors gets the contributors property value. For broadcast meeting only. // returns a []MeetingParticipantInfoable when successful func (m *MeetingParticipants) GetContributors()([]MeetingParticipantInfoable) { val, err := m.GetBackingStore().Get("contributors") @@ -162,7 +162,7 @@ func (m *MeetingParticipants) GetOrganizer()(MeetingParticipantInfoable) { } return nil } -// GetProducers gets the producers property value. The producers property +// GetProducers gets the producers property value. For broadcast meeting only. // returns a []MeetingParticipantInfoable when successful func (m *MeetingParticipants) GetProducers()([]MeetingParticipantInfoable) { val, err := m.GetBackingStore().Get("producers") @@ -250,7 +250,7 @@ func (m *MeetingParticipants) SetAttendees(value []MeetingParticipantInfoable)() func (m *MeetingParticipants) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContributors sets the contributors property value. The contributors property +// SetContributors sets the contributors property value. For broadcast meeting only. func (m *MeetingParticipants) SetContributors(value []MeetingParticipantInfoable)() { err := m.GetBackingStore().Set("contributors", value) if err != nil { @@ -271,7 +271,7 @@ func (m *MeetingParticipants) SetOrganizer(value MeetingParticipantInfoable)() { panic(err) } } -// SetProducers sets the producers property value. The producers property +// SetProducers sets the producers property value. For broadcast meeting only. func (m *MeetingParticipants) SetProducers(value []MeetingParticipantInfoable)() { err := m.GetBackingStore().Set("producers", value) if err != nil { diff --git a/models/microsoft_managed_desktop.go b/models/microsoft_managed_desktop.go index 0e4463f15ed..77cad77a4f9 100644 --- a/models/microsoft_managed_desktop.go +++ b/models/microsoft_managed_desktop.go @@ -122,7 +122,7 @@ func (m *MicrosoftManagedDesktop) GetProfile()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. Indicates whether the provisioning policy enables Microsoft Managed Desktop and, if enabled, specifies the type of plan managing the device. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The type property is deprecated and will stop returning data on January 31, 2024. Going forward, use the managedType property. // returns a *MicrosoftManagedDesktopType when successful func (m *MicrosoftManagedDesktop) GetTypeEscaped()(*MicrosoftManagedDesktopType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -202,7 +202,7 @@ func (m *MicrosoftManagedDesktop) SetProfile(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. Indicates whether the provisioning policy enables Microsoft Managed Desktop and, if enabled, specifies the type of plan managing the device. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. The type property is deprecated and will stop returning data on January 31, 2024. Going forward, use the managedType property. func (m *MicrosoftManagedDesktop) SetTypeEscaped(value *MicrosoftManagedDesktopType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/mobile_app.go b/models/mobile_app.go index 9d4b6d04b34..8e1ccc1f51c 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. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. // 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. +// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. // 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. +// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. // 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. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. // 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. List of relationships for this mobile app. +// GetRelationships gets the relationships property value. The set of direct relationships for this 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. +// GetUploadState gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. // 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. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. 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. +// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. 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. +// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. 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. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. 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. List of relationships for this mobile app. +// SetRelationships sets the relationships property value. The set of direct relationships for this 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. +// SetUploadState sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. func (m *MobileApp) SetUploadState(value *int32)() { err := m.GetBackingStore().Set("uploadState", value) if err != nil { diff --git a/models/networkaccess/bgp_configuration.go b/models/networkaccess/bgp_configuration.go index 4987ece5f33..e370aaeaf3e 100644 --- a/models/networkaccess/bgp_configuration.go +++ b/models/networkaccess/bgp_configuration.go @@ -108,7 +108,7 @@ func (m *BgpConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetIpAddress gets the ipAddress property value. The ipAddress property +// GetIpAddress gets the ipAddress property value. Specifies the BGP IP address. // returns a *string when successful func (m *BgpConfiguration) GetIpAddress()(*string) { val, err := m.GetBackingStore().Get("ipAddress") @@ -214,7 +214,7 @@ func (m *BgpConfiguration) SetAsn(value *int32)() { func (m *BgpConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIpAddress sets the ipAddress property value. The ipAddress property +// SetIpAddress sets the ipAddress property value. Specifies the BGP IP address. func (m *BgpConfiguration) SetIpAddress(value *string)() { err := m.GetBackingStore().Set("ipAddress", value) if err != nil { diff --git a/models/networkaccess/branch_site.go b/models/networkaccess/branch_site.go index f5e3ee5d6c6..0395eb0a0a6 100644 --- a/models/networkaccess/branch_site.go +++ b/models/networkaccess/branch_site.go @@ -57,7 +57,7 @@ func (m *BranchSite) GetConnectivityState()(*ConnectivityState) { } return nil } -// GetCountry gets the country property value. The country property +// GetCountry gets the country property value. The branch site is created in the specified country. DO NOT USE. // returns a *string when successful func (m *BranchSite) GetCountry()(*string) { val, err := m.GetBackingStore().Get("country") @@ -362,7 +362,7 @@ func (m *BranchSite) SetConnectivityState(value *ConnectivityState)() { panic(err) } } -// SetCountry sets the country property value. The country property +// SetCountry sets the country property value. The branch site is created in the specified country. DO NOT USE. func (m *BranchSite) SetCountry(value *string)() { err := m.GetBackingStore().Set("country", value) if err != nil { diff --git a/models/networkaccess/cross_tenant_summary.go b/models/networkaccess/cross_tenant_summary.go index b46c8f44468..c7880ca638c 100644 --- a/models/networkaccess/cross_tenant_summary.go +++ b/models/networkaccess/cross_tenant_summary.go @@ -164,7 +164,7 @@ func (m *CrossTenantSummary) GetOdataType()(*string) { } return nil } -// GetRarelyUsedTenantCount gets the rarelyUsedTenantCount property value. The rarelyUsedTenantCount property +// GetRarelyUsedTenantCount gets the rarelyUsedTenantCount property value. The number of tenants that are rarely used. // returns a *int32 when successful func (m *CrossTenantSummary) GetRarelyUsedTenantCount()(*int32) { val, err := m.GetBackingStore().Get("rarelyUsedTenantCount") @@ -291,7 +291,7 @@ func (m *CrossTenantSummary) SetOdataType(value *string)() { panic(err) } } -// SetRarelyUsedTenantCount sets the rarelyUsedTenantCount property value. The rarelyUsedTenantCount property +// SetRarelyUsedTenantCount sets the rarelyUsedTenantCount property value. The number of tenants that are rarely used. func (m *CrossTenantSummary) SetRarelyUsedTenantCount(value *int32)() { err := m.GetBackingStore().Set("rarelyUsedTenantCount", value) if err != nil { diff --git a/models/networkaccess/filtering_policy_link.go b/models/networkaccess/filtering_policy_link.go index bf9a63b9102..a250cdcc6eb 100644 --- a/models/networkaccess/filtering_policy_link.go +++ b/models/networkaccess/filtering_policy_link.go @@ -104,7 +104,7 @@ func (m *FilteringPolicyLink) GetLoggingState()(*Status) { } return nil } -// GetPriority gets the priority property value. The priority property +// GetPriority gets the priority property value. Provides an integer priority level for each instance of a URL filtering policy linked to a profile. Required. // returns a *int64 when successful func (m *FilteringPolicyLink) GetPriority()(*int64) { val, err := m.GetBackingStore().Get("priority") @@ -170,7 +170,7 @@ func (m *FilteringPolicyLink) SetLoggingState(value *Status)() { panic(err) } } -// SetPriority sets the priority property value. The priority property +// SetPriority sets the priority property value. Provides an integer priority level for each instance of a URL filtering policy linked to a profile. Required. func (m *FilteringPolicyLink) SetPriority(value *int64)() { err := m.GetBackingStore().Set("priority", value) if err != nil { diff --git a/models/networkaccess/network_access_traffic.go b/models/networkaccess/network_access_traffic.go index 2518627725b..71458253e5c 100644 --- a/models/networkaccess/network_access_traffic.go +++ b/models/networkaccess/network_access_traffic.go @@ -23,7 +23,7 @@ func NewNetworkAccessTraffic()(*NetworkAccessTraffic) { func CreateNetworkAccessTrafficFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewNetworkAccessTraffic(), nil } -// GetAction gets the action property value. The action property +// GetAction gets the action property value. Indicates what action to take based on filtering policies. The possible values are: block, allow. // returns a *FilteringPolicyAction when successful func (m *NetworkAccessTraffic) GetAction()(*FilteringPolicyAction) { val, err := m.GetBackingStore().Get("action") @@ -1188,7 +1188,7 @@ func (m *NetworkAccessTraffic) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetAction sets the action property value. The action property +// SetAction sets the action property value. Indicates what action to take based on filtering policies. The possible values are: block, allow. func (m *NetworkAccessTraffic) SetAction(value *FilteringPolicyAction)() { err := m.GetBackingStore().Set("action", value) if err != nil { diff --git a/models/on_premises_agent.go b/models/on_premises_agent.go index 0313dcde2b2..14354f3d53a 100644 --- a/models/on_premises_agent.go +++ b/models/on_premises_agent.go @@ -135,7 +135,7 @@ func (m *OnPremisesAgent) GetStatus()(*AgentStatus) { } return nil } -// GetSupportedPublishingTypes gets the supportedPublishingTypes property value. The supportedPublishingTypes property +// GetSupportedPublishingTypes gets the supportedPublishingTypes property value. Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. // returns a []OnPremisesPublishingType when successful func (m *OnPremisesAgent) GetSupportedPublishingTypes()([]OnPremisesPublishingType) { val, err := m.GetBackingStore().Get("supportedPublishingTypes") @@ -220,7 +220,7 @@ func (m *OnPremisesAgent) SetStatus(value *AgentStatus)() { panic(err) } } -// SetSupportedPublishingTypes sets the supportedPublishingTypes property value. The supportedPublishingTypes property +// SetSupportedPublishingTypes sets the supportedPublishingTypes property value. Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. func (m *OnPremisesAgent) SetSupportedPublishingTypes(value []OnPremisesPublishingType)() { err := m.GetBackingStore().Set("supportedPublishingTypes", value) if err != nil { diff --git a/models/on_premises_publishing.go b/models/on_premises_publishing.go index e7cad9bbaf5..ee32ef4499f 100644 --- a/models/on_premises_publishing.go +++ b/models/on_premises_publishing.go @@ -496,7 +496,7 @@ func (m *OnPremisesPublishing) GetOdataType()(*string) { } return nil } -// GetOnPremisesApplicationSegments gets the onPremisesApplicationSegments property value. The onPremisesApplicationSegments property +// GetOnPremisesApplicationSegments gets the onPremisesApplicationSegments property value. Represents the application segment collection for an on-premises wildcard application. This property is deprecated and will stop returning data on June 1, 2023. Use segmentsConfiguration instead. // returns a []OnPremisesApplicationSegmentable when successful func (m *OnPremisesPublishing) GetOnPremisesApplicationSegments()([]OnPremisesApplicationSegmentable) { val, err := m.GetBackingStore().Get("onPremisesApplicationSegments") @@ -871,7 +871,7 @@ func (m *OnPremisesPublishing) SetOdataType(value *string)() { panic(err) } } -// SetOnPremisesApplicationSegments sets the onPremisesApplicationSegments property value. The onPremisesApplicationSegments property +// SetOnPremisesApplicationSegments sets the onPremisesApplicationSegments property value. Represents the application segment collection for an on-premises wildcard application. This property is deprecated and will stop returning data on June 1, 2023. Use segmentsConfiguration instead. func (m *OnPremisesPublishing) SetOnPremisesApplicationSegments(value []OnPremisesApplicationSegmentable)() { err := m.GetBackingStore().Set("onPremisesApplicationSegments", value) if err != nil { diff --git a/models/on_premises_publishing_profile.go b/models/on_premises_publishing_profile.go index fb06a5a1377..4fa4e80dff5 100644 --- a/models/on_premises_publishing_profile.go +++ b/models/on_premises_publishing_profile.go @@ -43,6 +43,18 @@ func (m *OnPremisesPublishingProfile) GetAgents()([]OnPremisesAgentable) { } return nil } +// GetApplicationSegments gets the applicationSegments property value. The applicationSegments property +// returns a []IpApplicationSegmentable when successful +func (m *OnPremisesPublishingProfile) GetApplicationSegments()([]IpApplicationSegmentable) { + val, err := m.GetBackingStore().Get("applicationSegments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IpApplicationSegmentable) + } + return nil +} // GetConnectorGroups gets the connectorGroups property value. List of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. // returns a []ConnectorGroupable when successful func (m *OnPremisesPublishingProfile) GetConnectorGroups()([]ConnectorGroupable) { @@ -103,6 +115,22 @@ func (m *OnPremisesPublishingProfile) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["applicationSegments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIpApplicationSegmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IpApplicationSegmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IpApplicationSegmentable) + } + } + m.SetApplicationSegments(res) + } + return nil + } res["connectorGroups"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateConnectorGroupFromDiscriminatorValue) if err != nil { @@ -261,6 +289,18 @@ func (m *OnPremisesPublishingProfile) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetApplicationSegments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetApplicationSegments())) + for i, v := range m.GetApplicationSegments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("applicationSegments", cast) + if err != nil { + return err + } + } if m.GetConnectorGroups() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetConnectorGroups())) for i, v := range m.GetConnectorGroups() { @@ -331,6 +371,13 @@ func (m *OnPremisesPublishingProfile) SetAgents(value []OnPremisesAgentable)() { panic(err) } } +// SetApplicationSegments sets the applicationSegments property value. The applicationSegments property +func (m *OnPremisesPublishingProfile) SetApplicationSegments(value []IpApplicationSegmentable)() { + err := m.GetBackingStore().Set("applicationSegments", value) + if err != nil { + panic(err) + } +} // SetConnectorGroups sets the connectorGroups property value. List of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. func (m *OnPremisesPublishingProfile) SetConnectorGroups(value []ConnectorGroupable)() { err := m.GetBackingStore().Set("connectorGroups", value) @@ -378,6 +425,7 @@ type OnPremisesPublishingProfileable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAgentGroups()([]OnPremisesAgentGroupable) GetAgents()([]OnPremisesAgentable) + GetApplicationSegments()([]IpApplicationSegmentable) GetConnectorGroups()([]ConnectorGroupable) GetConnectors()([]Connectorable) GetHybridAgentUpdaterConfiguration()(HybridAgentUpdaterConfigurationable) @@ -386,6 +434,7 @@ type OnPremisesPublishingProfileable interface { GetPublishedResources()([]PublishedResourceable) SetAgentGroups(value []OnPremisesAgentGroupable)() SetAgents(value []OnPremisesAgentable)() + SetApplicationSegments(value []IpApplicationSegmentable)() SetConnectorGroups(value []ConnectorGroupable)() SetConnectors(value []Connectorable)() SetHybridAgentUpdaterConfiguration(value HybridAgentUpdaterConfigurationable)() diff --git a/models/onenote_resource.go b/models/onenote_resource.go index 2b775fe610b..4a431f5b026 100644 --- a/models/onenote_resource.go +++ b/models/onenote_resource.go @@ -21,7 +21,7 @@ func NewOnenoteResource()(*OnenoteResource) { func CreateOnenoteResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOnenoteResource(), nil } -// GetContent gets the content property value. The content property +// GetContent gets the content property value. The content of the resource. // returns a []byte when successful func (m *OnenoteResource) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -33,7 +33,7 @@ func (m *OnenoteResource) GetContent()([]byte) { } return nil } -// GetContentUrl gets the contentUrl property value. The contentUrl property +// GetContentUrl gets the contentUrl property value. The URL for the content stream. // returns a *string when successful func (m *OnenoteResource) GetContentUrl()(*string) { val, err := m.GetBackingStore().Get("contentUrl") @@ -91,14 +91,14 @@ func (m *OnenoteResource) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetContent sets the content property value. The content property +// SetContent sets the content property value. The content of the resource. func (m *OnenoteResource) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { panic(err) } } -// SetContentUrl sets the contentUrl property value. The contentUrl property +// SetContentUrl sets the contentUrl property value. The URL for the content stream. func (m *OnenoteResource) SetContentUrl(value *string)() { err := m.GetBackingStore().Set("contentUrl", value) if err != nil { diff --git a/models/online_meeting.go b/models/online_meeting.go index 86bbf60d39a..adea2657dd0 100644 --- a/models/online_meeting.go +++ b/models/online_meeting.go @@ -22,7 +22,7 @@ func NewOnlineMeeting()(*OnlineMeeting) { func CreateOnlineMeetingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOnlineMeeting(), nil } -// GetAlternativeRecording gets the alternativeRecording property value. The alternativeRecording property +// GetAlternativeRecording gets the alternativeRecording property value. The content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful func (m *OnlineMeeting) GetAlternativeRecording()([]byte) { val, err := m.GetBackingStore().Get("alternativeRecording") @@ -34,7 +34,7 @@ func (m *OnlineMeeting) GetAlternativeRecording()([]byte) { } return nil } -// GetAttendeeReport gets the attendeeReport property value. The attendeeReport property +// GetAttendeeReport gets the attendeeReport property value. The content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful func (m *OnlineMeeting) GetAttendeeReport()([]byte) { val, err := m.GetBackingStore().Get("attendeeReport") @@ -58,7 +58,7 @@ func (m *OnlineMeeting) GetBroadcastRecording()([]byte) { } return nil } -// GetBroadcastSettings gets the broadcastSettings property value. The broadcastSettings property +// GetBroadcastSettings gets the broadcastSettings property value. Settings related to a live event. // returns a BroadcastMeetingSettingsable when successful func (m *OnlineMeeting) GetBroadcastSettings()(BroadcastMeetingSettingsable) { val, err := m.GetBackingStore().Get("broadcastSettings") @@ -70,7 +70,7 @@ func (m *OnlineMeeting) GetBroadcastSettings()(BroadcastMeetingSettingsable) { } return nil } -// GetCapabilities gets the capabilities property value. The capabilities property +// GetCapabilities gets the capabilities property value. The list of meeting capabilities. Possible values are: questionAndAnswer,unknownFutureValue. // returns a []MeetingCapabilities when successful func (m *OnlineMeeting) GetCapabilities()([]MeetingCapabilities) { val, err := m.GetBackingStore().Get("capabilities") @@ -322,7 +322,7 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetIsBroadcast gets the isBroadcast property value. The isBroadcast property +// GetIsBroadcast gets the isBroadcast property value. Indicates whether this event is a Teams live event. // returns a *bool when successful func (m *OnlineMeeting) GetIsBroadcast()(*bool) { val, err := m.GetBackingStore().Get("isBroadcast") @@ -346,7 +346,7 @@ func (m *OnlineMeeting) GetJoinUrl()(*string) { } return nil } -// GetMeetingAttendanceReport gets the meetingAttendanceReport property value. The meetingAttendanceReport property +// GetMeetingAttendanceReport gets the meetingAttendanceReport property value. The attendance report of the latest online meeting session. Read-only. // returns a MeetingAttendanceReportable when successful func (m *OnlineMeeting) GetMeetingAttendanceReport()(MeetingAttendanceReportable) { val, err := m.GetBackingStore().Get("meetingAttendanceReport") @@ -382,7 +382,7 @@ func (m *OnlineMeeting) GetParticipants()(MeetingParticipantsable) { } return nil } -// GetRecording gets the recording property value. The recording property +// GetRecording gets the recording property value. The content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful func (m *OnlineMeeting) GetRecording()([]byte) { val, err := m.GetBackingStore().Get("recording") @@ -570,14 +570,14 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAlternativeRecording sets the alternativeRecording property value. The alternativeRecording property +// SetAlternativeRecording sets the alternativeRecording property value. The content stream of the alternative recording of a Microsoft Teams live event. Read-only. func (m *OnlineMeeting) SetAlternativeRecording(value []byte)() { err := m.GetBackingStore().Set("alternativeRecording", value) if err != nil { panic(err) } } -// SetAttendeeReport sets the attendeeReport property value. The attendeeReport property +// SetAttendeeReport sets the attendeeReport property value. The content stream of the attendee report of a Teams live event. Read-only. func (m *OnlineMeeting) SetAttendeeReport(value []byte)() { err := m.GetBackingStore().Set("attendeeReport", value) if err != nil { @@ -591,14 +591,14 @@ func (m *OnlineMeeting) SetBroadcastRecording(value []byte)() { panic(err) } } -// SetBroadcastSettings sets the broadcastSettings property value. The broadcastSettings property +// SetBroadcastSettings sets the broadcastSettings property value. Settings related to a live event. func (m *OnlineMeeting) SetBroadcastSettings(value BroadcastMeetingSettingsable)() { err := m.GetBackingStore().Set("broadcastSettings", value) if err != nil { panic(err) } } -// SetCapabilities sets the capabilities property value. The capabilities property +// SetCapabilities sets the capabilities property value. The list of meeting capabilities. Possible values are: questionAndAnswer,unknownFutureValue. func (m *OnlineMeeting) SetCapabilities(value []MeetingCapabilities)() { err := m.GetBackingStore().Set("capabilities", value) if err != nil { @@ -626,7 +626,7 @@ func (m *OnlineMeeting) SetExternalId(value *string)() { panic(err) } } -// SetIsBroadcast sets the isBroadcast property value. The isBroadcast property +// SetIsBroadcast sets the isBroadcast property value. Indicates whether this event is a Teams live event. func (m *OnlineMeeting) SetIsBroadcast(value *bool)() { err := m.GetBackingStore().Set("isBroadcast", value) if err != nil { @@ -640,7 +640,7 @@ func (m *OnlineMeeting) SetJoinUrl(value *string)() { panic(err) } } -// SetMeetingAttendanceReport sets the meetingAttendanceReport property value. The meetingAttendanceReport property +// SetMeetingAttendanceReport sets the meetingAttendanceReport property value. The attendance report of the latest online meeting session. Read-only. func (m *OnlineMeeting) SetMeetingAttendanceReport(value MeetingAttendanceReportable)() { err := m.GetBackingStore().Set("meetingAttendanceReport", value) if err != nil { @@ -661,7 +661,7 @@ func (m *OnlineMeeting) SetParticipants(value MeetingParticipantsable)() { panic(err) } } -// SetRecording sets the recording property value. The recording property +// SetRecording sets the recording property value. The content stream of the recording of a Teams live event. Read-only. func (m *OnlineMeeting) SetRecording(value []byte)() { err := m.GetBackingStore().Set("recording", value) if err != nil { diff --git a/models/online_meeting_base.go b/models/online_meeting_base.go index aabe2639b3f..c8df20cc75e 100644 --- a/models/online_meeting_base.go +++ b/models/online_meeting_base.go @@ -537,7 +537,7 @@ func (m *OnlineMeetingBase) GetRecordAutomatically()(*bool) { } return nil } -// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property +// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. // returns a *MeetingChatHistoryDefaultMode when successful func (m *OnlineMeetingBase) GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) { val, err := m.GetBackingStore().Get("shareMeetingChatHistoryDefault") @@ -886,7 +886,7 @@ func (m *OnlineMeetingBase) SetRecordAutomatically(value *bool)() { panic(err) } } -// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property +// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. func (m *OnlineMeetingBase) SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() { err := m.GetBackingStore().Set("shareMeetingChatHistoryDefault", value) if err != nil { diff --git a/models/outbound_shared_user_profile.go b/models/outbound_shared_user_profile.go index 5e1a2d5de09..94561cc8b7e 100644 --- a/models/outbound_shared_user_profile.go +++ b/models/outbound_shared_user_profile.go @@ -94,7 +94,7 @@ func (m *OutboundSharedUserProfile) GetOdataType()(*string) { } return nil } -// GetTenants gets the tenants property value. The collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. +// GetTenants gets the tenants property value. The collection of external Microsoft Entra tenants that the user shared profile data with. Read-only. // returns a []TenantReferenceable when successful func (m *OutboundSharedUserProfile) GetTenants()([]TenantReferenceable) { val, err := m.GetBackingStore().Get("tenants") @@ -170,7 +170,7 @@ func (m *OutboundSharedUserProfile) SetOdataType(value *string)() { panic(err) } } -// SetTenants sets the tenants property value. The collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. +// SetTenants sets the tenants property value. The collection of external Microsoft Entra tenants that the user shared profile data with. Read-only. func (m *OutboundSharedUserProfile) SetTenants(value []TenantReferenceable)() { err := m.GetBackingStore().Set("tenants", value) if err != nil { diff --git a/models/outlook_item.go b/models/outlook_item.go index 04897d66183..a88b9207f64 100644 --- a/models/outlook_item.go +++ b/models/outlook_item.go @@ -56,7 +56,7 @@ func CreateOutlookItemFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a } return NewOutlookItem(), nil } -// GetCategories gets the categories property value. The categories property +// GetCategories gets the categories property value. The categories associated with the item. // returns a []string when successful func (m *OutlookItem) GetCategories()([]string) { val, err := m.GetBackingStore().Get("categories") @@ -68,7 +68,7 @@ func (m *OutlookItem) GetCategories()([]string) { } return nil } -// GetChangeKey gets the changeKey property value. The changeKey property +// GetChangeKey gets the changeKey property value. Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. // returns a *string when successful func (m *OutlookItem) GetChangeKey()(*string) { val, err := m.GetBackingStore().Get("changeKey") @@ -188,14 +188,14 @@ func (m *OutlookItem) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetCategories sets the categories property value. The categories property +// SetCategories sets the categories property value. The categories associated with the item. func (m *OutlookItem) SetCategories(value []string)() { err := m.GetBackingStore().Set("categories", value) if err != nil { panic(err) } } -// SetChangeKey sets the changeKey property value. The changeKey property +// SetChangeKey sets the changeKey property value. Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. func (m *OutlookItem) SetChangeKey(value *string)() { err := m.GetBackingStore().Set("changeKey", value) if err != nil { diff --git a/models/outlook_user.go b/models/outlook_user.go index efaa486cbd6..61825239791 100644 --- a/models/outlook_user.go +++ b/models/outlook_user.go @@ -101,7 +101,7 @@ func (m *OutlookUser) GetMasterCategories()([]OutlookCategoryable) { } return nil } -// GetTaskFolders gets the taskFolders property value. The taskFolders property +// GetTaskFolders gets the taskFolders property value. The user's Outlook task folders. Read-only. Nullable. // returns a []OutlookTaskFolderable when successful func (m *OutlookUser) GetTaskFolders()([]OutlookTaskFolderable) { val, err := m.GetBackingStore().Get("taskFolders") @@ -113,7 +113,7 @@ func (m *OutlookUser) GetTaskFolders()([]OutlookTaskFolderable) { } return nil } -// GetTaskGroups gets the taskGroups property value. The taskGroups property +// GetTaskGroups gets the taskGroups property value. The user's Outlook task groups. Read-only. Nullable. // returns a []OutlookTaskGroupable when successful func (m *OutlookUser) GetTaskGroups()([]OutlookTaskGroupable) { val, err := m.GetBackingStore().Get("taskGroups") @@ -125,7 +125,7 @@ func (m *OutlookUser) GetTaskGroups()([]OutlookTaskGroupable) { } return nil } -// GetTasks gets the tasks property value. The tasks property +// GetTasks gets the tasks property value. The user's Outlook tasks. Read-only. Nullable. // returns a []OutlookTaskable when successful func (m *OutlookUser) GetTasks()([]OutlookTaskable) { val, err := m.GetBackingStore().Get("tasks") @@ -200,21 +200,21 @@ func (m *OutlookUser) SetMasterCategories(value []OutlookCategoryable)() { panic(err) } } -// SetTaskFolders sets the taskFolders property value. The taskFolders property +// SetTaskFolders sets the taskFolders property value. The user's Outlook task folders. Read-only. Nullable. func (m *OutlookUser) SetTaskFolders(value []OutlookTaskFolderable)() { err := m.GetBackingStore().Set("taskFolders", value) if err != nil { panic(err) } } -// SetTaskGroups sets the taskGroups property value. The taskGroups property +// SetTaskGroups sets the taskGroups property value. The user's Outlook task groups. Read-only. Nullable. func (m *OutlookUser) SetTaskGroups(value []OutlookTaskGroupable)() { err := m.GetBackingStore().Set("taskGroups", value) if err != nil { panic(err) } } -// SetTasks sets the tasks property value. The tasks property +// SetTasks sets the tasks property value. The user's Outlook tasks. Read-only. Nullable. func (m *OutlookUser) SetTasks(value []OutlookTaskable)() { err := m.GetBackingStore().Set("tasks", value) if err != nil { diff --git a/models/package_escaped.go b/models/package_escaped.go index d15b04a39c3..0ef04daade7 100644 --- a/models/package_escaped.go +++ b/models/package_escaped.go @@ -78,7 +78,7 @@ func (m *PackageEscaped) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. An string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. // returns a *string when successful func (m *PackageEscaped) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -130,7 +130,7 @@ func (m *PackageEscaped) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. An string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. func (m *PackageEscaped) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/passkey_authentication_method_target.go b/models/passkey_authentication_method_target.go new file mode 100644 index 00000000000..4a557e713de --- /dev/null +++ b/models/passkey_authentication_method_target.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PasskeyAuthenticationMethodTarget struct { + AuthenticationMethodTarget +} +// NewPasskeyAuthenticationMethodTarget instantiates a new PasskeyAuthenticationMethodTarget and sets the default values. +func NewPasskeyAuthenticationMethodTarget()(*PasskeyAuthenticationMethodTarget) { + m := &PasskeyAuthenticationMethodTarget{ + AuthenticationMethodTarget: *NewAuthenticationMethodTarget(), + } + return m +} +// CreatePasskeyAuthenticationMethodTargetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePasskeyAuthenticationMethodTargetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPasskeyAuthenticationMethodTarget(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PasskeyAuthenticationMethodTarget) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethodTarget.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *PasskeyAuthenticationMethodTarget) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethodTarget.Serialize(writer) + if err != nil { + return err + } + return nil +} +type PasskeyAuthenticationMethodTargetable interface { + AuthenticationMethodTargetable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/password_credential_configuration.go b/models/password_credential_configuration.go index dfc701c2c44..45f42b58f7a 100644 --- a/models/password_credential_configuration.go +++ b/models/password_credential_configuration.go @@ -87,7 +87,7 @@ func (m *PasswordCredentialConfiguration) GetFieldDeserializers()(map[string]fun } return res } -// GetMaxLifetime gets the maxLifetime property value. The maxLifetime property +// GetMaxLifetime gets the maxLifetime property value. Value that can be used as the maximum number for setting password expiration time in days, hours, minutes or seconds. Defined in ISO 8601 format for Durations. For example, 'P4DT12H30M5S' represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restriction type is set to passwordLifetime. // returns a *ISODuration when successful func (m *PasswordCredentialConfiguration) GetMaxLifetime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxLifetime") @@ -181,7 +181,7 @@ func (m *PasswordCredentialConfiguration) SetAdditionalData(value map[string]any func (m *PasswordCredentialConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetMaxLifetime sets the maxLifetime property value. The maxLifetime property +// SetMaxLifetime sets the maxLifetime property value. Value that can be used as the maximum number for setting password expiration time in days, hours, minutes or seconds. Defined in ISO 8601 format for Durations. For example, 'P4DT12H30M5S' represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restriction type is set to passwordLifetime. func (m *PasswordCredentialConfiguration) SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxLifetime", value) if err != nil { diff --git a/models/password_single_sign_on_settings.go b/models/password_single_sign_on_settings.go index 4157d0074d6..f3dc8f95f9f 100644 --- a/models/password_single_sign_on_settings.go +++ b/models/password_single_sign_on_settings.go @@ -72,7 +72,7 @@ func (m *PasswordSingleSignOnSettings) GetFieldDeserializers()(map[string]func(i } return res } -// GetFields gets the fields property value. The fields property +// GetFields gets the fields property value. The fields to capture to fill the user credentials for password-based single sign-on. // returns a []PasswordSingleSignOnFieldable when successful func (m *PasswordSingleSignOnSettings) GetFields()([]PasswordSingleSignOnFieldable) { val, err := m.GetBackingStore().Get("fields") @@ -135,7 +135,7 @@ func (m *PasswordSingleSignOnSettings) SetAdditionalData(value map[string]any)() func (m *PasswordSingleSignOnSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFields sets the fields property value. The fields property +// SetFields sets the fields property value. The fields to capture to fill the user credentials for password-based single sign-on. func (m *PasswordSingleSignOnSettings) SetFields(value []PasswordSingleSignOnFieldable)() { err := m.GetBackingStore().Set("fields", value) if err != nil { diff --git a/models/payload_detail.go b/models/payload_detail.go index 07ebf774894..48511ae769d 100644 --- a/models/payload_detail.go +++ b/models/payload_detail.go @@ -58,7 +58,7 @@ func (m *PayloadDetail) GetAdditionalData()(map[string]any) { func (m *PayloadDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCoachmarks gets the coachmarks property value. Payload coachmark details. +// GetCoachmarks gets the coachmarks property value. The coachmarks property // returns a []PayloadCoachmarkable when successful func (m *PayloadDetail) GetCoachmarks()([]PayloadCoachmarkable) { val, err := m.GetBackingStore().Get("coachmarks") @@ -209,7 +209,7 @@ func (m *PayloadDetail) SetAdditionalData(value map[string]any)() { func (m *PayloadDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCoachmarks sets the coachmarks property value. Payload coachmark details. +// SetCoachmarks sets the coachmarks property value. The coachmarks property func (m *PayloadDetail) SetCoachmarks(value []PayloadCoachmarkable)() { err := m.GetBackingStore().Set("coachmarks", value) if err != nil { diff --git a/models/permission.go b/models/permission.go index 0d9b116a883..1e94a3907e0 100644 --- a/models/permission.go +++ b/models/permission.go @@ -166,7 +166,7 @@ func (m *Permission) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return res } -// GetGrantedTo gets the grantedTo property value. The grantedTo property +// GetGrantedTo gets the grantedTo property value. For user type permissions, the details of the users and applications for this permission. Read-only. // returns a IdentitySetable when successful func (m *Permission) GetGrantedTo()(IdentitySetable) { val, err := m.GetBackingStore().Get("grantedTo") @@ -178,7 +178,7 @@ func (m *Permission) GetGrantedTo()(IdentitySetable) { } return nil } -// GetGrantedToIdentities gets the grantedToIdentities property value. The grantedToIdentities property +// GetGrantedToIdentities gets the grantedToIdentities property value. For type permissions, the details of the users to whom permission was granted. Read-only. // returns a []IdentitySetable when successful func (m *Permission) GetGrantedToIdentities()([]IdentitySetable) { val, err := m.GetBackingStore().Get("grantedToIdentities") @@ -379,14 +379,14 @@ func (m *Permission) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad9 panic(err) } } -// SetGrantedTo sets the grantedTo property value. The grantedTo property +// SetGrantedTo sets the grantedTo property value. For user type permissions, the details of the users and applications for this permission. Read-only. func (m *Permission) SetGrantedTo(value IdentitySetable)() { err := m.GetBackingStore().Set("grantedTo", value) if err != nil { panic(err) } } -// SetGrantedToIdentities sets the grantedToIdentities property value. The grantedToIdentities property +// SetGrantedToIdentities sets the grantedToIdentities property value. For type permissions, the details of the users to whom permission was granted. Read-only. func (m *Permission) SetGrantedToIdentities(value []IdentitySetable)() { err := m.GetBackingStore().Set("grantedToIdentities", value) if err != nil { diff --git a/models/planner_plan.go b/models/planner_plan.go index 1a032b5776e..3e955c81125 100644 --- a/models/planner_plan.go +++ b/models/planner_plan.go @@ -282,7 +282,7 @@ func (m *PlannerPlan) GetIsArchived()(*bool) { } return nil } -// GetOwner gets the owner property value. The owner property +// GetOwner gets the owner property value. Use the container property instead. ID of the group that owns the plan. After it's set, this property can’t be updated. This property doesn't return a valid group ID if the container of the plan isn't a group. // returns a *string when successful func (m *PlannerPlan) GetOwner()(*string) { val, err := m.GetBackingStore().Get("owner") @@ -497,7 +497,7 @@ func (m *PlannerPlan) SetIsArchived(value *bool)() { panic(err) } } -// SetOwner sets the owner property value. The owner property +// SetOwner sets the owner property value. Use the container property instead. ID of the group that owns the plan. After it's set, this property can’t be updated. This property doesn't return a valid group ID if the container of the plan isn't a group. func (m *PlannerPlan) SetOwner(value *string)() { err := m.GetBackingStore().Set("owner", value) if err != nil { diff --git a/models/planner_roster.go b/models/planner_roster.go index 578d08011d8..74b701aa1bb 100644 --- a/models/planner_roster.go +++ b/models/planner_roster.go @@ -19,10 +19,32 @@ func NewPlannerRoster()(*PlannerRoster) { func CreatePlannerRosterFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPlannerRoster(), nil } +// GetAssignedSensitivityLabel gets the assignedSensitivityLabel property value. The assignedSensitivityLabel property +// returns a SensitivityLabelAssignmentable when successful +func (m *PlannerRoster) GetAssignedSensitivityLabel()(SensitivityLabelAssignmentable) { + val, err := m.GetBackingStore().Get("assignedSensitivityLabel") + if err != nil { + panic(err) + } + if val != nil { + return val.(SensitivityLabelAssignmentable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *PlannerRoster) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["assignedSensitivityLabel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSensitivityLabelAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedSensitivityLabel(val.(SensitivityLabelAssignmentable)) + } + return nil + } res["members"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreatePlannerRosterMemberFromDiscriminatorValue) if err != nil { @@ -87,6 +109,12 @@ func (m *PlannerRoster) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 if err != nil { return err } + { + err = writer.WriteObjectValue("assignedSensitivityLabel", m.GetAssignedSensitivityLabel()) + if err != nil { + return err + } + } if m.GetMembers() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMembers())) for i, v := range m.GetMembers() { @@ -113,6 +141,13 @@ func (m *PlannerRoster) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } +// SetAssignedSensitivityLabel sets the assignedSensitivityLabel property value. The assignedSensitivityLabel property +func (m *PlannerRoster) SetAssignedSensitivityLabel(value SensitivityLabelAssignmentable)() { + err := m.GetBackingStore().Set("assignedSensitivityLabel", value) + if err != nil { + panic(err) + } +} // SetMembers sets the members property value. Retrieves the members of the plannerRoster. func (m *PlannerRoster) SetMembers(value []PlannerRosterMemberable)() { err := m.GetBackingStore().Set("members", value) @@ -130,8 +165,10 @@ func (m *PlannerRoster) SetPlans(value []PlannerPlanable)() { type PlannerRosterable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignedSensitivityLabel()(SensitivityLabelAssignmentable) GetMembers()([]PlannerRosterMemberable) GetPlans()([]PlannerPlanable) + SetAssignedSensitivityLabel(value SensitivityLabelAssignmentable)() SetMembers(value []PlannerRosterMemberable)() SetPlans(value []PlannerPlanable)() } diff --git a/models/print_usage_by_printer.go b/models/print_usage_by_printer.go index d37ba6a887a..a464c65add3 100644 --- a/models/print_usage_by_printer.go +++ b/models/print_usage_by_printer.go @@ -45,7 +45,7 @@ func (m *PrintUsageByPrinter) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetPrinterId gets the printerId property value. The printerId property +// GetPrinterId gets the printerId property value. The ID of the printer represented by these statistics. // returns a *string when successful func (m *PrintUsageByPrinter) GetPrinterId()(*string) { val, err := m.GetBackingStore().Get("printerId") @@ -89,7 +89,7 @@ func (m *PrintUsageByPrinter) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetPrinterId sets the printerId property value. The printerId property +// SetPrinterId sets the printerId property value. The ID of the printer represented by these statistics. func (m *PrintUsageByPrinter) SetPrinterId(value *string)() { err := m.GetBackingStore().Set("printerId", value) if err != nil { diff --git a/models/profile_source_annotation.go b/models/profile_source_annotation.go index a4e768d60e8..c183621bf34 100644 --- a/models/profile_source_annotation.go +++ b/models/profile_source_annotation.go @@ -92,7 +92,7 @@ func (m *ProfileSourceAnnotation) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetIsDefaultSource gets the isDefaultSource property value. The isDefaultSource property +// GetIsDefaultSource gets the isDefaultSource property value. Indicates whether the source is the default one. // returns a *bool when successful func (m *ProfileSourceAnnotation) GetIsDefaultSource()(*bool) { val, err := m.GetBackingStore().Get("isDefaultSource") @@ -116,7 +116,7 @@ func (m *ProfileSourceAnnotation) GetOdataType()(*string) { } return nil } -// GetProperties gets the properties property value. The properties property +// GetProperties gets the properties property value. The 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") @@ -185,7 +185,7 @@ func (m *ProfileSourceAnnotation) SetAdditionalData(value map[string]any)() { func (m *ProfileSourceAnnotation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsDefaultSource sets the isDefaultSource property value. The isDefaultSource property +// SetIsDefaultSource sets the isDefaultSource property value. Indicates whether the source is the default one. func (m *ProfileSourceAnnotation) SetIsDefaultSource(value *bool)() { err := m.GetBackingStore().Set("isDefaultSource", value) if err != nil { @@ -199,7 +199,7 @@ func (m *ProfileSourceAnnotation) SetOdataType(value *string)() { panic(err) } } -// SetProperties sets the properties property value. The properties property +// SetProperties sets the properties property value. The 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/provisioning_object_summary.go b/models/provisioning_object_summary.go index 93a158c6f26..e1a9fc7176a 100644 --- a/models/provisioning_object_summary.go +++ b/models/provisioning_object_summary.go @@ -20,7 +20,7 @@ func NewProvisioningObjectSummary()(*ProvisioningObjectSummary) { func CreateProvisioningObjectSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewProvisioningObjectSummary(), nil } -// GetAction gets the action property value. The action property +// GetAction gets the action property value. Indicates the activity name or the operation name (for example, Create user, Add member to group). For a list of activities logged, refer to Microsoft Entra activity list. This is deprecated. Please use provisioningAction instead. Supports $filter (eq, contains). // returns a *string when successful func (m *ProvisioningObjectSummary) GetAction()(*string) { val, err := m.GetBackingStore().Get("action") @@ -386,7 +386,7 @@ func (m *ProvisioningObjectSummary) GetSourceSystem()(ProvisioningSystemable) { } return nil } -// GetStatusInfo gets the statusInfo property value. The statusInfo property +// GetStatusInfo gets the statusInfo property value. Details of provisioning status. This is deprecated. Please use provisioningStatusInfo instead. Supports $filter (eq, contains) for status. // returns a StatusBaseable when successful func (m *ProvisioningObjectSummary) GetStatusInfo()(StatusBaseable) { val, err := m.GetBackingStore().Get("statusInfo") @@ -563,7 +563,7 @@ func (m *ProvisioningObjectSummary) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetAction sets the action property value. The action property +// SetAction sets the action property value. Indicates the activity name or the operation name (for example, Create user, Add member to group). For a list of activities logged, refer to Microsoft Entra activity list. This is deprecated. Please use provisioningAction instead. Supports $filter (eq, contains). func (m *ProvisioningObjectSummary) SetAction(value *string)() { err := m.GetBackingStore().Set("action", value) if err != nil { @@ -661,7 +661,7 @@ func (m *ProvisioningObjectSummary) SetSourceSystem(value ProvisioningSystemable panic(err) } } -// SetStatusInfo sets the statusInfo property value. The statusInfo property +// SetStatusInfo sets the statusInfo property value. Details of provisioning status. This is deprecated. Please use provisioningStatusInfo instead. Supports $filter (eq, contains) for status. func (m *ProvisioningObjectSummary) SetStatusInfo(value StatusBaseable)() { err := m.GetBackingStore().Set("statusInfo", value) if err != nil { diff --git a/models/regex_replace_transformation.go b/models/regex_replace_transformation.go index 01fed04b2ee..a5103b09c22 100644 --- a/models/regex_replace_transformation.go +++ b/models/regex_replace_transformation.go @@ -21,7 +21,7 @@ func NewRegexReplaceTransformation()(*RegexReplaceTransformation) { func CreateRegexReplaceTransformationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRegexReplaceTransformation(), nil } -// GetAdditionalAttributes gets the additionalAttributes property value. The additionalAttributes property +// GetAdditionalAttributes gets the additionalAttributes property value. Additional attributes that can be referenced within the replacement string. // returns a []SourcedAttributeable when successful func (m *RegexReplaceTransformation) GetAdditionalAttributes()([]SourcedAttributeable) { val, err := m.GetBackingStore().Get("additionalAttributes") @@ -75,7 +75,7 @@ func (m *RegexReplaceTransformation) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetRegex gets the regex property value. The regex property +// GetRegex gets the regex property value. The regular expression to be applied on the input directory attribute or constant. // returns a *string when successful func (m *RegexReplaceTransformation) GetRegex()(*string) { val, err := m.GetBackingStore().Get("regex") @@ -87,7 +87,7 @@ func (m *RegexReplaceTransformation) GetRegex()(*string) { } return nil } -// GetReplacement gets the replacement property value. The replacement property +// GetReplacement gets the replacement property value. The transformation output replacement pattern with regular expression output group and input parameter group reference. // returns a *string when successful func (m *RegexReplaceTransformation) GetReplacement()(*string) { val, err := m.GetBackingStore().Get("replacement") @@ -131,21 +131,21 @@ func (m *RegexReplaceTransformation) Serialize(writer i878a80d2330e89d26896388a3 } return nil } -// SetAdditionalAttributes sets the additionalAttributes property value. The additionalAttributes property +// SetAdditionalAttributes sets the additionalAttributes property value. Additional attributes that can be referenced within the replacement string. func (m *RegexReplaceTransformation) SetAdditionalAttributes(value []SourcedAttributeable)() { err := m.GetBackingStore().Set("additionalAttributes", value) if err != nil { panic(err) } } -// SetRegex sets the regex property value. The regex property +// SetRegex sets the regex property value. The regular expression to be applied on the input directory attribute or constant. func (m *RegexReplaceTransformation) SetRegex(value *string)() { err := m.GetBackingStore().Set("regex", value) if err != nil { panic(err) } } -// SetReplacement sets the replacement property value. The replacement property +// SetReplacement sets the replacement property value. The transformation output replacement pattern with regular expression output group and input parameter group reference. func (m *RegexReplaceTransformation) SetReplacement(value *string)() { err := m.GetBackingStore().Set("replacement", value) if err != nil { diff --git a/models/risk_detection.go b/models/risk_detection.go index 2cd1b98402e..79c1f62f402 100644 --- a/models/risk_detection.go +++ b/models/risk_detection.go @@ -416,7 +416,7 @@ func (m *RiskDetection) GetRiskState()(*RiskState) { } return nil } -// GetRiskType gets the riskType property value. The riskType property +// GetRiskType gets the riskType property value. List of risk event types.Note: This property is deprecated. Use riskEventType instead. // returns a *RiskEventType when successful func (m *RiskDetection) GetRiskType()(*RiskEventType) { val, err := m.GetBackingStore().Get("riskType") @@ -734,7 +734,7 @@ func (m *RiskDetection) SetRiskState(value *RiskState)() { panic(err) } } -// SetRiskType sets the riskType property value. The riskType property +// SetRiskType sets the riskType property value. List of risk event types.Note: This property is deprecated. Use riskEventType instead. func (m *RiskDetection) SetRiskType(value *RiskEventType)() { err := m.GetBackingStore().Set("riskType", value) if err != nil { diff --git a/models/risk_service_principal_activity.go b/models/risk_service_principal_activity.go index 89707618e37..38ecd65d68b 100644 --- a/models/risk_service_principal_activity.go +++ b/models/risk_service_principal_activity.go @@ -106,7 +106,7 @@ func (m *RiskServicePrincipalActivity) GetOdataType()(*string) { } return nil } -// GetRiskEventTypes gets the riskEventTypes property value. The riskEventTypes property +// GetRiskEventTypes gets the riskEventTypes property value. The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication. // returns a []string when successful func (m *RiskServicePrincipalActivity) GetRiskEventTypes()([]string) { val, err := m.GetBackingStore().Get("riskEventTypes") @@ -172,7 +172,7 @@ func (m *RiskServicePrincipalActivity) SetOdataType(value *string)() { panic(err) } } -// SetRiskEventTypes sets the riskEventTypes property value. The riskEventTypes property +// SetRiskEventTypes sets the riskEventTypes property value. The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication. func (m *RiskServicePrincipalActivity) SetRiskEventTypes(value []string)() { err := m.GetBackingStore().Set("riskEventTypes", value) if err != nil { diff --git a/models/risk_user_activity.go b/models/risk_user_activity.go index 5573c12ed7a..d7d7f14c45b 100644 --- a/models/risk_user_activity.go +++ b/models/risk_user_activity.go @@ -52,7 +52,7 @@ func (m *RiskUserActivity) GetDetail()(*RiskDetail) { } return nil } -// GetEventTypes gets the eventTypes property value. The eventTypes property +// GetEventTypes gets the eventTypes property value. List of risk event types. Deprecated. Use riskEventType instead. // returns a []RiskEventType when successful func (m *RiskUserActivity) GetEventTypes()([]RiskEventType) { val, err := m.GetBackingStore().Get("eventTypes") @@ -134,7 +134,7 @@ func (m *RiskUserActivity) GetOdataType()(*string) { } return nil } -// GetRiskEventTypes gets the riskEventTypes property value. The riskEventTypes property +// GetRiskEventTypes gets the riskEventTypes property value. The type of risk event detected. The possible values are: anonymizedIPAddress, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel. For more information about each value, see Risk types and detection. // returns a []string when successful func (m *RiskUserActivity) GetRiskEventTypes()([]string) { val, err := m.GetBackingStore().Get("riskEventTypes") @@ -199,7 +199,7 @@ func (m *RiskUserActivity) SetDetail(value *RiskDetail)() { panic(err) } } -// SetEventTypes sets the eventTypes property value. The eventTypes property +// SetEventTypes sets the eventTypes property value. List of risk event types. Deprecated. Use riskEventType instead. func (m *RiskUserActivity) SetEventTypes(value []RiskEventType)() { err := m.GetBackingStore().Set("eventTypes", value) if err != nil { @@ -213,7 +213,7 @@ func (m *RiskUserActivity) SetOdataType(value *string)() { panic(err) } } -// SetRiskEventTypes sets the riskEventTypes property value. The riskEventTypes property +// SetRiskEventTypes sets the riskEventTypes property value. The type of risk event detected. The possible values are: anonymizedIPAddress, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel. For more information about each value, see Risk types and detection. func (m *RiskUserActivity) SetRiskEventTypes(value []string)() { err := m.GetBackingStore().Set("riskEventTypes", value) if err != nil { diff --git a/models/roles_assigned_outside_privileged_identity_management_alert_incident.go b/models/roles_assigned_outside_privileged_identity_management_alert_incident.go index a995944616e..d9d9332b262 100644 --- a/models/roles_assigned_outside_privileged_identity_management_alert_incident.go +++ b/models/roles_assigned_outside_privileged_identity_management_alert_incident.go @@ -58,7 +58,7 @@ func (m *RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident) GetAssig } return nil } -// GetAssignmentCreatedDateTime gets the assignmentCreatedDateTime property value. The assignmentCreatedDateTime property +// GetAssignmentCreatedDateTime gets the assignmentCreatedDateTime property value. Date and time of assignment creation. // returns a *Time when successful func (m *RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident) GetAssignmentCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("assignmentCreatedDateTime") @@ -253,7 +253,7 @@ func (m *RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident) SetAssig panic(err) } } -// SetAssignmentCreatedDateTime sets the assignmentCreatedDateTime property value. The assignmentCreatedDateTime property +// SetAssignmentCreatedDateTime sets the assignmentCreatedDateTime property value. Date and time of assignment creation. func (m *RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident) SetAssignmentCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("assignmentCreatedDateTime", value) if err != nil { diff --git a/models/saml_name_id_claim.go b/models/saml_name_id_claim.go index 22e261b4596..6a0e7dbc9e4 100644 --- a/models/saml_name_id_claim.go +++ b/models/saml_name_id_claim.go @@ -59,7 +59,7 @@ func (m *SamlNameIdClaim) GetNameIdFormat()(*SamlNameIDFormat) { } return nil } -// GetServiceProviderNameQualifier gets the serviceProviderNameQualifier property value. The serviceProviderNameQualifier property +// GetServiceProviderNameQualifier gets the serviceProviderNameQualifier property value. Allows the specification of a service provider name qualifier reflected in the sAML response. The value provided must match one of the service provider names configured for the application and is only applicable for IdP-initiated applications (the sign-on URL should be empty for the IdP-initiated applications), in all other cases this value is ignored. // returns a *string when successful func (m *SamlNameIdClaim) GetServiceProviderNameQualifier()(*string) { val, err := m.GetBackingStore().Get("serviceProviderNameQualifier") @@ -99,7 +99,7 @@ func (m *SamlNameIdClaim) SetNameIdFormat(value *SamlNameIDFormat)() { panic(err) } } -// SetServiceProviderNameQualifier sets the serviceProviderNameQualifier property value. The serviceProviderNameQualifier property +// SetServiceProviderNameQualifier sets the serviceProviderNameQualifier property value. Allows the specification of a service provider name qualifier reflected in the sAML response. The value provided must match one of the service provider names configured for the application and is only applicable for IdP-initiated applications (the sign-on URL should be empty for the IdP-initiated applications), in all other cases this value is ignored. func (m *SamlNameIdClaim) SetServiceProviderNameQualifier(value *string)() { err := m.GetBackingStore().Set("serviceProviderNameQualifier", value) if err != nil { diff --git a/models/search_request.go b/models/search_request.go index 8f563930d2b..764c687701c 100644 --- a/models/search_request.go +++ b/models/search_request.go @@ -466,7 +466,7 @@ func (m *SearchRequest) GetSortProperties()([]SortPropertyable) { } return nil } -// GetStoredFields gets the stored_fields property value. The stored_fields property +// GetStoredFields gets the stored_fields property value. This is now replaced by the fields property. // returns a []string when successful func (m *SearchRequest) GetStoredFields()([]string) { val, err := m.GetBackingStore().Get("stored_fields") @@ -749,7 +749,7 @@ func (m *SearchRequest) SetSortProperties(value []SortPropertyable)() { panic(err) } } -// SetStoredFields sets the stored_fields property value. The stored_fields property +// SetStoredFields sets the stored_fields property value. This is now replaced by the fields property. func (m *SearchRequest) SetStoredFields(value []string)() { err := m.GetBackingStore().Set("stored_fields", value) if err != nil { diff --git a/models/secure_score_control_profile.go b/models/secure_score_control_profile.go index 15ad55494c6..6f0ae88f0e2 100644 --- a/models/secure_score_control_profile.go +++ b/models/secure_score_control_profile.go @@ -80,7 +80,7 @@ func (m *SecureScoreControlProfile) GetControlCategory()(*string) { } return nil } -// GetControlStateUpdates gets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). +// GetControlStateUpdates gets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignored, thirdParty, reviewed) (supports update). // returns a []SecureScoreControlStateUpdateable when successful func (m *SecureScoreControlProfile) GetControlStateUpdates()([]SecureScoreControlStateUpdateable) { val, err := m.GetBackingStore().Get("controlStateUpdates") @@ -330,7 +330,7 @@ func (m *SecureScoreControlProfile) GetImplementationCost()(*string) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Time at which the control profile entity was last modified. The Timestamp type represents date and time // returns a *Time when successful func (m *SecureScoreControlProfile) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -402,7 +402,7 @@ func (m *SecureScoreControlProfile) GetService()(*string) { } return nil } -// GetThreats gets the threats property value. List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). +// GetThreats gets the threats property value. List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, elevationOfPrivilege, maliciousInsider, passwordCracking, phishingOrWhaling, spoofing). // returns a []string when successful func (m *SecureScoreControlProfile) GetThreats()([]string) { val, err := m.GetBackingStore().Get("threats") @@ -450,7 +450,7 @@ func (m *SecureScoreControlProfile) GetUserImpact()(*string) { } return nil } -// GetVendorInformation gets the vendorInformation property value. The vendorInformation property +// GetVendorInformation gets the vendorInformation property value. Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. // returns a SecurityVendorInformationable when successful func (m *SecureScoreControlProfile) GetVendorInformation()(SecurityVendorInformationable) { val, err := m.GetBackingStore().Get("vendorInformation") @@ -631,7 +631,7 @@ func (m *SecureScoreControlProfile) SetControlCategory(value *string)() { panic(err) } } -// SetControlStateUpdates sets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). +// SetControlStateUpdates sets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignored, thirdParty, reviewed) (supports update). func (m *SecureScoreControlProfile) SetControlStateUpdates(value []SecureScoreControlStateUpdateable)() { err := m.GetBackingStore().Set("controlStateUpdates", value) if err != nil { @@ -652,7 +652,7 @@ func (m *SecureScoreControlProfile) SetImplementationCost(value *string)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Time at which the control profile entity was last modified. The Timestamp type represents date and time func (m *SecureScoreControlProfile) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { @@ -694,7 +694,7 @@ func (m *SecureScoreControlProfile) SetService(value *string)() { panic(err) } } -// SetThreats sets the threats property value. List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). +// SetThreats sets the threats property value. List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage, elevationOfPrivilege, maliciousInsider, passwordCracking, phishingOrWhaling, spoofing). func (m *SecureScoreControlProfile) SetThreats(value []string)() { err := m.GetBackingStore().Set("threats", value) if err != nil { @@ -722,7 +722,7 @@ func (m *SecureScoreControlProfile) SetUserImpact(value *string)() { panic(err) } } -// SetVendorInformation sets the vendorInformation property value. The vendorInformation property +// SetVendorInformation sets the vendorInformation property value. Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. func (m *SecureScoreControlProfile) SetVendorInformation(value SecurityVendorInformationable)() { err := m.GetBackingStore().Set("vendorInformation", value) if err != nil { diff --git a/models/secure_score_control_state_update.go b/models/secure_score_control_state_update.go index 52cafc65704..65e5f606da8 100644 --- a/models/secure_score_control_state_update.go +++ b/models/secure_score_control_state_update.go @@ -36,7 +36,7 @@ func (m *SecureScoreControlStateUpdate) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAssignedTo gets the assignedTo property value. The assignedTo property +// GetAssignedTo gets the assignedTo property value. Assign the control to the user who will take the action // returns a *string when successful func (m *SecureScoreControlStateUpdate) GetAssignedTo()(*string) { val, err := m.GetBackingStore().Get("assignedTo") @@ -53,7 +53,7 @@ func (m *SecureScoreControlStateUpdate) GetAssignedTo()(*string) { func (m *SecureScoreControlStateUpdate) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetComment gets the comment property value. The comment property +// GetComment gets the comment property value. Provides optional comment about the control // returns a *string when successful func (m *SecureScoreControlStateUpdate) GetComment()(*string) { val, err := m.GetBackingStore().Get("comment") @@ -143,7 +143,7 @@ func (m *SecureScoreControlStateUpdate) GetOdataType()(*string) { } return nil } -// GetState gets the state property value. The state property +// GetState gets the state property value. State of the control can be modified using PATCH command(Ex: ignored, thirdParty etc) // returns a *string when successful func (m *SecureScoreControlStateUpdate) GetState()(*string) { val, err := m.GetBackingStore().Get("state") @@ -155,7 +155,7 @@ func (m *SecureScoreControlStateUpdate) GetState()(*string) { } return nil } -// GetUpdatedBy gets the updatedBy property value. The updatedBy property +// GetUpdatedBy gets the updatedBy property value. ID of the user who updated tenant state // returns a *string when successful func (m *SecureScoreControlStateUpdate) GetUpdatedBy()(*string) { val, err := m.GetBackingStore().Get("updatedBy") @@ -167,7 +167,7 @@ func (m *SecureScoreControlStateUpdate) GetUpdatedBy()(*string) { } return nil } -// GetUpdatedDateTime gets the updatedDateTime property value. The updatedDateTime property +// GetUpdatedDateTime gets the updatedDateTime property value. Time at which control state was updated // returns a *Time when successful func (m *SecureScoreControlStateUpdate) GetUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("updatedDateTime") @@ -232,7 +232,7 @@ func (m *SecureScoreControlStateUpdate) SetAdditionalData(value map[string]any)( panic(err) } } -// SetAssignedTo sets the assignedTo property value. The assignedTo property +// SetAssignedTo sets the assignedTo property value. Assign the control to the user who will take the action func (m *SecureScoreControlStateUpdate) SetAssignedTo(value *string)() { err := m.GetBackingStore().Set("assignedTo", value) if err != nil { @@ -243,7 +243,7 @@ func (m *SecureScoreControlStateUpdate) SetAssignedTo(value *string)() { func (m *SecureScoreControlStateUpdate) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetComment sets the comment property value. The comment property +// SetComment sets the comment property value. Provides optional comment about the control func (m *SecureScoreControlStateUpdate) SetComment(value *string)() { err := m.GetBackingStore().Set("comment", value) if err != nil { @@ -257,21 +257,21 @@ func (m *SecureScoreControlStateUpdate) SetOdataType(value *string)() { panic(err) } } -// SetState sets the state property value. The state property +// SetState sets the state property value. State of the control can be modified using PATCH command(Ex: ignored, thirdParty etc) func (m *SecureScoreControlStateUpdate) SetState(value *string)() { err := m.GetBackingStore().Set("state", value) if err != nil { panic(err) } } -// SetUpdatedBy sets the updatedBy property value. The updatedBy property +// SetUpdatedBy sets the updatedBy property value. ID of the user who updated tenant state func (m *SecureScoreControlStateUpdate) SetUpdatedBy(value *string)() { err := m.GetBackingStore().Set("updatedBy", value) if err != nil { panic(err) } } -// SetUpdatedDateTime sets the updatedDateTime property value. The updatedDateTime property +// SetUpdatedDateTime sets the updatedDateTime property value. Time at which control state was updated func (m *SecureScoreControlStateUpdate) SetUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("updatedDateTime", value) if err != nil { diff --git a/models/security/case_operation.go b/models/security/case_operation.go index 17f6094b5a5..5e491b49da0 100644 --- a/models/security/case_operation.go +++ b/models/security/case_operation.go @@ -53,7 +53,7 @@ func CreateCaseOperationFromDiscriminatorValue(parseNode i878a80d2330e89d2689638 } return NewCaseOperation(), nil } -// GetAction gets the action property value. The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData +// GetAction gets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. // returns a *CaseAction when successful func (m *CaseOperation) GetAction()(*CaseAction) { val, err := m.GetBackingStore().Get("action") @@ -265,7 +265,7 @@ func (m *CaseOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAction sets the action property value. The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData +// SetAction sets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. func (m *CaseOperation) SetAction(value *CaseAction)() { err := m.GetBackingStore().Set("action", value) if err != nil { diff --git a/models/security/ediscovery_export_operation.go b/models/security/ediscovery_export_operation.go index 4f0f984c960..f3dd1f1bff5 100644 --- a/models/security/ediscovery_export_operation.go +++ b/models/security/ediscovery_export_operation.go @@ -19,7 +19,7 @@ func NewEdiscoveryExportOperation()(*EdiscoveryExportOperation) { func CreateEdiscoveryExportOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEdiscoveryExportOperation(), nil } -// GetAzureBlobContainer gets the azureBlobContainer property value. The azureBlobContainer property +// GetAzureBlobContainer gets the azureBlobContainer property value. The name of the Azure storage location where the export is stored. This only applies to exports stored in your own Azure storage location. The azureBlobContainer property is deprecated and will stop returning data on April 30th, 2023. // returns a *string when successful func (m *EdiscoveryExportOperation) GetAzureBlobContainer()(*string) { val, err := m.GetBackingStore().Get("azureBlobContainer") @@ -31,7 +31,7 @@ func (m *EdiscoveryExportOperation) GetAzureBlobContainer()(*string) { } return nil } -// GetAzureBlobToken gets the azureBlobToken property value. The azureBlobToken property +// GetAzureBlobToken gets the azureBlobToken property value. The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. The azureBlobToken property is deprecated and will stop returning data on April 30, 2023. // returns a *string when successful func (m *EdiscoveryExportOperation) GetAzureBlobToken()(*string) { val, err := m.GetBackingStore().Get("azureBlobToken") @@ -55,7 +55,7 @@ func (m *EdiscoveryExportOperation) GetDescription()(*string) { } return nil } -// GetExportFileMetadata gets the exportFileMetadata property value. The exportFileMetadata property +// GetExportFileMetadata gets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. If you export to an Azure storage location, this property returns empty. // returns a []ExportFileMetadataable when successful func (m *EdiscoveryExportOperation) GetExportFileMetadata()([]ExportFileMetadataable) { val, err := m.GetBackingStore().Get("exportFileMetadata") @@ -203,7 +203,7 @@ func (m *EdiscoveryExportOperation) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetOutputFolderId gets the outputFolderId property value. The outputFolderId property +// GetOutputFolderId gets the outputFolderId property value. The output folder ID. The outputFolderId property is deprecated and will stop returning data on April 30, 2023. // returns a *string when successful func (m *EdiscoveryExportOperation) GetOutputFolderId()(*string) { val, err := m.GetBackingStore().Get("outputFolderId") @@ -327,14 +327,14 @@ func (m *EdiscoveryExportOperation) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetAzureBlobContainer sets the azureBlobContainer property value. The azureBlobContainer property +// SetAzureBlobContainer sets the azureBlobContainer property value. The name of the Azure storage location where the export is stored. This only applies to exports stored in your own Azure storage location. The azureBlobContainer property is deprecated and will stop returning data on April 30th, 2023. func (m *EdiscoveryExportOperation) SetAzureBlobContainer(value *string)() { err := m.GetBackingStore().Set("azureBlobContainer", value) if err != nil { panic(err) } } -// SetAzureBlobToken sets the azureBlobToken property value. The azureBlobToken property +// SetAzureBlobToken sets the azureBlobToken property value. The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. The azureBlobToken property is deprecated and will stop returning data on April 30, 2023. func (m *EdiscoveryExportOperation) SetAzureBlobToken(value *string)() { err := m.GetBackingStore().Set("azureBlobToken", value) if err != nil { @@ -348,7 +348,7 @@ func (m *EdiscoveryExportOperation) SetDescription(value *string)() { panic(err) } } -// SetExportFileMetadata sets the exportFileMetadata property value. The exportFileMetadata property +// SetExportFileMetadata sets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. If you export to an Azure storage location, this property returns empty. func (m *EdiscoveryExportOperation) SetExportFileMetadata(value []ExportFileMetadataable)() { err := m.GetBackingStore().Set("exportFileMetadata", value) if err != nil { @@ -369,7 +369,7 @@ func (m *EdiscoveryExportOperation) SetExportStructure(value *ExportFileStructur panic(err) } } -// SetOutputFolderId sets the outputFolderId property value. The outputFolderId property +// SetOutputFolderId sets the outputFolderId property value. The output folder ID. The outputFolderId property is deprecated and will stop returning data on April 30, 2023. func (m *EdiscoveryExportOperation) SetOutputFolderId(value *string)() { err := m.GetBackingStore().Set("outputFolderId", value) if err != nil { diff --git a/models/security/ediscovery_search.go b/models/security/ediscovery_search.go index 6a657070db6..e05c6fe309a 100644 --- a/models/security/ediscovery_search.go +++ b/models/security/ediscovery_search.go @@ -57,7 +57,7 @@ func (m *EdiscoverySearch) GetCustodianSources()([]DataSourceable) { } return nil } -// GetDataSourceScopes gets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. +// GetDataSourceScopes gets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. // returns a *DataSourceScopes when successful func (m *EdiscoverySearch) GetDataSourceScopes()(*DataSourceScopes) { val, err := m.GetBackingStore().Get("dataSourceScopes") @@ -261,7 +261,7 @@ func (m *EdiscoverySearch) SetCustodianSources(value []DataSourceable)() { panic(err) } } -// SetDataSourceScopes sets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. +// SetDataSourceScopes sets the dataSourceScopes property value. When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. func (m *EdiscoverySearch) SetDataSourceScopes(value *DataSourceScopes)() { err := m.GetBackingStore().Set("dataSourceScopes", value) if err != nil { diff --git a/models/security/ediscovery_search_export_operation.go b/models/security/ediscovery_search_export_operation.go index df6c209fbd6..7be8a0a1535 100644 --- a/models/security/ediscovery_search_export_operation.go +++ b/models/security/ediscovery_search_export_operation.go @@ -19,7 +19,7 @@ func NewEdiscoverySearchExportOperation()(*EdiscoverySearchExportOperation) { func CreateEdiscoverySearchExportOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEdiscoverySearchExportOperation(), nil } -// GetAdditionalOptions gets the additionalOptions property value. The additionalOptions property +// GetAdditionalOptions gets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. // returns a *AdditionalOptions when successful func (m *EdiscoverySearchExportOperation) GetAdditionalOptions()(*AdditionalOptions) { val, err := m.GetBackingStore().Get("additionalOptions") @@ -31,7 +31,7 @@ func (m *EdiscoverySearchExportOperation) GetAdditionalOptions()(*AdditionalOpti } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. The name of export provided by the user. // returns a *string when successful func (m *EdiscoverySearchExportOperation) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -43,7 +43,7 @@ func (m *EdiscoverySearchExportOperation) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The description of the export by the user. // returns a *string when successful func (m *EdiscoverySearchExportOperation) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -55,7 +55,7 @@ func (m *EdiscoverySearchExportOperation) GetDisplayName()(*string) { } return nil } -// GetExportCriteria gets the exportCriteria property value. The exportCriteria property +// GetExportCriteria gets the exportCriteria property value. Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. // returns a *ExportCriteria when successful func (m *EdiscoverySearchExportOperation) GetExportCriteria()(*ExportCriteria) { val, err := m.GetBackingStore().Get("exportCriteria") @@ -67,7 +67,7 @@ func (m *EdiscoverySearchExportOperation) GetExportCriteria()(*ExportCriteria) { } return nil } -// GetExportFileMetadata gets the exportFileMetadata property value. The exportFileMetadata property +// GetExportFileMetadata gets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. // returns a []ExportFileMetadataable when successful func (m *EdiscoverySearchExportOperation) GetExportFileMetadata()([]ExportFileMetadataable) { val, err := m.GetBackingStore().Get("exportFileMetadata") @@ -79,7 +79,7 @@ func (m *EdiscoverySearchExportOperation) GetExportFileMetadata()([]ExportFileMe } return nil } -// GetExportFormat gets the exportFormat property value. The exportFormat property +// GetExportFormat gets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. // returns a *ExportFormat when successful func (m *EdiscoverySearchExportOperation) GetExportFormat()(*ExportFormat) { val, err := m.GetBackingStore().Get("exportFormat") @@ -91,7 +91,7 @@ func (m *EdiscoverySearchExportOperation) GetExportFormat()(*ExportFormat) { } return nil } -// GetExportLocation gets the exportLocation property value. The exportLocation property +// GetExportLocation gets the exportLocation property value. Location scope for partially indexed items. You can choose to include partially indexed items only in responsive locations with search hits or in all targeted locations. The possible values are: responsiveLocations, nonresponsiveLocations, unknownFutureValue. // returns a *ExportLocation when successful func (m *EdiscoverySearchExportOperation) GetExportLocation()(*ExportLocation) { val, err := m.GetBackingStore().Get("exportLocation") @@ -103,7 +103,7 @@ func (m *EdiscoverySearchExportOperation) GetExportLocation()(*ExportLocation) { } return nil } -// GetExportSingleItems gets the exportSingleItems property value. The exportSingleItems property +// GetExportSingleItems gets the exportSingleItems property value. Indicates whether to export single items. // returns a *bool when successful func (m *EdiscoverySearchExportOperation) GetExportSingleItems()(*bool) { val, err := m.GetBackingStore().Get("exportSingleItems") @@ -217,7 +217,7 @@ func (m *EdiscoverySearchExportOperation) GetFieldDeserializers()(map[string]fun } return res } -// GetSearch gets the search property value. The search property +// GetSearch gets the search property value. The eDiscovery searches under each case. // returns a EdiscoverySearchable when successful func (m *EdiscoverySearchExportOperation) GetSearch()(EdiscoverySearchable) { val, err := m.GetBackingStore().Get("search") @@ -301,63 +301,63 @@ func (m *EdiscoverySearchExportOperation) Serialize(writer i878a80d2330e89d26896 } return nil } -// SetAdditionalOptions sets the additionalOptions property value. The additionalOptions property +// SetAdditionalOptions sets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetAdditionalOptions(value *AdditionalOptions)() { err := m.GetBackingStore().Set("additionalOptions", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. The name of export provided by the user. func (m *EdiscoverySearchExportOperation) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The description of the export by the user. func (m *EdiscoverySearchExportOperation) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetExportCriteria sets the exportCriteria property value. The exportCriteria property +// SetExportCriteria sets the exportCriteria property value. Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportCriteria(value *ExportCriteria)() { err := m.GetBackingStore().Set("exportCriteria", value) if err != nil { panic(err) } } -// SetExportFileMetadata sets the exportFileMetadata property value. The exportFileMetadata property +// SetExportFileMetadata sets the exportFileMetadata property value. Contains the properties for an export file metadata, including downloadUrl, fileName, and size. func (m *EdiscoverySearchExportOperation) SetExportFileMetadata(value []ExportFileMetadataable)() { err := m.GetBackingStore().Set("exportFileMetadata", value) if err != nil { panic(err) } } -// SetExportFormat sets the exportFormat property value. The exportFormat property +// SetExportFormat sets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportFormat(value *ExportFormat)() { err := m.GetBackingStore().Set("exportFormat", value) if err != nil { panic(err) } } -// SetExportLocation sets the exportLocation property value. The exportLocation property +// SetExportLocation sets the exportLocation property value. Location scope for partially indexed items. You can choose to include partially indexed items only in responsive locations with search hits or in all targeted locations. The possible values are: responsiveLocations, nonresponsiveLocations, unknownFutureValue. func (m *EdiscoverySearchExportOperation) SetExportLocation(value *ExportLocation)() { err := m.GetBackingStore().Set("exportLocation", value) if err != nil { panic(err) } } -// SetExportSingleItems sets the exportSingleItems property value. The exportSingleItems property +// SetExportSingleItems sets the exportSingleItems property value. Indicates whether to export single items. func (m *EdiscoverySearchExportOperation) SetExportSingleItems(value *bool)() { err := m.GetBackingStore().Set("exportSingleItems", value) if err != nil { panic(err) } } -// SetSearch sets the search property value. The search property +// SetSearch sets the search property value. The eDiscovery searches under each case. func (m *EdiscoverySearchExportOperation) SetSearch(value EdiscoverySearchable)() { err := m.GetBackingStore().Set("search", value) if err != nil { diff --git a/models/security/file_plan_descriptor.go b/models/security/file_plan_descriptor.go index a849061197d..6e07d9eed52 100644 --- a/models/security/file_plan_descriptor.go +++ b/models/security/file_plan_descriptor.go @@ -20,7 +20,7 @@ func NewFilePlanDescriptor()(*FilePlanDescriptor) { func CreateFilePlanDescriptorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewFilePlanDescriptor(), nil } -// GetAuthority gets the authority property value. Represents the file plan descriptor of type authority applied to a particular retention label. +// GetAuthority gets the authority property value. The authority property // returns a FilePlanAuthorityable when successful func (m *FilePlanDescriptor) GetAuthority()(FilePlanAuthorityable) { val, err := m.GetBackingStore().Get("authority") @@ -68,7 +68,7 @@ func (m *FilePlanDescriptor) GetCategoryTemplate()(CategoryTemplateable) { } return nil } -// GetCitation gets the citation property value. Represents the file plan descriptor of type citation applied to a particular retention label. +// GetCitation gets the citation property value. The citation property // returns a FilePlanCitationable when successful func (m *FilePlanDescriptor) GetCitation()(FilePlanCitationable) { val, err := m.GetBackingStore().Get("citation") @@ -92,7 +92,7 @@ func (m *FilePlanDescriptor) GetCitationTemplate()(CitationTemplateable) { } return nil } -// GetDepartment gets the department property value. Represents the file plan descriptor of type department applied to a particular retention label. +// GetDepartment gets the department property value. The department property // returns a FilePlanDepartmentable when successful func (m *FilePlanDescriptor) GetDepartment()(FilePlanDepartmentable) { val, err := m.GetBackingStore().Get("department") @@ -222,7 +222,7 @@ func (m *FilePlanDescriptor) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetFilePlanReference gets the filePlanReference property value. Represents the file plan descriptor of type filePlanReference applied to a particular retention label. +// GetFilePlanReference gets the filePlanReference property value. The filePlanReference property // returns a FilePlanReferenceable when successful func (m *FilePlanDescriptor) GetFilePlanReference()(FilePlanReferenceable) { val, err := m.GetBackingStore().Get("filePlanReference") @@ -314,7 +314,7 @@ func (m *FilePlanDescriptor) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetAuthority sets the authority property value. Represents the file plan descriptor of type authority applied to a particular retention label. +// SetAuthority sets the authority property value. The authority property func (m *FilePlanDescriptor) SetAuthority(value FilePlanAuthorityable)() { err := m.GetBackingStore().Set("authority", value) if err != nil { @@ -342,7 +342,7 @@ func (m *FilePlanDescriptor) SetCategoryTemplate(value CategoryTemplateable)() { panic(err) } } -// SetCitation sets the citation property value. Represents the file plan descriptor of type citation applied to a particular retention label. +// SetCitation sets the citation property value. The citation property func (m *FilePlanDescriptor) SetCitation(value FilePlanCitationable)() { err := m.GetBackingStore().Set("citation", value) if err != nil { @@ -356,7 +356,7 @@ func (m *FilePlanDescriptor) SetCitationTemplate(value CitationTemplateable)() { panic(err) } } -// SetDepartment sets the department property value. Represents the file plan descriptor of type department applied to a particular retention label. +// SetDepartment sets the department property value. The department property func (m *FilePlanDescriptor) SetDepartment(value FilePlanDepartmentable)() { err := m.GetBackingStore().Set("department", value) if err != nil { @@ -370,7 +370,7 @@ func (m *FilePlanDescriptor) SetDepartmentTemplate(value DepartmentTemplateable) panic(err) } } -// SetFilePlanReference sets the filePlanReference property value. Represents the file plan descriptor of type filePlanReference applied to a particular retention label. +// SetFilePlanReference sets the filePlanReference property value. The filePlanReference property func (m *FilePlanDescriptor) SetFilePlanReference(value FilePlanReferenceable)() { err := m.GetBackingStore().Set("filePlanReference", value) if err != nil { diff --git a/models/security/retention_event.go b/models/security/retention_event.go index fa07c5cf1a0..b368394d2fd 100644 --- a/models/security/retention_event.go +++ b/models/security/retention_event.go @@ -69,7 +69,7 @@ func (m *RetentionEvent) GetDisplayName()(*string) { } return nil } -// GetEventPropagationResults gets the eventPropagationResults property value. The eventPropagationResults property +// GetEventPropagationResults gets the eventPropagationResults property value. Represents the success status of a created event and additional information. // returns a []EventPropagationResultable when successful func (m *RetentionEvent) GetEventPropagationResults()([]EventPropagationResultable) { val, err := m.GetBackingStore().Get("eventPropagationResults") @@ -81,7 +81,7 @@ func (m *RetentionEvent) GetEventPropagationResults()([]EventPropagationResultab } return nil } -// GetEventQueries gets the eventQueries property value. The eventQueries property +// GetEventQueries gets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. // returns a []EventQueryable when successful func (m *RetentionEvent) GetEventQueries()([]EventQueryable) { val, err := m.GetBackingStore().Get("eventQueries") @@ -93,7 +93,7 @@ func (m *RetentionEvent) GetEventQueries()([]EventQueryable) { } return nil } -// GetEventStatus gets the eventStatus property value. The eventStatus property +// GetEventStatus gets the eventStatus property value. Status of event propogation to the scoped locations after the event has been created. // returns a RetentionEventStatusable when successful func (m *RetentionEvent) GetEventStatus()(RetentionEventStatusable) { val, err := m.GetBackingStore().Get("eventStatus") @@ -423,21 +423,21 @@ func (m *RetentionEvent) SetDisplayName(value *string)() { panic(err) } } -// SetEventPropagationResults sets the eventPropagationResults property value. The eventPropagationResults property +// SetEventPropagationResults sets the eventPropagationResults property value. Represents the success status of a created event and additional information. func (m *RetentionEvent) SetEventPropagationResults(value []EventPropagationResultable)() { err := m.GetBackingStore().Set("eventPropagationResults", value) if err != nil { panic(err) } } -// SetEventQueries sets the eventQueries property value. The eventQueries property +// SetEventQueries sets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. func (m *RetentionEvent) SetEventQueries(value []EventQueryable)() { err := m.GetBackingStore().Set("eventQueries", value) if err != nil { panic(err) } } -// SetEventStatus sets the eventStatus property value. The eventStatus property +// SetEventStatus sets the eventStatus property value. Status of event propogation to the scoped locations after the event has been created. func (m *RetentionEvent) SetEventStatus(value RetentionEventStatusable)() { err := m.GetBackingStore().Set("eventStatus", value) if err != nil { diff --git a/models/security_action.go b/models/security_action.go index 6bc3cdc88eb..c69bc919af7 100644 --- a/models/security_action.go +++ b/models/security_action.go @@ -56,7 +56,7 @@ func (m *SecurityAction) GetAzureTenantId()(*string) { } return nil } -// GetClientContext gets the clientContext property value. The clientContext property +// GetClientContext gets the clientContext property value. Unique client context string. Can have a maximum of 256 characters. // returns a *string when successful func (m *SecurityAction) GetClientContext()(*string) { val, err := m.GetBackingStore().Get("clientContext") @@ -472,7 +472,7 @@ func (m *SecurityAction) SetAzureTenantId(value *string)() { panic(err) } } -// SetClientContext sets the clientContext property value. The clientContext property +// SetClientContext sets the clientContext property value. Unique client context string. Can have a maximum of 256 characters. func (m *SecurityAction) SetClientContext(value *string)() { err := m.GetBackingStore().Set("clientContext", value) if err != nil { diff --git a/models/service_principal.go b/models/service_principal.go index c4f32faed7a..3cf7b08f1d9 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -191,7 +191,7 @@ func (m *ServicePrincipal) GetClaimsMappingPolicies()([]ClaimsMappingPolicyable) } return nil } -// GetClaimsPolicy gets the claimsPolicy property value. The claimsPolicy property +// GetClaimsPolicy gets the claimsPolicy property value. A claims policy that allows application admins to customize the claims that will be emitted in tokens affected by this policy. // returns a CustomClaimsPolicyable when successful func (m *ServicePrincipal) GetClaimsPolicy()(CustomClaimsPolicyable) { val, err := m.GetBackingStore().Get("claimsPolicy") @@ -2053,7 +2053,7 @@ func (m *ServicePrincipal) SetClaimsMappingPolicies(value []ClaimsMappingPolicya panic(err) } } -// SetClaimsPolicy sets the claimsPolicy property value. The claimsPolicy property +// SetClaimsPolicy sets the claimsPolicy property value. A claims policy that allows application admins to customize the claims that will be emitted in tokens affected by this policy. func (m *ServicePrincipal) SetClaimsPolicy(value CustomClaimsPolicyable)() { err := m.GetBackingStore().Set("claimsPolicy", value) if err != nil { diff --git a/models/sharing_detail.go b/models/sharing_detail.go index 3b0ef35dc95..7b6ec857413 100644 --- a/models/sharing_detail.go +++ b/models/sharing_detail.go @@ -143,7 +143,7 @@ func (m *SharingDetail) GetSharedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6 } return nil } -// GetSharingReference gets the sharingReference property value. The sharingReference property +// GetSharingReference gets the sharingReference property value. Reference properties of the document, such as the URL and type of the document. Read-only // returns a ResourceReferenceable when successful func (m *SharingDetail) GetSharingReference()(ResourceReferenceable) { val, err := m.GetBackingStore().Get("sharingReference") @@ -251,7 +251,7 @@ func (m *SharingDetail) SetSharedDateTime(value *i336074805fc853987abe6f7fe3ad97 panic(err) } } -// SetSharingReference sets the sharingReference property value. The sharingReference property +// SetSharingReference sets the sharingReference property value. Reference properties of the document, such as the URL and type of the document. Read-only func (m *SharingDetail) SetSharingReference(value ResourceReferenceable)() { err := m.GetBackingStore().Set("sharingReference", value) if err != nil { diff --git a/models/sign_in.go b/models/sign_in.go index 10f6c64af64..e493710598e 100644 --- a/models/sign_in.go +++ b/models/sign_in.go @@ -68,7 +68,7 @@ func (m *SignIn) GetAppliedEventListeners()([]AppliedAuthenticationEventListener } return nil } -// GetAppTokenProtectionStatus gets the appTokenProtectionStatus property value. The appTokenProtectionStatus property +// GetAppTokenProtectionStatus gets the appTokenProtectionStatus property value. Token protection creates a cryptographically secure tie between the token and the device it's issued to. This field indicates whether the app token was bound to the device. // returns a *TokenProtectionStatus when successful func (m *SignIn) GetAppTokenProtectionStatus()(*TokenProtectionStatus) { val, err := m.GetBackingStore().Get("appTokenProtectionStatus") @@ -1248,7 +1248,7 @@ func (m *SignIn) GetManagedServiceIdentity()(ManagedIdentityable) { } return nil } -// GetMfaDetail gets the mfaDetail property value. The mfaDetail property +// GetMfaDetail gets the mfaDetail property value. This property is deprecated. // returns a MfaDetailable when successful func (m *SignIn) GetMfaDetail()(MfaDetailable) { val, err := m.GetBackingStore().Get("mfaDetail") @@ -2175,7 +2175,7 @@ func (m *SignIn) SetAppliedEventListeners(value []AppliedAuthenticationEventList panic(err) } } -// SetAppTokenProtectionStatus sets the appTokenProtectionStatus property value. The appTokenProtectionStatus property +// SetAppTokenProtectionStatus sets the appTokenProtectionStatus property value. Token protection creates a cryptographically secure tie between the token and the device it's issued to. This field indicates whether the app token was bound to the device. func (m *SignIn) SetAppTokenProtectionStatus(value *TokenProtectionStatus)() { err := m.GetBackingStore().Set("appTokenProtectionStatus", value) if err != nil { @@ -2406,7 +2406,7 @@ func (m *SignIn) SetManagedServiceIdentity(value ManagedIdentityable)() { panic(err) } } -// SetMfaDetail sets the mfaDetail property value. The mfaDetail property +// SetMfaDetail sets the mfaDetail property value. This property is deprecated. func (m *SignIn) SetMfaDetail(value MfaDetailable)() { err := m.GetBackingStore().Set("mfaDetail", value) if err != nil { diff --git a/models/sourced_attribute.go b/models/sourced_attribute.go index 3dbcce47350..b274919f206 100644 --- a/models/sourced_attribute.go +++ b/models/sourced_attribute.go @@ -57,7 +57,7 @@ func (m *SourcedAttribute) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The identifier of the attribute on the specified source. // returns a *string when successful func (m *SourcedAttribute) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -69,7 +69,7 @@ func (m *SourcedAttribute) GetId()(*string) { } return nil } -// GetIsExtensionAttribute gets the isExtensionAttribute property value. The isExtensionAttribute property +// GetIsExtensionAttribute gets the isExtensionAttribute property value. A flag that indicates if the name specified is that of an extension attribute. // returns a *bool when successful func (m *SourcedAttribute) GetIsExtensionAttribute()(*bool) { val, err := m.GetBackingStore().Get("isExtensionAttribute") @@ -81,7 +81,7 @@ func (m *SourcedAttribute) GetIsExtensionAttribute()(*bool) { } return nil } -// GetSource gets the source property value. The source property +// GetSource gets the source property value. The source where the claim is going to retrieve its value. Valid sources include user, application, resource, audience and company. // returns a *string when successful func (m *SourcedAttribute) GetSource()(*string) { val, err := m.GetBackingStore().Get("source") @@ -119,21 +119,21 @@ func (m *SourcedAttribute) Serialize(writer i878a80d2330e89d26896388a3f487eef27b } return nil } -// SetId sets the id property value. The id property +// SetId sets the id property value. The identifier of the attribute on the specified source. func (m *SourcedAttribute) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { panic(err) } } -// SetIsExtensionAttribute sets the isExtensionAttribute property value. The isExtensionAttribute property +// SetIsExtensionAttribute sets the isExtensionAttribute property value. A flag that indicates if the name specified is that of an extension attribute. func (m *SourcedAttribute) SetIsExtensionAttribute(value *bool)() { err := m.GetBackingStore().Set("isExtensionAttribute", value) if err != nil { panic(err) } } -// SetSource sets the source property value. The source property +// SetSource sets the source property value. The source where the claim is going to retrieve its value. Valid sources include user, application, resource, audience and company. func (m *SourcedAttribute) SetSource(value *string)() { err := m.GetBackingStore().Set("source", value) if err != nil { diff --git a/models/starts_with_transformation.go b/models/starts_with_transformation.go index f263a851ad2..718d825e160 100644 --- a/models/starts_with_transformation.go +++ b/models/starts_with_transformation.go @@ -59,7 +59,7 @@ func (m *StartsWithTransformation) GetOutput()(TransformationAttributeable) { } return nil } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The value to be used as part of the transformation. // returns a *string when successful func (m *StartsWithTransformation) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -98,7 +98,7 @@ func (m *StartsWithTransformation) SetOutput(value TransformationAttributeable)( panic(err) } } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The value to be used as part of the transformation. func (m *StartsWithTransformation) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/subject_rights_request_enumerated_mailbox_location.go b/models/subject_rights_request_enumerated_mailbox_location.go index 6230350a8b5..475ef66c522 100644 --- a/models/subject_rights_request_enumerated_mailbox_location.go +++ b/models/subject_rights_request_enumerated_mailbox_location.go @@ -59,7 +59,7 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) GetFieldDeserializers()( } return res } -// GetUpns gets the upns property value. The upns property +// GetUpns gets the upns property value. Collection of mailboxes that should be included in the search. Includes the UPN of each mailbox, for example, Monica.Thompson@contoso.com. Going forward, use the userPrincipalNames property. If you specify either upns or userPrincipalNames, the same values are populated automatically to the other property. // returns a []string when successful func (m *SubjectRightsRequestEnumeratedMailboxLocation) GetUpns()([]string) { val, err := m.GetBackingStore().Get("upns") @@ -103,7 +103,7 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) Serialize(writer i878a80 } return nil } -// SetUpns sets the upns property value. The upns property +// SetUpns sets the upns property value. Collection of mailboxes that should be included in the search. Includes the UPN of each mailbox, for example, Monica.Thompson@contoso.com. Going forward, use the userPrincipalNames property. If you specify either upns or userPrincipalNames, the same values are populated automatically to the other property. func (m *SubjectRightsRequestEnumeratedMailboxLocation) SetUpns(value []string)() { err := m.GetBackingStore().Set("upns", value) if err != nil { diff --git a/models/subscribed_sku.go b/models/subscribed_sku.go index a09b90c3dc6..412baa81a6f 100644 --- a/models/subscribed_sku.go +++ b/models/subscribed_sku.go @@ -246,7 +246,7 @@ func (m *SubscribedSku) GetSkuPartNumber()(*string) { } return nil } -// GetSubscriptionIds gets the subscriptionIds property value. The subscriptionIds property +// GetSubscriptionIds gets the subscriptionIds property value. A list of all subscription IDs associated with this SKU. // returns a []string when successful func (m *SubscribedSku) GetSubscriptionIds()([]string) { val, err := m.GetBackingStore().Get("subscriptionIds") @@ -395,7 +395,7 @@ func (m *SubscribedSku) SetSkuPartNumber(value *string)() { panic(err) } } -// SetSubscriptionIds sets the subscriptionIds property value. The subscriptionIds property +// SetSubscriptionIds sets the subscriptionIds property value. A list of all subscription IDs associated with this SKU. func (m *SubscribedSku) SetSubscriptionIds(value []string)() { err := m.GetBackingStore().Set("subscriptionIds", value) if err != nil { diff --git a/models/substring_transformation.go b/models/substring_transformation.go index 11aa0c99131..2cab9de16f3 100644 --- a/models/substring_transformation.go +++ b/models/substring_transformation.go @@ -47,7 +47,7 @@ func (m *SubstringTransformation) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetIndex gets the index property value. The index property +// GetIndex gets the index property value. The start index of the substring operation, where 0 is the first character in the string. // returns a *int32 when successful func (m *SubstringTransformation) GetIndex()(*int32) { val, err := m.GetBackingStore().Get("index") @@ -59,7 +59,7 @@ func (m *SubstringTransformation) GetIndex()(*int32) { } return nil } -// GetLength gets the length property value. The length property +// GetLength gets the length property value. The maximum length of the string, starting from the provided index. // returns a *int32 when successful func (m *SubstringTransformation) GetLength()(*int32) { val, err := m.GetBackingStore().Get("length") @@ -91,14 +91,14 @@ func (m *SubstringTransformation) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetIndex sets the index property value. The index property +// SetIndex sets the index property value. The start index of the substring operation, where 0 is the first character in the string. func (m *SubstringTransformation) SetIndex(value *int32)() { err := m.GetBackingStore().Set("index", value) if err != nil { panic(err) } } -// SetLength sets the length property value. The length property +// SetLength sets the length property value. The maximum length of the string, starting from the provided index. func (m *SubstringTransformation) SetLength(value *int32)() { err := m.GetBackingStore().Set("length", value) if err != nil { diff --git a/models/teams_tab.go b/models/teams_tab.go index 9cead3e50c7..d0ee1b033bd 100644 --- a/models/teams_tab.go +++ b/models/teams_tab.go @@ -155,7 +155,7 @@ func (m *TeamsTab) GetTeamsApp()(TeamsAppable) { } return nil } -// GetTeamsAppId gets the teamsAppId property value. The teamsAppId property +// GetTeamsAppId gets the teamsAppId property value. App definition identifier of the tab. This value can't be changed after tab creation. Because this property is deprecated, we recommend expanding teamsApp to retrieve the application that is linked to the tab. // returns a *string when successful func (m *TeamsTab) GetTeamsAppId()(*string) { val, err := m.GetBackingStore().Get("teamsAppId") @@ -264,7 +264,7 @@ func (m *TeamsTab) SetTeamsApp(value TeamsAppable)() { panic(err) } } -// SetTeamsAppId sets the teamsAppId property value. The teamsAppId property +// SetTeamsAppId sets the teamsAppId property value. App definition identifier of the tab. This value can't be changed after tab creation. Because this property is deprecated, we recommend expanding teamsApp to retrieve the application that is linked to the tab. func (m *TeamsTab) SetTeamsAppId(value *string)() { err := m.GetBackingStore().Set("teamsAppId", value) if err != nil { diff --git a/models/tenant_relationship_access_policy_base.go b/models/tenant_relationship_access_policy_base.go index de4171c58b4..90ea04e4366 100644 --- a/models/tenant_relationship_access_policy_base.go +++ b/models/tenant_relationship_access_policy_base.go @@ -39,7 +39,7 @@ func CreateTenantRelationshipAccessPolicyBaseFromDiscriminatorValue(parseNode i8 } return NewTenantRelationshipAccessPolicyBase(), nil } -// GetDefinition gets the definition property value. The definition property +// GetDefinition gets the definition property value. The raw JSON definition of the cross-tenant access policy. Deprecated. Do not use. // returns a []string when successful func (m *TenantRelationshipAccessPolicyBase) GetDefinition()([]string) { val, err := m.GetBackingStore().Get("definition") @@ -87,7 +87,7 @@ func (m *TenantRelationshipAccessPolicyBase) Serialize(writer i878a80d2330e89d26 } return nil } -// SetDefinition sets the definition property value. The definition property +// SetDefinition sets the definition property value. The raw JSON definition of the cross-tenant access policy. Deprecated. Do not use. func (m *TenantRelationshipAccessPolicyBase) SetDefinition(value []string)() { err := m.GetBackingStore().Set("definition", value) if err != nil { diff --git a/models/transformation_attribute.go b/models/transformation_attribute.go index 074e6f2ac45..78ba2414382 100644 --- a/models/transformation_attribute.go +++ b/models/transformation_attribute.go @@ -100,7 +100,7 @@ func (m *TransformationAttribute) GetOdataType()(*string) { } return nil } -// GetTreatAsMultiValue gets the treatAsMultiValue property value. The treatAsMultiValue property +// GetTreatAsMultiValue gets the treatAsMultiValue property value. This flag is only relevant in the case where the attribute is multivalued. By default, transformations are only applied to the first element in a multi-valued claim, however setting this flag to true ensures the transformation is applied to all values, resulting in a multivalued output. // returns a *bool when successful func (m *TransformationAttribute) GetTreatAsMultiValue()(*bool) { val, err := m.GetBackingStore().Get("treatAsMultiValue") @@ -165,7 +165,7 @@ func (m *TransformationAttribute) SetOdataType(value *string)() { panic(err) } } -// SetTreatAsMultiValue sets the treatAsMultiValue property value. The treatAsMultiValue property +// SetTreatAsMultiValue sets the treatAsMultiValue property value. This flag is only relevant in the case where the attribute is multivalued. By default, transformations are only applied to the first element in a multi-valued claim, however setting this flag to true ensures the transformation is applied to all values, resulting in a multivalued output. func (m *TransformationAttribute) SetTreatAsMultiValue(value *bool)() { err := m.GetBackingStore().Set("treatAsMultiValue", value) if err != nil { diff --git a/models/trending.go b/models/trending.go index b157a94e930..513f2cf3a2f 100644 --- a/models/trending.go +++ b/models/trending.go @@ -76,7 +76,7 @@ func (m *Trending) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. 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 is 2014-01-01T00:00:00Z // returns a *Time when successful func (m *Trending) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -162,7 +162,7 @@ func (m *Trending) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. 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 is 2014-01-01T00:00:00Z func (m *Trending) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { diff --git a/models/trim_transformation.go b/models/trim_transformation.go index 08f5af00e6f..5a819e51424 100644 --- a/models/trim_transformation.go +++ b/models/trim_transformation.go @@ -59,7 +59,7 @@ func (m *TrimTransformation) GetTypeEscaped()(*TransformationTrimType) { } return nil } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The value to be used as part of the transformation. // returns a *string when successful func (m *TrimTransformation) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -99,7 +99,7 @@ func (m *TrimTransformation) SetTypeEscaped(value *TransformationTrimType)() { panic(err) } } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The value to be used as part of the transformation. func (m *TrimTransformation) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/user.go b/models/user.go index e5b2a38b02c..1b61727201a 100644 --- a/models/user.go +++ b/models/user.go @@ -586,7 +586,7 @@ func (m *User) GetEmployeeId()(*string) { } return nil } -// GetEmployeeLeaveDateTime gets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader, or Global Administrator. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. +// GetEmployeeLeaveDateTime gets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. // returns a *Time when successful func (m *User) GetEmployeeLeaveDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("employeeLeaveDateTime") @@ -2750,7 +2750,7 @@ func (m *User) GetInterests()([]string) { } return nil } -// GetInvitedBy gets the invitedBy property value. The invitedBy property +// GetInvitedBy gets the invitedBy property value. The user or service principal that invited the user. // returns a DirectoryObjectable when successful func (m *User) GetInvitedBy()(DirectoryObjectable) { val, err := m.GetBackingStore().Get("invitedBy") @@ -5421,7 +5421,7 @@ func (m *User) SetEmployeeId(value *string)() { panic(err) } } -// SetEmployeeLeaveDateTime sets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader, or Global Administrator. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. +// SetEmployeeLeaveDateTime sets the employeeLeaveDateTime property value. The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator, Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user. func (m *User) SetEmployeeLeaveDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("employeeLeaveDateTime", value) if err != nil { @@ -5547,7 +5547,7 @@ func (m *User) SetInterests(value []string)() { panic(err) } } -// SetInvitedBy sets the invitedBy property value. The invitedBy property +// SetInvitedBy sets the invitedBy property value. The user or service principal that invited the user. func (m *User) SetInvitedBy(value DirectoryObjectable)() { err := m.GetBackingStore().Set("invitedBy", value) if err != nil { diff --git a/models/value_based_attribute.go b/models/value_based_attribute.go index 44de3efe6b2..ee37ba71adf 100644 --- a/models/value_based_attribute.go +++ b/models/value_based_attribute.go @@ -37,7 +37,7 @@ func (m *ValueBasedAttribute) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetValue gets the value property value. The value property +// GetValue gets the value property value. The static value to be used an the attribute. // returns a *string when successful func (m *ValueBasedAttribute) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -63,7 +63,7 @@ func (m *ValueBasedAttribute) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetValue sets the value property value. The value property +// SetValue sets the value property value. The static value to be used an the attribute. func (m *ValueBasedAttribute) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/virtual_endpoint.go b/models/virtual_endpoint.go index 7785b387926..72eccd3a74c 100644 --- a/models/virtual_endpoint.go +++ b/models/virtual_endpoint.go @@ -435,7 +435,7 @@ func (m *VirtualEndpoint) GetServicePlans()([]CloudPcServicePlanable) { } return nil } -// GetSharedUseServicePlans gets the sharedUseServicePlans property value. The sharedUseServicePlans property +// GetSharedUseServicePlans gets the sharedUseServicePlans property value. Cloud PC shared-use service plans. The sharedUseServicePlans relationship is deprecated and stopped returning data on October 8, 2023. Going forward, use the frontLineServicePlans relationship. // returns a []CloudPcSharedUseServicePlanable when successful func (m *VirtualEndpoint) GetSharedUseServicePlans()([]CloudPcSharedUseServicePlanable) { val, err := m.GetBackingStore().Get("sharedUseServicePlans") @@ -768,7 +768,7 @@ func (m *VirtualEndpoint) SetServicePlans(value []CloudPcServicePlanable)() { panic(err) } } -// SetSharedUseServicePlans sets the sharedUseServicePlans property value. The sharedUseServicePlans property +// SetSharedUseServicePlans sets the sharedUseServicePlans property value. Cloud PC shared-use service plans. The sharedUseServicePlans relationship is deprecated and stopped returning data on October 8, 2023. Going forward, use the frontLineServicePlans relationship. func (m *VirtualEndpoint) SetSharedUseServicePlans(value []CloudPcSharedUseServicePlanable)() { err := m.GetBackingStore().Set("sharedUseServicePlans", value) if err != nil { diff --git a/models/virtual_event_presenter.go b/models/virtual_event_presenter.go index 25f652261b8..6ebe019d062 100644 --- a/models/virtual_event_presenter.go +++ b/models/virtual_event_presenter.go @@ -95,7 +95,7 @@ func (m *VirtualEventPresenter) GetIdentity()(Identityable) { } return nil } -// GetPresenterDetails gets the presenterDetails property value. Other detail information of the presenter. +// GetPresenterDetails gets the presenterDetails property value. Other detail information of the presenter. This property returns null when the virtual event type is virtualEventTownhall. // returns a VirtualEventPresenterDetailsable when successful func (m *VirtualEventPresenter) GetPresenterDetails()(VirtualEventPresenterDetailsable) { val, err := m.GetBackingStore().Get("presenterDetails") @@ -171,7 +171,7 @@ func (m *VirtualEventPresenter) SetIdentity(value Identityable)() { panic(err) } } -// SetPresenterDetails sets the presenterDetails property value. Other detail information of the presenter. +// SetPresenterDetails sets the presenterDetails property value. Other detail information of the presenter. This property returns null when the virtual event type is virtualEventTownhall. func (m *VirtualEventPresenter) SetPresenterDetails(value VirtualEventPresenterDetailsable)() { err := m.GetBackingStore().Set("presenterDetails", value) if err != nil { diff --git a/models/virtual_event_registration.go b/models/virtual_event_registration.go index 6db0ded9b84..d6b079f6935 100644 --- a/models/virtual_event_registration.go +++ b/models/virtual_event_registration.go @@ -88,6 +88,26 @@ func (m *VirtualEventRegistration) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["preferredLanguage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPreferredLanguage(val) + } + return nil + } + res["preferredTimezone"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPreferredTimezone(val) + } + return nil + } res["registrationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -176,6 +196,30 @@ func (m *VirtualEventRegistration) GetLastName()(*string) { } return nil } +// GetPreferredLanguage gets the preferredLanguage property value. The preferredLanguage property +// returns a *string when successful +func (m *VirtualEventRegistration) GetPreferredLanguage()(*string) { + val, err := m.GetBackingStore().Get("preferredLanguage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPreferredTimezone gets the preferredTimezone property value. The preferredTimezone property +// returns a *string when successful +func (m *VirtualEventRegistration) GetPreferredTimezone()(*string) { + val, err := m.GetBackingStore().Get("preferredTimezone") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetRegistrationDateTime gets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. 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 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *VirtualEventRegistration) GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -266,6 +310,18 @@ func (m *VirtualEventRegistration) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + { + err = writer.WriteStringValue("preferredLanguage", m.GetPreferredLanguage()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("preferredTimezone", m.GetPreferredTimezone()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("registrationDateTime", m.GetRegistrationDateTime()) if err != nil { @@ -339,6 +395,20 @@ func (m *VirtualEventRegistration) SetLastName(value *string)() { panic(err) } } +// SetPreferredLanguage sets the preferredLanguage property value. The preferredLanguage property +func (m *VirtualEventRegistration) SetPreferredLanguage(value *string)() { + err := m.GetBackingStore().Set("preferredLanguage", value) + if err != nil { + panic(err) + } +} +// SetPreferredTimezone sets the preferredTimezone property value. The preferredTimezone property +func (m *VirtualEventRegistration) SetPreferredTimezone(value *string)() { + err := m.GetBackingStore().Set("preferredTimezone", value) + if err != nil { + panic(err) + } +} // SetRegistrationDateTime sets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. 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 is 2014-01-01T00:00:00Z. func (m *VirtualEventRegistration) SetRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("registrationDateTime", value) @@ -381,6 +451,8 @@ type VirtualEventRegistrationable interface { GetEmail()(*string) GetFirstName()(*string) GetLastName()(*string) + GetPreferredLanguage()(*string) + GetPreferredTimezone()(*string) GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRegistrationQuestionAnswers()([]VirtualEventRegistrationQuestionAnswerable) GetSessions()([]VirtualEventSessionable) @@ -390,6 +462,8 @@ type VirtualEventRegistrationable interface { SetEmail(value *string)() SetFirstName(value *string)() SetLastName(value *string)() + SetPreferredLanguage(value *string)() + SetPreferredTimezone(value *string)() SetRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRegistrationQuestionAnswers(value []VirtualEventRegistrationQuestionAnswerable)() SetSessions(value []VirtualEventSessionable)() diff --git a/models/virtual_event_session.go b/models/virtual_event_session.go index 1d6c8a4a324..dfdb14f253f 100644 --- a/models/virtual_event_session.go +++ b/models/virtual_event_session.go @@ -21,7 +21,7 @@ func NewVirtualEventSession()(*VirtualEventSession) { func CreateVirtualEventSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewVirtualEventSession(), nil } -// GetEndDateTime gets the endDateTime property value. The endDateTime property +// GetEndDateTime gets the endDateTime property value. The virtual event session end time. // returns a DateTimeTimeZoneable when successful func (m *VirtualEventSession) GetEndDateTime()(DateTimeTimeZoneable) { val, err := m.GetBackingStore().Get("endDateTime") @@ -115,7 +115,7 @@ func (m *VirtualEventSession) GetRegistrations()([]VirtualEventRegistrationable) } return nil } -// GetStartDateTime gets the startDateTime property value. The startDateTime property +// GetStartDateTime gets the startDateTime property value. The virtual event session start time. // returns a DateTimeTimeZoneable when successful func (m *VirtualEventSession) GetStartDateTime()(DateTimeTimeZoneable) { val, err := m.GetBackingStore().Get("startDateTime") @@ -171,7 +171,7 @@ func (m *VirtualEventSession) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetEndDateTime sets the endDateTime property value. The endDateTime property +// SetEndDateTime sets the endDateTime property value. The virtual event session end time. func (m *VirtualEventSession) SetEndDateTime(value DateTimeTimeZoneable)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { @@ -192,7 +192,7 @@ func (m *VirtualEventSession) SetRegistrations(value []VirtualEventRegistrationa panic(err) } } -// SetStartDateTime sets the startDateTime property value. The startDateTime property +// SetStartDateTime sets the startDateTime property value. The virtual event session start time. func (m *VirtualEventSession) SetStartDateTime(value DateTimeTimeZoneable)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index 9f8c4a96285..1d7b26dfe27 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. 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. +// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. // 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. 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. +// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_domain_join_configuration.go b/models/windows_domain_join_configuration.go index 988d96356d8..e490c9ef3e1 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. This collection can contain a maximum of 2 elements. +// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity // 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. This collection can contain a maximum of 2 elements. +// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity func (m *WindowsDomainJoinConfiguration) SetNetworkAccessConfigurations(value []DeviceConfigurationable)() { err := m.GetBackingStore().Set("networkAccessConfigurations", value) if err != nil { diff --git a/models/workbook_filter_criteria.go b/models/workbook_filter_criteria.go index b286fa90b44..c2e914133c1 100644 --- a/models/workbook_filter_criteria.go +++ b/models/workbook_filter_criteria.go @@ -40,7 +40,7 @@ func (m *WorkbookFilterCriteria) GetAdditionalData()(map[string]any) { func (m *WorkbookFilterCriteria) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetColor gets the color property value. The color property +// GetColor gets the color property value. The color applied to the cell. // returns a *string when successful func (m *WorkbookFilterCriteria) GetColor()(*string) { val, err := m.GetBackingStore().Get("color") @@ -52,7 +52,7 @@ func (m *WorkbookFilterCriteria) GetColor()(*string) { } return nil } -// GetCriterion1 gets the criterion1 property value. The criterion1 property +// GetCriterion1 gets the criterion1 property value. A custom criterion. // returns a *string when successful func (m *WorkbookFilterCriteria) GetCriterion1()(*string) { val, err := m.GetBackingStore().Get("criterion1") @@ -64,7 +64,7 @@ func (m *WorkbookFilterCriteria) GetCriterion1()(*string) { } return nil } -// GetCriterion2 gets the criterion2 property value. The criterion2 property +// GetCriterion2 gets the criterion2 property value. A custom criterion. // returns a *string when successful func (m *WorkbookFilterCriteria) GetCriterion2()(*string) { val, err := m.GetBackingStore().Get("criterion2") @@ -76,7 +76,7 @@ func (m *WorkbookFilterCriteria) GetCriterion2()(*string) { } return nil } -// GetDynamicCriteria gets the dynamicCriteria property value. The dynamicCriteria property +// GetDynamicCriteria gets the dynamicCriteria property value. A dynamic formula specified in a custom filter. // returns a *string when successful func (m *WorkbookFilterCriteria) GetDynamicCriteria()(*string) { val, err := m.GetBackingStore().Get("dynamicCriteria") @@ -184,7 +184,7 @@ func (m *WorkbookFilterCriteria) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetFilterOn gets the filterOn property value. The filterOn property +// GetFilterOn gets the filterOn property value. Indicates whether a filter is applied to a column. // returns a *string when successful func (m *WorkbookFilterCriteria) GetFilterOn()(*string) { val, err := m.GetBackingStore().Get("filterOn") @@ -196,7 +196,7 @@ func (m *WorkbookFilterCriteria) GetFilterOn()(*string) { } return nil } -// GetIcon gets the icon property value. The icon property +// GetIcon gets the icon property value. An icon applied via conditional formatting. // returns a WorkbookIconable when successful func (m *WorkbookFilterCriteria) GetIcon()(WorkbookIconable) { val, err := m.GetBackingStore().Get("icon") @@ -220,7 +220,7 @@ func (m *WorkbookFilterCriteria) GetOdataType()(*string) { } return nil } -// GetOperator gets the operator property value. The operator property +// GetOperator gets the operator property value. An operator in a cell; for example, =, >, <, <=, or <>. // returns a *string when successful func (m *WorkbookFilterCriteria) GetOperator()(*string) { val, err := m.GetBackingStore().Get("operator") @@ -232,7 +232,7 @@ func (m *WorkbookFilterCriteria) GetOperator()(*string) { } return nil } -// GetValues gets the values property value. The values property +// GetValues gets the values property value. The values that appear in the cell. // returns a Jsonable when successful func (m *WorkbookFilterCriteria) GetValues()(Jsonable) { val, err := m.GetBackingStore().Get("values") @@ -319,42 +319,42 @@ func (m *WorkbookFilterCriteria) SetAdditionalData(value map[string]any)() { func (m *WorkbookFilterCriteria) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetColor sets the color property value. The color property +// SetColor sets the color property value. The color applied to the cell. func (m *WorkbookFilterCriteria) SetColor(value *string)() { err := m.GetBackingStore().Set("color", value) if err != nil { panic(err) } } -// SetCriterion1 sets the criterion1 property value. The criterion1 property +// SetCriterion1 sets the criterion1 property value. A custom criterion. func (m *WorkbookFilterCriteria) SetCriterion1(value *string)() { err := m.GetBackingStore().Set("criterion1", value) if err != nil { panic(err) } } -// SetCriterion2 sets the criterion2 property value. The criterion2 property +// SetCriterion2 sets the criterion2 property value. A custom criterion. func (m *WorkbookFilterCriteria) SetCriterion2(value *string)() { err := m.GetBackingStore().Set("criterion2", value) if err != nil { panic(err) } } -// SetDynamicCriteria sets the dynamicCriteria property value. The dynamicCriteria property +// SetDynamicCriteria sets the dynamicCriteria property value. A dynamic formula specified in a custom filter. func (m *WorkbookFilterCriteria) SetDynamicCriteria(value *string)() { err := m.GetBackingStore().Set("dynamicCriteria", value) if err != nil { panic(err) } } -// SetFilterOn sets the filterOn property value. The filterOn property +// SetFilterOn sets the filterOn property value. Indicates whether a filter is applied to a column. func (m *WorkbookFilterCriteria) SetFilterOn(value *string)() { err := m.GetBackingStore().Set("filterOn", value) if err != nil { panic(err) } } -// SetIcon sets the icon property value. The icon property +// SetIcon sets the icon property value. An icon applied via conditional formatting. func (m *WorkbookFilterCriteria) SetIcon(value WorkbookIconable)() { err := m.GetBackingStore().Set("icon", value) if err != nil { @@ -368,14 +368,14 @@ func (m *WorkbookFilterCriteria) SetOdataType(value *string)() { panic(err) } } -// SetOperator sets the operator property value. The operator property +// SetOperator sets the operator property value. An operator in a cell; for example, =, >, <, <=, or <>. func (m *WorkbookFilterCriteria) SetOperator(value *string)() { err := m.GetBackingStore().Set("operator", value) if err != nil { panic(err) } } -// SetValues sets the values property value. The values property +// SetValues sets the values property value. The values that appear in the cell. func (m *WorkbookFilterCriteria) SetValues(value Jsonable)() { err := m.GetBackingStore().Set("values", value) if err != nil { diff --git a/models/workbook_range_view.go b/models/workbook_range_view.go index 9ee336bc44d..a58691d0ed6 100644 --- a/models/workbook_range_view.go +++ b/models/workbook_range_view.go @@ -19,7 +19,7 @@ func NewWorkbookRangeView()(*WorkbookRangeView) { func CreateWorkbookRangeViewFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookRangeView(), nil } -// GetCellAddresses gets the cellAddresses property value. The cellAddresses property +// GetCellAddresses gets the cellAddresses property value. Represents the cell addresses // returns a Jsonable when successful func (m *WorkbookRangeView) GetCellAddresses()(Jsonable) { val, err := m.GetBackingStore().Get("cellAddresses") @@ -381,7 +381,7 @@ func (m *WorkbookRangeView) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } return nil } -// SetCellAddresses sets the cellAddresses property value. The cellAddresses property +// SetCellAddresses sets the cellAddresses property value. Represents the cell addresses func (m *WorkbookRangeView) SetCellAddresses(value Jsonable)() { err := m.GetBackingStore().Set("cellAddresses", value) if err != nil { diff --git a/onpremisespublishingprofiles/item_application_segments_count_request_builder.go b/onpremisespublishingprofiles/item_application_segments_count_request_builder.go new file mode 100644 index 00000000000..acf2198e448 --- /dev/null +++ b/onpremisespublishingprofiles/item_application_segments_count_request_builder.go @@ -0,0 +1,80 @@ +package onpremisespublishingprofiles + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemApplicationSegmentsCountRequestBuilder provides operations to count the resources in the collection. +type ItemApplicationSegmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemApplicationSegmentsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemApplicationSegmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemApplicationSegmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemApplicationSegmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemApplicationSegmentsCountRequestBuilderGetQueryParameters +} +// NewItemApplicationSegmentsCountRequestBuilderInternal instantiates a new ItemApplicationSegmentsCountRequestBuilder and sets the default values. +func NewItemApplicationSegmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsCountRequestBuilder) { + m := &ItemApplicationSegmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/onPremisesPublishingProfiles/{onPremisesPublishingProfile%2Did}/applicationSegments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemApplicationSegmentsCountRequestBuilder instantiates a new ItemApplicationSegmentsCountRequestBuilder and sets the default values. +func NewItemApplicationSegmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemApplicationSegmentsCountRequestBuilderInternal(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 *ItemApplicationSegmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApplicationSegmentsCountRequestBuilderGetRequestConfiguration)(*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 *ItemApplicationSegmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApplicationSegmentsCountRequestBuilderGetRequestConfiguration)(*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 *ItemApplicationSegmentsCountRequestBuilder when successful +func (m *ItemApplicationSegmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemApplicationSegmentsCountRequestBuilder) { + return NewItemApplicationSegmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_application_segments_ip_application_segment_item_request_builder.go b/onpremisespublishingprofiles/item_application_segments_ip_application_segment_item_request_builder.go new file mode 100644 index 00000000000..f9a2b0a09f2 --- /dev/null +++ b/onpremisespublishingprofiles/item_application_segments_ip_application_segment_item_request_builder.go @@ -0,0 +1,81 @@ +package onpremisespublishingprofiles + +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" +) + +// ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder provides operations to manage the applicationSegments property of the microsoft.graph.onPremisesPublishingProfile entity. +type ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetQueryParameters get applicationSegments from onPremisesPublishingProfiles +type ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetQueryParameters +} +// NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderInternal instantiates a new ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder and sets the default values. +func NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) { + m := &ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/onPremisesPublishingProfiles/{onPremisesPublishingProfile%2Did}/applicationSegments/{ipApplicationSegment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder instantiates a new ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder and sets the default values. +func NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get applicationSegments from onPremisesPublishingProfiles +// returns a IpApplicationSegmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IpApplicationSegmentable, 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.CreateIpApplicationSegmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IpApplicationSegmentable), nil +} +// ToGetRequestInformation get applicationSegments from onPremisesPublishingProfiles +// returns a *RequestInformation when successful +func (m *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderGetRequestConfiguration)(*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 *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder when successful +func (m *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) { + return NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_application_segments_request_builder.go b/onpremisespublishingprofiles/item_application_segments_request_builder.go new file mode 100644 index 00000000000..49126c7648d --- /dev/null +++ b/onpremisespublishingprofiles/item_application_segments_request_builder.go @@ -0,0 +1,110 @@ +package onpremisespublishingprofiles + +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" +) + +// ItemApplicationSegmentsRequestBuilder provides operations to manage the applicationSegments property of the microsoft.graph.onPremisesPublishingProfile entity. +type ItemApplicationSegmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemApplicationSegmentsRequestBuilderGetQueryParameters get applicationSegments from onPremisesPublishingProfiles +type ItemApplicationSegmentsRequestBuilderGetQueryParameters 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"` +} +// ItemApplicationSegmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemApplicationSegmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemApplicationSegmentsRequestBuilderGetQueryParameters +} +// ByIpApplicationSegmentId provides operations to manage the applicationSegments property of the microsoft.graph.onPremisesPublishingProfile entity. +// returns a *ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder when successful +func (m *ItemApplicationSegmentsRequestBuilder) ByIpApplicationSegmentId(ipApplicationSegmentId string)(*ItemApplicationSegmentsIpApplicationSegmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if ipApplicationSegmentId != "" { + urlTplParams["ipApplicationSegment%2Did"] = ipApplicationSegmentId + } + return NewItemApplicationSegmentsIpApplicationSegmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemApplicationSegmentsRequestBuilderInternal instantiates a new ItemApplicationSegmentsRequestBuilder and sets the default values. +func NewItemApplicationSegmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsRequestBuilder) { + m := &ItemApplicationSegmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/onPremisesPublishingProfiles/{onPremisesPublishingProfile%2Did}/applicationSegments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemApplicationSegmentsRequestBuilder instantiates a new ItemApplicationSegmentsRequestBuilder and sets the default values. +func NewItemApplicationSegmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemApplicationSegmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemApplicationSegmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemApplicationSegmentsCountRequestBuilder when successful +func (m *ItemApplicationSegmentsRequestBuilder) Count()(*ItemApplicationSegmentsCountRequestBuilder) { + return NewItemApplicationSegmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get applicationSegments from onPremisesPublishingProfiles +// returns a IpApplicationSegmentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemApplicationSegmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApplicationSegmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IpApplicationSegmentCollectionResponseable, 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.CreateIpApplicationSegmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IpApplicationSegmentCollectionResponseable), nil +} +// ToGetRequestInformation get applicationSegments from onPremisesPublishingProfiles +// returns a *RequestInformation when successful +func (m *ItemApplicationSegmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApplicationSegmentsRequestBuilderGetRequestConfiguration)(*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 *ItemApplicationSegmentsRequestBuilder when successful +func (m *ItemApplicationSegmentsRequestBuilder) WithUrl(rawUrl string)(*ItemApplicationSegmentsRequestBuilder) { + return NewItemApplicationSegmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go index 298841f4b7c..c54e78b4ea3 100644 --- a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go +++ b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go @@ -51,6 +51,11 @@ func (m *OnPremisesPublishingProfileItemRequestBuilder) AgentGroups()(*ItemAgent func (m *OnPremisesPublishingProfileItemRequestBuilder) Agents()(*ItemAgentsRequestBuilder) { return NewItemAgentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ApplicationSegments provides operations to manage the applicationSegments property of the microsoft.graph.onPremisesPublishingProfile entity. +// returns a *ItemApplicationSegmentsRequestBuilder when successful +func (m *OnPremisesPublishingProfileItemRequestBuilder) ApplicationSegments()(*ItemApplicationSegmentsRequestBuilder) { + return NewItemApplicationSegmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ConnectorGroups provides operations to manage the connectorGroups property of the microsoft.graph.onPremisesPublishingProfile entity. // returns a *ItemConnectorGroupsRequestBuilder when successful func (m *OnPremisesPublishingProfileItemRequestBuilder) ConnectorGroups()(*ItemConnectorGroupsRequestBuilder) { diff --git a/planner/rosters_item_assign_sensitivity_label_post_request_body.go b/planner/rosters_item_assign_sensitivity_label_post_request_body.go new file mode 100644 index 00000000000..47e4d05a4ed --- /dev/null +++ b/planner/rosters_item_assign_sensitivity_label_post_request_body.go @@ -0,0 +1,152 @@ +package planner + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "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 RostersItemAssignSensitivityLabelPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRostersItemAssignSensitivityLabelPostRequestBody instantiates a new RostersItemAssignSensitivityLabelPostRequestBody and sets the default values. +func NewRostersItemAssignSensitivityLabelPostRequestBody()(*RostersItemAssignSensitivityLabelPostRequestBody) { + m := &RostersItemAssignSensitivityLabelPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRostersItemAssignSensitivityLabelPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRostersItemAssignSensitivityLabelPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRostersItemAssignSensitivityLabelPostRequestBody(), 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 *RostersItemAssignSensitivityLabelPostRequestBody) 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) +} +// GetAssignmentMethod gets the assignmentMethod property value. The assignmentMethod property +// returns a *SensitivityLabelAssignmentMethod when successful +func (m *RostersItemAssignSensitivityLabelPostRequestBody) GetAssignmentMethod()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod) { + val, err := m.GetBackingStore().Get("assignmentMethod") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RostersItemAssignSensitivityLabelPostRequestBody) 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 *RostersItemAssignSensitivityLabelPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignmentMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseSensitivityLabelAssignmentMethod) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentMethod(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod)) + } + return nil + } + res["sensitivityLabelId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabelId(val) + } + return nil + } + return res +} +// GetSensitivityLabelId gets the sensitivityLabelId property value. The sensitivityLabelId property +// returns a *string when successful +func (m *RostersItemAssignSensitivityLabelPostRequestBody) GetSensitivityLabelId()(*string) { + val, err := m.GetBackingStore().Get("sensitivityLabelId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *RostersItemAssignSensitivityLabelPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignmentMethod() != nil { + cast := (*m.GetAssignmentMethod()).String() + err := writer.WriteStringValue("assignmentMethod", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sensitivityLabelId", m.GetSensitivityLabelId()) + 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 *RostersItemAssignSensitivityLabelPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAssignmentMethod sets the assignmentMethod property value. The assignmentMethod property +func (m *RostersItemAssignSensitivityLabelPostRequestBody) SetAssignmentMethod(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod)() { + err := m.GetBackingStore().Set("assignmentMethod", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RostersItemAssignSensitivityLabelPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetSensitivityLabelId sets the sensitivityLabelId property value. The sensitivityLabelId property +func (m *RostersItemAssignSensitivityLabelPostRequestBody) SetSensitivityLabelId(value *string)() { + err := m.GetBackingStore().Set("sensitivityLabelId", value) + if err != nil { + panic(err) + } +} +type RostersItemAssignSensitivityLabelPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentMethod()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetSensitivityLabelId()(*string) + SetAssignmentMethod(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SensitivityLabelAssignmentMethod)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetSensitivityLabelId(value *string)() +} diff --git a/planner/rosters_item_assign_sensitivity_label_request_builder.go b/planner/rosters_item_assign_sensitivity_label_request_builder.go new file mode 100644 index 00000000000..a13650faa67 --- /dev/null +++ b/planner/rosters_item_assign_sensitivity_label_request_builder.go @@ -0,0 +1,73 @@ +package planner + +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" +) + +// RostersItemAssignSensitivityLabelRequestBuilder provides operations to call the assignSensitivityLabel method. +type RostersItemAssignSensitivityLabelRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// RostersItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type RostersItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewRostersItemAssignSensitivityLabelRequestBuilderInternal instantiates a new RostersItemAssignSensitivityLabelRequestBuilder and sets the default values. +func NewRostersItemAssignSensitivityLabelRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RostersItemAssignSensitivityLabelRequestBuilder) { + m := &RostersItemAssignSensitivityLabelRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/planner/rosters/{plannerRoster%2Did}/assignSensitivityLabel", pathParameters), + } + return m +} +// NewRostersItemAssignSensitivityLabelRequestBuilder instantiates a new RostersItemAssignSensitivityLabelRequestBuilder and sets the default values. +func NewRostersItemAssignSensitivityLabelRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RostersItemAssignSensitivityLabelRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewRostersItemAssignSensitivityLabelRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action assignSensitivityLabel +// returns a PlannerRosterable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *RostersItemAssignSensitivityLabelRequestBuilder) Post(ctx context.Context, body RostersItemAssignSensitivityLabelPostRequestBodyable, requestConfiguration *RostersItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable, 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.CreatePlannerRosterFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable), nil +} +// ToPostRequestInformation invoke action assignSensitivityLabel +// returns a *RequestInformation when successful +func (m *RostersItemAssignSensitivityLabelRequestBuilder) ToPostRequestInformation(ctx context.Context, body RostersItemAssignSensitivityLabelPostRequestBodyable, requestConfiguration *RostersItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration)(*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 *RostersItemAssignSensitivityLabelRequestBuilder when successful +func (m *RostersItemAssignSensitivityLabelRequestBuilder) WithUrl(rawUrl string)(*RostersItemAssignSensitivityLabelRequestBuilder) { + return NewRostersItemAssignSensitivityLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_planner_roster_item_request_builder.go b/planner/rosters_planner_roster_item_request_builder.go index 4cde462cd22..21af959a245 100644 --- a/planner/rosters_planner_roster_item_request_builder.go +++ b/planner/rosters_planner_roster_item_request_builder.go @@ -41,6 +41,11 @@ type RostersPlannerRosterItemRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AssignSensitivityLabel provides operations to call the assignSensitivityLabel method. +// returns a *RostersItemAssignSensitivityLabelRequestBuilder when successful +func (m *RostersPlannerRosterItemRequestBuilder) AssignSensitivityLabel()(*RostersItemAssignSensitivityLabelRequestBuilder) { + return NewRostersItemAssignSensitivityLabelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewRostersPlannerRosterItemRequestBuilderInternal instantiates a new RostersPlannerRosterItemRequestBuilder and sets the default values. func NewRostersPlannerRosterItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*RostersPlannerRosterItemRequestBuilder) { m := &RostersPlannerRosterItemRequestBuilder{ diff --git a/riskdetections/risk_detections_request_builder.go b/riskdetections/risk_detections_request_builder.go index 57902cbefce..ad6291d25f0 100644 --- a/riskdetections/risk_detections_request_builder.go +++ b/riskdetections/risk_detections_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskDetectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. +// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. type RiskDetectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -71,12 +71,12 @@ func NewRiskDetectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewRiskDetectionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of a riskDetection object. +// Get retrieve the properties of a collection of riskDetection objects. // returns a RiskDetectionCollectionResponseable 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/riskdetection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta func (m *RiskDetectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +114,7 @@ func (m *RiskDetectionsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable), nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. // returns a *RequestInformation when successful func (m *RiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/microsoft_graph_security_run_hunting_query_request_builder.go b/security/microsoft_graph_security_run_hunting_query_request_builder.go index a786897ffdf..26afe7fd90a 100644 --- a/security/microsoft_graph_security_run_hunting_query_request_builder.go +++ b/security/microsoft_graph_security_run_hunting_query_request_builder.go @@ -31,7 +31,7 @@ func NewMicrosoftGraphSecurityRunHuntingQueryRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewMicrosoftGraphSecurityRunHuntingQueryRequestBuilderInternal(urlParams, requestAdapter) } -// Post queries a specified set of event, activity, or entity data supported by Microsoft 365 Defender to proactively look for specific threats in your environment. This is the method for advanced hunting in Microsoft 365 Defender. This method includes a query in Kusto Query Language (KQL). It specifies a data table in the advanced hunting schema and a piped sequence of operators to filter or search that data, and format the query output in specific ways. Find out more about hunting for threats across devices, emails, apps, and identities. Learn about KQL. For information on using advanced hunting in the Microsoft 365 Defender portal, see Proactively hunt for threats with advanced hunting in Microsoft 365 Defender. +// Post query a specified set of event, activity, or entity data supported by Microsoft 365 Defender to proactively look for specific threats in your environment. This method is for advanced hunting in Microsoft 365 Defender. This method includes a query in Kusto Query Language (KQL). It specifies a data table in the advanced hunting schema and a piped sequence of operators to filter or search that data, and format the query output in specific ways. Find out more about hunting for threats across devices, emails, apps, and identities. Learn about KQL. For information on using advanced hunting in the Microsoft 365 Defender portal, see Proactively hunt for threats with advanced hunting in Microsoft 365 Defender. // returns a HuntingQueryResultsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) Post(ctx context.Context, body MicrosoftGraphSecurityRunHuntingQueryRunHuntingQueryPostRequestBodyable, requestConfiguration *MicrosoftGraphSecurityRunHuntingQueryRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HuntingQueryResultsable, error) { @@ -51,7 +51,7 @@ func (m *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) Post(ctx context.C } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HuntingQueryResultsable), nil } -// ToPostRequestInformation queries a specified set of event, activity, or entity data supported by Microsoft 365 Defender to proactively look for specific threats in your environment. This is the method for advanced hunting in Microsoft 365 Defender. This method includes a query in Kusto Query Language (KQL). It specifies a data table in the advanced hunting schema and a piped sequence of operators to filter or search that data, and format the query output in specific ways. Find out more about hunting for threats across devices, emails, apps, and identities. Learn about KQL. For information on using advanced hunting in the Microsoft 365 Defender portal, see Proactively hunt for threats with advanced hunting in Microsoft 365 Defender. +// ToPostRequestInformation query a specified set of event, activity, or entity data supported by Microsoft 365 Defender to proactively look for specific threats in your environment. This method is for advanced hunting in Microsoft 365 Defender. This method includes a query in Kusto Query Language (KQL). It specifies a data table in the advanced hunting schema and a piped sequence of operators to filter or search that data, and format the query output in specific ways. Find out more about hunting for threats across devices, emails, apps, and identities. Learn about KQL. For information on using advanced hunting in the Microsoft 365 Defender portal, see Proactively hunt for threats with advanced hunting in Microsoft 365 Defender. // returns a *RequestInformation when successful func (m *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) ToPostRequestInformation(ctx context.Context, body MicrosoftGraphSecurityRunHuntingQueryRunHuntingQueryPostRequestBodyable, requestConfiguration *MicrosoftGraphSecurityRunHuntingQueryRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_claims_policy_request_builder.go b/serviceprincipals/item_claims_policy_request_builder.go index adc36291315..8fb60ea095e 100644 --- a/serviceprincipals/item_claims_policy_request_builder.go +++ b/serviceprincipals/item_claims_policy_request_builder.go @@ -18,7 +18,7 @@ type ItemClaimsPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemClaimsPolicyRequestBuilderGetQueryParameters get claimsPolicy from servicePrincipals +// ItemClaimsPolicyRequestBuilderGetQueryParameters get the properties and relationships of a customClaimsPolicy object. type ItemClaimsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *ItemClaimsPolicyRequestBuilder) Delete(ctx context.Context, requestConf } return nil } -// Get get claimsPolicy from servicePrincipals +// Get get the properties and relationships of a customClaimsPolicy object. // 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-get?view=graph-rest-beta func (m *ItemClaimsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemClaimsPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +93,12 @@ func (m *ItemClaimsPolicyRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable), nil } -// Patch update the navigation property claimsPolicy in servicePrincipals +// 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/serviceprincipal-put-customclaimspolicy?view=graph-rest-beta func (m *ItemClaimsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +127,7 @@ func (m *ItemClaimsPolicyRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get claimsPolicy from servicePrincipals +// ToGetRequestInformation get the properties and relationships of a customClaimsPolicy object. // returns a *RequestInformation when successful func (m *ItemClaimsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *ItemClaimsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property claimsPolicy in servicePrincipals +// ToPatchRequestInformation create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a *RequestInformation when successful func (m *ItemClaimsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_drive_item_content_request_builder.go b/shares/item_drive_item_content_request_builder.go index cb7bc66273d..7035fd1a0a4 100644 --- a/shares/item_drive_item_content_request_builder.go +++ b/shares/item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemDriveItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from shares +// ItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemDriveItemContentRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in shares +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemDriveItemContentRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get get content for the navigation property driveItem from shares +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestCon } return res.([]byte), nil } -// Put update content for the navigation property driveItem in shares +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in shares +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from shares +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in shares +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_items_item_content_request_builder.go b/shares/item_items_item_content_request_builder.go index 55ec8f696ff..253c17e764c 100644 --- a/shares/item_items_item_content_request_builder.go +++ b/shares/item_items_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemContentRequestBuilderGetQueryParameters get content for the navigation property items from shares +// ItemItemsItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemItemsItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemItemsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property items in shares +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemItemsItemContentRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get get content for the navigation property items from shares +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemItemsItemContentRequestBuilder) Get(ctx context.Context, requestCon } return res.([]byte), nil } -// Put update content for the navigation property items in shares +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemItemsItemContentRequestBuilder) Put(ctx context.Context, body []byt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property items in shares +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property items from shares +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property items in shares +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemItemsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go index cae38910d9c..fc87fcbc016 100644 --- a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from shares +// ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in shares +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Delete(c } return nil } -// Get get content for the navigation property driveItem from shares +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx } return res.([]byte), nil } -// Put update content for the navigation property driveItem in shares +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in shares +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from shares +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in shares +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_drive_item_content_request_builder.go b/shares/item_list_items_item_drive_item_content_request_builder.go index 1c345e4d5ab..69d881e62c3 100644 --- a/shares/item_list_items_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_drive_item_content_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from shares +// ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListItemsItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemListItemsItemDriveItemContentRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property driveItem in shares +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Delete(ctx context.Con } return nil } -// Get get content for the navigation property driveItem from shares +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Get(ctx context.Contex } return res.([]byte), nil } -// Put update content for the navigation property driveItem in shares +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) Put(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property driveItem in shares +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property driveItem from shares +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in shares +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_root_content_request_builder.go b/shares/item_root_content_request_builder.go index ca66ef84759..ead6b1d28cb 100644 --- a/shares/item_root_content_request_builder.go +++ b/shares/item_root_content_request_builder.go @@ -18,7 +18,7 @@ type ItemRootContentRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRootContentRequestBuilderGetQueryParameters get content for the navigation property root from shares +// ItemRootContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemRootContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemRootContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemRootContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property root in shares +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemRootContentRequestBuilder) Delete(ctx context.Context, requestConfi } return nil } -// Get get content for the navigation property root from shares +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemRootContentRequestBuilder) Get(ctx context.Context, requestConfigur } return res.([]byte), nil } -// Put update content for the navigation property root in shares +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRootContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemRootContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemRootContentRequestBuilder) Put(ctx context.Context, body []byte, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property root in shares +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemRootContentRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property root from shares +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property root in shares +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemRootContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index c6f8cd1c80d..65569e4b2e0 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from sites +// ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -45,7 +45,7 @@ func NewItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestB urlParams["request-raw-url"] = rawUrl return NewItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Get get content for the navigation property driveItem from sites +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -65,7 +65,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest } return res.([]byte), nil } -// Put update content for the navigation property driveItem in sites +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -85,7 +85,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get content for the navigation property driveItem from sites +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -99,7 +99,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in sites +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index 94dcc4c82d2..e5a6957c7f3 100644 --- a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from sites +// ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -45,7 +45,7 @@ func NewItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Get get content for the navigation property driveItem from sites +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -65,7 +65,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Get } return res.([]byte), nil } -// Put update content for the navigation property driveItem in sites +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -85,7 +85,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) Put } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get content for the navigation property driveItem from sites +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -99,7 +99,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in sites +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_drive_item_content_request_builder.go index 90eb8913ef0..62acc7ebf13 100644 --- a/sites/item_lists_item_items_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_content_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemDriveItemContentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters get content for the navigation property driveItem from sites +// ItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemListsItemItemsItemDriveItemContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -45,7 +45,7 @@ func NewItemListsItemItemsItemDriveItemContentRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemListsItemItemsItemDriveItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Get get content for the navigation property driveItem from sites +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -65,7 +65,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) Get(ctx context.C } return res.([]byte), nil } -// Put update content for the navigation property driveItem in sites +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemListsItemItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -85,7 +85,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) Put(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get content for the navigation property driveItem from sites +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDriveItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -99,7 +99,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property driveItem in sites +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemListsItemItemsItemDriveItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 2fd032229c9..a01bebdbcef 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 { @@ -169,7 +169,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_onenote_resources_item_content_request_builder.go b/sites/item_onenote_resources_item_content_request_builder.go index d5842e6a08c..14ee7c6af47 100644 --- a/sites/item_onenote_resources_item_content_request_builder.go +++ b/sites/item_onenote_resources_item_content_request_builder.go @@ -38,7 +38,7 @@ func NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemOnenoteResourcesItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Get get content for the navigation property resources from sites +// Get the content of the resource. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -58,7 +58,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, } return res.([]byte), nil } -// Put update content for the navigation property resources in sites +// Put the content of the resource. // returns a OnenoteResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable, error) { @@ -78,7 +78,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable), nil } -// ToGetRequestInformation get content for the navigation property resources from sites +// ToGetRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -89,7 +89,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property resources in sites +// ToPutRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index aa7b5071a87..b75bd303970 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()(*GetAllSitesRequestBuilder) { 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/virtual_events_townhalls_item_presenters_request_builder.go b/solutions/virtual_events_townhalls_item_presenters_request_builder.go index 3d4cebf5273..5d76b897e67 100644 --- a/solutions/virtual_events_townhalls_item_presenters_request_builder.go +++ b/solutions/virtual_events_townhalls_item_presenters_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsTownhallsItemPresentersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsTownhallsItemPresentersRequestBuilderGetQueryParameters get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// VirtualEventsTownhallsItemPresentersRequestBuilderGetQueryParameters get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. type VirtualEventsTownhallsItemPresentersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewVirtualEventsTownhallsItemPresentersRequestBuilder(rawUrl string, reques func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) Count()(*VirtualEventsTownhallsItemPresentersCountRequestBuilder) { return NewVirtualEventsTownhallsItemPresentersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// Get get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a VirtualEventPresenterCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -99,7 +99,7 @@ func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterCollectionResponseable), nil } -// Post create a new virtualEventPresenter object on a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// Post create a new virtualEventPresenter object on a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a VirtualEventPresenterable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil } -// ToGetRequestInformation get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// ToGetRequestInformation get the list of all virtualEventPresenter objects associated with a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsItemPresentersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new virtualEventPresenter object on a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// ToPostRequestInformation create a new virtualEventPresenter object on a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsItemPresentersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, requestConfiguration *VirtualEventsTownhallsItemPresentersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_townhalls_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_townhalls_item_presenters_virtual_event_presenter_item_request_builder.go index 1adc56210a5..22bb29578bf 100644 --- a/solutions/virtual_events_townhalls_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_townhalls_item_presenters_virtual_event_presenter_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventPresenter object. +// VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. type VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,7 +54,7 @@ func NewVirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewVirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a virtualEventPresenter from a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// Delete delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -73,7 +73,7 @@ func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBui } return nil } -// Get read the properties and relationships of a virtualEventPresenter object. +// Get read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a VirtualEventPresenterable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -126,7 +126,7 @@ func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBui func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilder) SessionsWithJoinWebUrl(joinWebUrl *string)(*VirtualEventsTownhallsItemPresentersItemSessionsWithJoinWebUrlRequestBuilder) { return NewVirtualEventsTownhallsItemPresentersItemSessionsWithJoinWebUrlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, joinWebUrl) } -// ToDeleteRequestInformation delete a virtualEventPresenter from a virtual event. Currently the supported virtual event type is virtualEventTownhall. +// ToDeleteRequestInformation delete a virtualEventPresenter from a virtual event. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +137,7 @@ func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a virtualEventPresenter object. +// ToGetRequestInformation read the properties and relationships of a virtualEventPresenter object. Currently the supported virtual event types are: virtualEventTownhall, virtualEventWebinar. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go index c7c9b8ae3fa..9ed862918a3 100644 --- a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go @@ -90,9 +90,12 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil } -// Patch update the navigation property presenters in solutions +// Patch update the properties of a virtualEventPresenter object. Currently the supported virtual event type is virtualEventWebinar. // returns a VirtualEventPresenterable 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/virtualeventpresenter-update?view=graph-rest-beta func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, requestConfiguration *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +148,7 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property presenters in solutions +// ToPatchRequestInformation update the properties of a virtualEventPresenter object. Currently the supported virtual event type is virtualEventWebinar. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, requestConfiguration *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_files_folder_content_request_builder.go b/teams/item_channels_item_files_folder_content_request_builder.go index 8be2f4a0d18..ae377d5f3ab 100644 --- a/teams/item_channels_item_files_folder_content_request_builder.go +++ b/teams/item_channels_item_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teams +// ItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemChannelsItemFilesFolderContentRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teams +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Co } return nil } -// Get get content for the navigation property filesFolder from teams +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Conte } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teams +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teams +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teams +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teams +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, 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_primary_channel_files_folder_content_request_builder.go b/teams/item_primary_channel_files_folder_content_request_builder.go index ae319e638af..30a4aebf767 100644 --- a/teams/item_primary_channel_files_folder_content_request_builder.go +++ b/teams/item_primary_channel_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teams +// ItemPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemPrimaryChannelFilesFolderContentRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teams +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx context. } return nil } -// Get get content for the navigation property filesFolder from teams +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Con } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teams +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teams +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teams +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teams +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go index fa2495b2a07..7a4fa839190 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teamTemplateDefinition +// ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teamTemplateDefinition +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Delete( } return nil } -// Get get content for the navigation property filesFolder from teamTemplateDefinition +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Get(ctx } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teamTemplateDefinition +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Put(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teamTemplateDefinition +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teamTemplateDefinition +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teamTemplateDefinition +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go index 15326c7a90d..d5285143834 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teamTemplateDefinition +// ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teamTemplateDefinition +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Delet } return nil } -// Get get content for the navigation property filesFolder from teamTemplateDefinition +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Get(c } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teamTemplateDefinition +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Put(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teamTemplateDefinition +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teamTemplateDefinition +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teamTemplateDefinition +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go index 87efa411ee0..6b9a3fc8bb1 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teamwork +// DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewDeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teamwork +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Delete(ct } return nil } -// Get get content for the navigation property filesFolder from teamwork +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx c } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teamwork +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Put(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teamwork +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teamwork +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teamwork +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go index 58b7a30b27a..85da74fd8c7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderConten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teamwork +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCon urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teamwork +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo } return nil } -// Get get content for the navigation property filesFolder from teamwork +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teamwork +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teamwork +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teamwork +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teamwork +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go index eea89b2d14a..9b0f414d645 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderCont // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters get content for the navigation property filesFolder from teamwork +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetQueryParameters struct { // Format of the content Format *string `uriparametername:"%24format"` @@ -52,7 +52,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderC urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property filesFolder in teamwork +// Delete the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -68,7 +68,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } return nil } -// Get get content for the navigation property filesFolder from teamwork +// Get the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } return res.([]byte), nil } -// Put update content for the navigation property filesFolder in teamwork +// Put the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -108,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToDeleteRequestInformation delete content for the navigation property filesFolder in teamwork +// ToDeleteRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property filesFolder from teamwork +// ToGetRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property filesFolder in teamwork +// ToPutRequestInformation the content stream, if the item represents a file. The content property will have a potentially breaking change in behavior in the future. It will stream content directly instead of redirecting. To proactively opt in to the new behavior ahead of time, use the contentStream property instead. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_get_all_messages_request_builder.go b/users/item_chats_get_all_messages_request_builder.go index fc0b1261d58..04868839b31 100644 --- a/users/item_chats_get_all_messages_request_builder.go +++ b/users/item_chats_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChatsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// ItemChatsGetAllMessagesRequestBuilderGetQueryParameters get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. type ItemChatsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewItemChatsGetAllMessagesRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemChatsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a ItemChatsGetAllMessagesResponseable 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/chats-getallmessages?view=graph-rest-beta func (m *ItemChatsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *ItemChatsGetAllMessagesRequestBuilder) Get(ctx context.Context, request } return res.(ItemChatsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a ItemChatsGetAllMessagesGetResponseable 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/chats-getallmessages?view=graph-rest-beta func (m *ItemChatsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChatsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *ItemChatsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(c } return res.(ItemChatsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation get all messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a *RequestInformation when successful func (m *ItemChatsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go index 4d33b4e8073..c65daa49e86 100644 --- a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -185,11 +185,21 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) Resize()(*ItemCloudPCsItemResize func (m *ItemCloudPCsCloudPCItemRequestBuilder) Restore()(*ItemCloudPCsItemRestoreRequestBuilder) { return NewItemCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RetrieveReviewStatus provides operations to call the retrieveReviewStatus method. +// returns a *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) RetrieveReviewStatus()(*ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) { + return NewItemCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RetryPartnerAgentInstallation provides operations to call the retryPartnerAgentInstallation method. // returns a *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder when successful func (m *ItemCloudPCsCloudPCItemRequestBuilder) RetryPartnerAgentInstallation()(*ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) { return NewItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SetReviewStatus provides operations to call the setReviewStatus method. +// returns a *ItemCloudPCsItemSetReviewStatusRequestBuilder when successful +func (m *ItemCloudPCsCloudPCItemRequestBuilder) SetReviewStatus()(*ItemCloudPCsItemSetReviewStatusRequestBuilder) { + return NewItemCloudPCsItemSetReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Start provides operations to call the start method. // returns a *ItemCloudPCsItemStartRequestBuilder when successful func (m *ItemCloudPCsCloudPCItemRequestBuilder) Start()(*ItemCloudPCsItemStartRequestBuilder) { diff --git a/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go b/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go new file mode 100644 index 00000000000..965d7bf915b --- /dev/null +++ b/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go @@ -0,0 +1,69 @@ +package users + +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" +) + +// ItemCloudPCsItemRetrieveReviewStatusRequestBuilder provides operations to call the retrieveReviewStatus method. +type ItemCloudPCsItemRetrieveReviewStatusRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemRetrieveReviewStatusRequestBuilderInternal instantiates a new ItemCloudPCsItemRetrieveReviewStatusRequestBuilder and sets the default values. +func NewItemCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) { + m := &ItemCloudPCsItemRetrieveReviewStatusRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/retrieveReviewStatus()", pathParameters), + } + return m +} +// NewItemCloudPCsItemRetrieveReviewStatusRequestBuilder instantiates a new ItemCloudPCsItemRetrieveReviewStatusRequestBuilder and sets the default values. +func NewItemCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrieveReviewStatus +// returns a CloudPcReviewStatusable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, 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.CreateCloudPcReviewStatusFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil +} +// ToGetRequestInformation invoke function retrieveReviewStatus +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder when successful +func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) { + return NewItemCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_set_review_status_post_request_body.go b/users/item_cloud_p_cs_item_set_review_status_post_request_body.go new file mode 100644 index 00000000000..d2a71e97f64 --- /dev/null +++ b/users/item_cloud_p_cs_item_set_review_status_post_request_body.go @@ -0,0 +1,114 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "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 ItemCloudPCsItemSetReviewStatusPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemSetReviewStatusPostRequestBody instantiates a new ItemCloudPCsItemSetReviewStatusPostRequestBody and sets the default values. +func NewItemCloudPCsItemSetReviewStatusPostRequestBody()(*ItemCloudPCsItemSetReviewStatusPostRequestBody) { + m := &ItemCloudPCsItemSetReviewStatusPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemSetReviewStatusPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemCloudPCsItemSetReviewStatusPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemSetReviewStatusPostRequestBody(), 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 *ItemCloudPCsItemSetReviewStatusPostRequestBody) 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 *ItemCloudPCsItemSetReviewStatusPostRequestBody) 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 *ItemCloudPCsItemSetReviewStatusPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["reviewStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCloudPcReviewStatusFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReviewStatus(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)) + } + return nil + } + return res +} +// GetReviewStatus gets the reviewStatus property value. The reviewStatus property +// returns a CloudPcReviewStatusable when successful +func (m *ItemCloudPCsItemSetReviewStatusPostRequestBody) GetReviewStatus()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) { + val, err := m.GetBackingStore().Get("reviewStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemSetReviewStatusPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("reviewStatus", m.GetReviewStatus()) + 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 *ItemCloudPCsItemSetReviewStatusPostRequestBody) 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 *ItemCloudPCsItemSetReviewStatusPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetReviewStatus sets the reviewStatus property value. The reviewStatus property +func (m *ItemCloudPCsItemSetReviewStatusPostRequestBody) SetReviewStatus(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)() { + err := m.GetBackingStore().Set("reviewStatus", value) + if err != nil { + panic(err) + } +} +type ItemCloudPCsItemSetReviewStatusPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetReviewStatus()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetReviewStatus(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable)() +} diff --git a/users/item_cloud_p_cs_item_set_review_status_request_builder.go b/users/item_cloud_p_cs_item_set_review_status_request_builder.go new file mode 100644 index 00000000000..a122b69f5af --- /dev/null +++ b/users/item_cloud_p_cs_item_set_review_status_request_builder.go @@ -0,0 +1,68 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemSetReviewStatusRequestBuilder provides operations to call the setReviewStatus method. +type ItemCloudPCsItemSetReviewStatusRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemSetReviewStatusRequestBuilderInternal instantiates a new ItemCloudPCsItemSetReviewStatusRequestBuilder and sets the default values. +func NewItemCloudPCsItemSetReviewStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemSetReviewStatusRequestBuilder) { + m := &ItemCloudPCsItemSetReviewStatusRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/setReviewStatus", pathParameters), + } + return m +} +// NewItemCloudPCsItemSetReviewStatusRequestBuilder instantiates a new ItemCloudPCsItemSetReviewStatusRequestBuilder and sets the default values. +func NewItemCloudPCsItemSetReviewStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemSetReviewStatusRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemSetReviewStatusRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setReviewStatus +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(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 setReviewStatus +// returns a *RequestInformation when successful +func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(*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 *ItemCloudPCsItemSetReviewStatusRequestBuilder when successful +func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemSetReviewStatusRequestBuilder) { + return NewItemCloudPCsItemSetReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_invited_by_request_builder.go b/users/item_invited_by_request_builder.go index 1da1186eb30..3abad6f3e88 100644 --- a/users/item_invited_by_request_builder.go +++ b/users/item_invited_by_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInvitedByRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInvitedByRequestBuilderGetQueryParameters get invitedBy from users +// ItemInvitedByRequestBuilderGetQueryParameters get the user or servicePrincipal that invited the specified user into the tenant. type ItemInvitedByRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,9 +40,12 @@ func NewItemInvitedByRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemInvitedByRequestBuilderInternal(urlParams, requestAdapter) } -// Get get invitedBy from users +// Get get the user or servicePrincipal that invited the specified user into the tenant. // returns a DirectoryObjectable 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/user-list-invitedby?view=graph-rest-beta func (m *ItemInvitedByRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInvitedByRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *ItemInvitedByRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation get invitedBy from users +// ToGetRequestInformation get the user or servicePrincipal that invited the specified user into the tenant. // returns a *RequestInformation when successful func (m *ItemInvitedByRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInvitedByRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go index 0e9f0fff824..42d27909bf9 100644 --- a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -32,6 +32,7 @@ func NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string return NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Get get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a CloudPcReviewStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -55,6 +56,7 @@ func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx con return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } // ToGetRequestInformation get the review status of a specific Cloud PC device. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -66,6 +68,7 @@ func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetReques 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. +// Deprecated: The getCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new retrieveReviewStatus API as of 2024-01/getCloudPcReviewStatus // returns a *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder when successful func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { return NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go index 2410e4613d0..08bb78d0e3a 100644 --- a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -31,6 +31,7 @@ func NewItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string return NewItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } // Post set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -50,6 +51,7 @@ func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx co return nil } // ToPostRequestInformation set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemManagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -65,6 +67,7 @@ func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostReque 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. +// Deprecated: The setCloudPcReviewStatus API is deprecated and will stop returning data on Apr 30, 2024. Please use the new setReviewStatus API as of 2024-01/setCloudPcReviewStatus // returns a *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder when successful func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { return NewItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_onenote_resources_item_content_request_builder.go b/users/item_onenote_resources_item_content_request_builder.go index 95dc00bbd22..fcdf0f2d5d3 100644 --- a/users/item_onenote_resources_item_content_request_builder.go +++ b/users/item_onenote_resources_item_content_request_builder.go @@ -45,7 +45,7 @@ func NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemOnenoteResourcesItemContentRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete content for the navigation property resources in users +// Delete the content of the resource. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -61,7 +61,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get content for the navigation property resources from users +// Get the content of the resource. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -81,7 +81,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Get(ctx context.Context, } return res.([]byte), nil } -// Put update content for the navigation property resources in users +// Put the content of the resource. // returns a OnenoteResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable, error) { @@ -101,7 +101,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) Put(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteResourceable), nil } -// ToDeleteRequestInformation delete content for the navigation property resources in users +// ToDeleteRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -112,7 +112,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get content for the navigation property resources from users +// ToGetRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -123,7 +123,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update content for the navigation property resources in users +// ToPutRequestInformation the content of the resource. // returns a *RequestInformation when successful func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnenoteResourcesItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_alternative_recording_request_builder.go b/users/item_online_meetings_item_alternative_recording_request_builder.go index 77c893bc1a5..cf71452551d 100644 --- a/users/item_online_meetings_item_alternative_recording_request_builder.go +++ b/users/item_online_meetings_item_alternative_recording_request_builder.go @@ -44,7 +44,7 @@ func NewItemOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete alternativeRecording for the navigation property onlineMeetings in users +// Delete the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Delete(ctx co } return nil } -// Get get alternativeRecording for the navigation property onlineMeetings from users +// Get the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx conte } return res.([]byte), nil } -// Put update alternativeRecording for the navigation property onlineMeetings in users +// Put the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Put(ctx conte } return res.([]byte), nil } -// ToDeleteRequestInformation delete alternativeRecording for the navigation property onlineMeetings in users +// ToDeleteRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get alternativeRecording for the navigation property onlineMeetings from users +// ToGetRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in users +// ToPutRequestInformation the content stream of the alternative recording of a Microsoft Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_attendee_report_request_builder.go b/users/item_online_meetings_item_attendee_report_request_builder.go index 2f5993387f0..c2372155e5d 100644 --- a/users/item_online_meetings_item_attendee_report_request_builder.go +++ b/users/item_online_meetings_item_attendee_report_request_builder.go @@ -44,7 +44,7 @@ func NewItemOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete attendeeReport for the navigation property onlineMeetings in users +// Delete the content stream of the attendee report of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Delete(ctx context. } return nil } -// Get get attendeeReport for the navigation property onlineMeetings from users +// Get the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Con } return res.([]byte), nil } -// Put update attendeeReport for the navigation property onlineMeetings in users +// Put the content stream of the attendee report of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Put(ctx context.Con } return res.([]byte), nil } -// ToDeleteRequestInformation delete attendeeReport for the navigation property onlineMeetings in users +// ToDeleteRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get attendeeReport for the navigation property onlineMeetings from users +// ToGetRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in users +// ToPutRequestInformation the content stream of the attendee report of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go index 866118049da..2c4febfae7d 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from users +// ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters the attendance report of the latest online meeting session. Read-only. type ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx } return nil } -// Get get meetingAttendanceReport from users +// Get the attendance report of the latest online meeting session. Read-only. // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { @@ -126,7 +126,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get meetingAttendanceReport from users +// ToGetRequestInformation the attendance report of the latest online meeting session. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recording_request_builder.go b/users/item_online_meetings_item_recording_request_builder.go index 492c1e85ada..bff9e4bbdc2 100644 --- a/users/item_online_meetings_item_recording_request_builder.go +++ b/users/item_online_meetings_item_recording_request_builder.go @@ -44,7 +44,7 @@ func NewItemOnlineMeetingsItemRecordingRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete recording for the navigation property onlineMeetings in users +// Delete the content stream of the recording of a Teams live event. Read-only. // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get recording for the navigation property onlineMeetings from users +// Get the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { @@ -80,7 +80,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, } return res.([]byte), nil } -// Put update recording for the navigation property onlineMeetings in users +// Put the content stream of the recording of a Teams live event. Read-only. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { @@ -100,7 +100,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Put(ctx context.Context, } return res.([]byte), nil } -// ToDeleteRequestInformation delete recording for the navigation property onlineMeetings in users +// ToDeleteRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -111,7 +111,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get recording for the navigation property onlineMeetings from users +// ToGetRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -122,7 +122,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update recording for the navigation property onlineMeetings in users +// ToPutRequestInformation the content stream of the recording of a Teams live event. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go index 6eb39a06947..3994d11ca91 100644 --- a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters get taskFolders from users +// ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters the user's Outlook task folders. Read-only. Nullable. type ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -69,7 +69,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Delete(ctx c } return nil } -// Get get taskFolders from users +// Get the user's Outlook task folders. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -128,7 +128,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get taskFolders from users +// ToGetRequestInformation the user's Outlook task folders. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_folders_request_builder.go b/users/item_outlook_task_folders_request_builder.go index 7305a2365e3..545220a2430 100644 --- a/users/item_outlook_task_folders_request_builder.go +++ b/users/item_outlook_task_folders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskFoldersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskFoldersRequestBuilderGetQueryParameters get taskFolders from users +// ItemOutlookTaskFoldersRequestBuilderGetQueryParameters the user's Outlook task folders. Read-only. Nullable. type ItemOutlookTaskFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,7 +75,7 @@ func NewItemOutlookTaskFoldersRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemOutlookTaskFoldersRequestBuilder) Count()(*ItemOutlookTaskFoldersCountRequestBuilder) { return NewItemOutlookTaskFoldersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get taskFolders from users +// Get the user's Outlook task folders. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -117,7 +117,7 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable), nil } -// ToGetRequestInformation get taskFolders from users +// ToGetRequestInformation the user's Outlook task folders. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go index cb01bec259e..70f3f54d8e7 100644 --- a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go +++ b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters get taskGroups from users +// ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters the user's Outlook task groups. Read-only. Nullable. type ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -69,7 +69,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) Delete(ctx con } return nil } -// Get get taskGroups from users +// Get the user's Outlook task groups. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -128,7 +128,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get taskGroups from users +// ToGetRequestInformation the user's Outlook task groups. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_request_builder.go b/users/item_outlook_task_groups_request_builder.go index 2dd4b45544a..904ace38939 100644 --- a/users/item_outlook_task_groups_request_builder.go +++ b/users/item_outlook_task_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskGroupsRequestBuilderGetQueryParameters get taskGroups from users +// ItemOutlookTaskGroupsRequestBuilderGetQueryParameters the user's Outlook task groups. Read-only. Nullable. type ItemOutlookTaskGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,7 +75,7 @@ func NewItemOutlookTaskGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOutlookTaskGroupsRequestBuilder) Count()(*ItemOutlookTaskGroupsCountRequestBuilder) { return NewItemOutlookTaskGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get taskGroups from users +// Get the user's Outlook task groups. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -117,7 +117,7 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable), nil } -// ToGetRequestInformation get taskGroups from users +// ToGetRequestInformation the user's Outlook task groups. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { 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 5bcb14f1a24..bcd58be68b7 100644 --- a/users/item_outlook_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_tasks_outlook_task_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTasksOutlookTaskItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters get tasks from users +// ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters the user's Outlook tasks. Read-only. Nullable. type ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -79,7 +79,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get tasks from users +// Get the user's Outlook tasks. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -133,7 +133,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get tasks from users +// ToGetRequestInformation the user's Outlook tasks. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_tasks_request_builder.go b/users/item_outlook_tasks_request_builder.go index fb191ac5a85..9b44094465c 100644 --- a/users/item_outlook_tasks_request_builder.go +++ b/users/item_outlook_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTasksRequestBuilderGetQueryParameters get tasks from users +// ItemOutlookTasksRequestBuilderGetQueryParameters the user's Outlook tasks. Read-only. Nullable. type ItemOutlookTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,7 +75,7 @@ func NewItemOutlookTasksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOutlookTasksRequestBuilder) Count()(*ItemOutlookTasksCountRequestBuilder) { return NewItemOutlookTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get tasks from users +// Get the user's Outlook tasks. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -117,7 +117,7 @@ func (m *ItemOutlookTasksRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// ToGetRequestInformation get tasks from users +// ToGetRequestInformation the user's Outlook tasks. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {