From 4b157af1723d6f043c9a5df7800b64502fb96fd9 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 18 Aug 2026 23:12:05 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 234077 --- .../item_targeted_messages_request_builder.go | 6 +-- ...geted_chat_message_item_request_builder.go | 6 +-- ..._recovery_job_base_item_request_builder.go | 6 +-- directory/recovery_jobs_request_builder.go | 9 ++-- ..._jobs_recovery_job_item_request_builder.go | 6 +-- ...hots_item_recovery_jobs_request_builder.go | 6 +-- ...covery_preview_job_item_request_builder.go | 6 +-- ...m_recovery_preview_jobs_request_builder.go | 6 +-- .../recovery_snapshots_request_builder.go | 9 ++-- ...snapshots_snapshot_item_request_builder.go | 6 +-- ...ssign_sensitivity_label_request_builder.go | 7 ++- kiota-lock.json | 2 +- ..._review_instance_decision_item_resource.go | 4 +- models/chat.go | 4 +- .../entity_type_and_ids.go | 4 +- models/entrarecoveryservices/recovery.go | 8 +-- .../recovery_change_object_base.go | 8 +-- models/entrarecoveryservices/recovery_job.go | 12 ++--- .../recovery_job_base.go | 24 ++++----- ...recovery_job_entity_name_and_ids_filter.go | 4 +- .../recovery_job_entity_names_filter.go | 4 +- models/entrarecoveryservices/snapshot.go | 16 +++--- models/security/audit_core_root.go | 4 +- models/security/audit_data.go | 4 +- models/security/audit_log_query.go | 52 +++++++++---------- models/security/audit_log_record.go | 44 ++++++++-------- models/targeted_chat_message.go | 4 +- ...s_audit_log_record_item_request_builder.go | 6 +-- ...og_queries_item_records_request_builder.go | 6 +-- security/audit_log_request_builder.go | 6 +-- ..._item_targeted_messages_request_builder.go | 6 +-- ...geted_chat_message_item_request_builder.go | 6 +-- ...delete_targeted_message_request_builder.go | 7 ++- ...ained_targeted_messages_request_builder.go | 14 +++-- ...t_all_targeted_messages_request_builder.go | 14 +++-- 35 files changed, 180 insertions(+), 156 deletions(-) diff --git a/chats/item_targeted_messages_request_builder.go b/chats/item_targeted_messages_request_builder.go index ba6ef113092..62854c5ded6 100644 --- a/chats/item_targeted_messages_request_builder.go +++ b/chats/item_targeted_messages_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemTargetedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTargetedMessagesRequestBuilderGetQueryParameters get targetedMessages from chats +// ItemTargetedMessagesRequestBuilderGetQueryParameters a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. type ItemTargetedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,7 +79,7 @@ func NewItemTargetedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemTargetedMessagesRequestBuilder) Count()(*ItemTargetedMessagesCountRequestBuilder) { return NewItemTargetedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get targetedMessages from chats +// Get a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a TargetedChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ItemTargetedMessagesRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil } -// ToGetRequestInformation get targetedMessages from chats +// ToGetRequestInformation a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a *RequestInformation when successful func (m *ItemTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go b/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go index a96745b6913..1624a98dc27 100644 --- a/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go +++ b/chats/item_targeted_messages_targeted_chat_message_item_request_builder.go @@ -21,7 +21,7 @@ type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters get targetedMessages from chats +// ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. type ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Delete(ctx c } return nil } -// Get get targetedMessages from chats +// Get a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a TargetedChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { @@ -134,7 +134,7 @@ func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get targetedMessages from chats +// ToGetRequestInformation a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a *RequestInformation when successful func (m *ItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_jobs_recovery_job_base_item_request_builder.go b/directory/recovery_jobs_recovery_job_base_item_request_builder.go index 00c36538dd1..7fb6e0262ed 100644 --- a/directory/recovery_jobs_recovery_job_base_item_request_builder.go +++ b/directory/recovery_jobs_recovery_job_base_item_request_builder.go @@ -21,7 +21,7 @@ type RecoveryJobsRecoveryJobBaseItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RecoveryJobsRecoveryJobBaseItemRequestBuilderGetQueryParameters get jobs from directory +// RecoveryJobsRecoveryJobBaseItemRequestBuilderGetQueryParameters collection of all recovery jobs (both preview and recovery) for the tenant. type RecoveryJobsRecoveryJobBaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *RecoveryJobsRecoveryJobBaseItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get jobs from directory +// Get collection of all recovery jobs (both preview and recovery) for the tenant. // returns a RecoveryJobBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoveryJobsRecoveryJobBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoveryJobsRecoveryJobBaseItemRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobBaseable, error) { @@ -129,7 +129,7 @@ func (m *RecoveryJobsRecoveryJobBaseItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get jobs from directory +// ToGetRequestInformation collection of all recovery jobs (both preview and recovery) for the tenant. // returns a *RequestInformation when successful func (m *RecoveryJobsRecoveryJobBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoveryJobsRecoveryJobBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_jobs_request_builder.go b/directory/recovery_jobs_request_builder.go index d0f58d45e09..8c5b3865b3d 100644 --- a/directory/recovery_jobs_request_builder.go +++ b/directory/recovery_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoveryJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoveryJobsRequestBuilderGetQueryParameters get jobs from directory +// RecoveryJobsRequestBuilderGetQueryParameters get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. type RecoveryJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,9 +79,12 @@ func NewRecoveryJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *RecoveryJobsRequestBuilder) Count()(*RecoveryJobsCountRequestBuilder) { return NewRecoveryJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get jobs from directory +// Get get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. // returns a RecoveryJobBaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-jobs?view=graph-rest-1.0 func (m *RecoveryJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoveryJobsRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobBaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *RecoveryJobsRequestBuilder) Post(ctx context.Context, body ie28ab9ee452 } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobBaseable), nil } -// ToGetRequestInformation get jobs from directory +// ToGetRequestInformation get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant. // returns a *RequestInformation when successful func (m *RecoveryJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoveryJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_item_recovery_jobs_recovery_job_item_request_builder.go b/directory/recovery_snapshots_item_recovery_jobs_recovery_job_item_request_builder.go index 18ccbee8868..4da223a014e 100644 --- a/directory/recovery_snapshots_item_recovery_jobs_recovery_job_item_request_builder.go +++ b/directory/recovery_snapshots_item_recovery_jobs_recovery_job_item_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderGetQueryParameters get recoveryJobs from directory +// RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderGetQueryParameters collection of recovery jobs created for this snapshot. type RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -43,7 +43,7 @@ func NewRecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewRecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get recoveryJobs from directory +// Get collection of recovery jobs created for this snapshot. // returns a RecoveryJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobable, error) { @@ -63,7 +63,7 @@ func (m *RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilder) Get(ctx } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobable), nil } -// ToGetRequestInformation get recoveryJobs from directory +// ToGetRequestInformation collection of recovery jobs created for this snapshot. // returns a *RequestInformation when successful func (m *RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryJobsRecoveryJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_item_recovery_jobs_request_builder.go b/directory/recovery_snapshots_item_recovery_jobs_request_builder.go index 43d6e34d81d..4dd3c11f1ee 100644 --- a/directory/recovery_snapshots_item_recovery_jobs_request_builder.go +++ b/directory/recovery_snapshots_item_recovery_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoverySnapshotsItemRecoveryJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoverySnapshotsItemRecoveryJobsRequestBuilderGetQueryParameters get recoveryJobs from directory +// RecoverySnapshotsItemRecoveryJobsRequestBuilderGetQueryParameters collection of recovery jobs created for this snapshot. type RecoverySnapshotsItemRecoveryJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewRecoverySnapshotsItemRecoveryJobsRequestBuilder(rawUrl string, requestAd func (m *RecoverySnapshotsItemRecoveryJobsRequestBuilder) Count()(*RecoverySnapshotsItemRecoveryJobsCountRequestBuilder) { return NewRecoverySnapshotsItemRecoveryJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get recoveryJobs from directory +// Get collection of recovery jobs created for this snapshot. // returns a RecoveryJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoverySnapshotsItemRecoveryJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryJobsRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *RecoverySnapshotsItemRecoveryJobsRequestBuilder) Get(ctx context.Contex } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryJobCollectionResponseable), nil } -// ToGetRequestInformation get recoveryJobs from directory +// ToGetRequestInformation collection of recovery jobs created for this snapshot. // returns a *RequestInformation when successful func (m *RecoverySnapshotsItemRecoveryJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_item_recovery_preview_jobs_recovery_preview_job_item_request_builder.go b/directory/recovery_snapshots_item_recovery_preview_jobs_recovery_preview_job_item_request_builder.go index 96a56c124f5..2deb5366090 100644 --- a/directory/recovery_snapshots_item_recovery_preview_jobs_recovery_preview_job_item_request_builder.go +++ b/directory/recovery_snapshots_item_recovery_preview_jobs_recovery_preview_job_item_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderGetQueryParameters get recoveryPreviewJobs from directory +// RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderGetQueryParameters collection of preview jobs created for this snapshot. type RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -43,7 +43,7 @@ func NewRecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBui urlParams["request-raw-url"] = rawUrl return NewRecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get recoveryPreviewJobs from directory +// Get collection of preview jobs created for this snapshot. // returns a RecoveryPreviewJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryPreviewJobable, error) { @@ -63,7 +63,7 @@ func (m *RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBu } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryPreviewJobable), nil } -// ToGetRequestInformation get recoveryPreviewJobs from directory +// ToGetRequestInformation collection of preview jobs created for this snapshot. // returns a *RequestInformation when successful func (m *RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryPreviewJobsRecoveryPreviewJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_item_recovery_preview_jobs_request_builder.go b/directory/recovery_snapshots_item_recovery_preview_jobs_request_builder.go index 2e85b2bad3d..dd61b9eba3a 100644 --- a/directory/recovery_snapshots_item_recovery_preview_jobs_request_builder.go +++ b/directory/recovery_snapshots_item_recovery_preview_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilderGetQueryParameters get recoveryPreviewJobs from directory +// RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilderGetQueryParameters collection of preview jobs created for this snapshot. type RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewRecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder(rawUrl string, re func (m *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder) Count()(*RecoverySnapshotsItemRecoveryPreviewJobsCountRequestBuilder) { return NewRecoverySnapshotsItemRecoveryPreviewJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get recoveryPreviewJobs from directory +// Get collection of preview jobs created for this snapshot. // returns a RecoveryPreviewJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryPreviewJobCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder) Get(ctx context } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.RecoveryPreviewJobCollectionResponseable), nil } -// ToGetRequestInformation get recoveryPreviewJobs from directory +// ToGetRequestInformation collection of preview jobs created for this snapshot. // returns a *RequestInformation when successful func (m *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsItemRecoveryPreviewJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_request_builder.go b/directory/recovery_snapshots_request_builder.go index c07f0c4e6aa..4f8d1f28309 100644 --- a/directory/recovery_snapshots_request_builder.go +++ b/directory/recovery_snapshots_request_builder.go @@ -14,7 +14,7 @@ import ( type RecoverySnapshotsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecoverySnapshotsRequestBuilderGetQueryParameters get snapshots from directory +// RecoverySnapshotsRequestBuilderGetQueryParameters get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. type RecoverySnapshotsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,9 +79,12 @@ func NewRecoverySnapshotsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *RecoverySnapshotsRequestBuilder) Count()(*RecoverySnapshotsCountRequestBuilder) { return NewRecoverySnapshotsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get snapshots from directory +// Get get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. // returns a SnapshotCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/entrarecoveryservices-recovery-list-snapshots?view=graph-rest-1.0 func (m *RecoverySnapshotsRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.SnapshotCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *RecoverySnapshotsRequestBuilder) Post(ctx context.Context, body ie28ab9 } return res.(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.Snapshotable), nil } -// ToGetRequestInformation get snapshots from directory +// ToGetRequestInformation get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored. // returns a *RequestInformation when successful func (m *RecoverySnapshotsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recovery_snapshots_snapshot_item_request_builder.go b/directory/recovery_snapshots_snapshot_item_request_builder.go index 03e8740e080..b15fdc45679 100644 --- a/directory/recovery_snapshots_snapshot_item_request_builder.go +++ b/directory/recovery_snapshots_snapshot_item_request_builder.go @@ -21,7 +21,7 @@ type RecoverySnapshotsSnapshotItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RecoverySnapshotsSnapshotItemRequestBuilderGetQueryParameters get snapshots from directory +// RecoverySnapshotsSnapshotItemRequestBuilderGetQueryParameters collection of backup snapshots available for the tenant. type RecoverySnapshotsSnapshotItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *RecoverySnapshotsSnapshotItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get get snapshots from directory +// Get collection of backup snapshots available for the tenant. // returns a Snapshotable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RecoverySnapshotsSnapshotItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RecoverySnapshotsSnapshotItemRequestBuilderGetRequestConfiguration)(ie28ab9ee452a7c642fc6fdda156fe61f26850a17367551a25b12128ac3be100f.Snapshotable, error) { @@ -134,7 +134,7 @@ func (m *RecoverySnapshotsSnapshotItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get snapshots from directory +// ToGetRequestInformation collection of backup snapshots available for the tenant. // returns a *RequestInformation when successful func (m *RecoverySnapshotsSnapshotItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecoverySnapshotsSnapshotItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_assign_sensitivity_label_request_builder.go b/drives/item_items_item_assign_sensitivity_label_request_builder.go index 9cd4fccfc9f..98bb3b9837b 100644 --- a/drives/item_items_item_assign_sensitivity_label_request_builder.go +++ b/drives/item_items_item_assign_sensitivity_label_request_builder.go @@ -33,8 +33,11 @@ func NewItemItemsItemAssignSensitivityLabelRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemItemsItemAssignSensitivityLabelRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action assignSensitivityLabel +// Post asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. // returns a ODataError error 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-assignsensitivitylabel?view=graph-rest-1.0 func (m *ItemItemsItemAssignSensitivityLabelRequestBuilder) Post(ctx context.Context, body ItemItemsItemAssignSensitivityLabelPostRequestBodyable, requestConfiguration *ItemItemsItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +52,7 @@ func (m *ItemItemsItemAssignSensitivityLabelRequestBuilder) Post(ctx context.Con } return nil } -// ToPostRequestInformation invoke action assignSensitivityLabel +// ToPostRequestInformation asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. // returns a *RequestInformation when successful func (m *ItemItemsItemAssignSensitivityLabelRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemAssignSensitivityLabelPostRequestBodyable, requestConfiguration *ItemItemsItemAssignSensitivityLabelRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-lock.json b/kiota-lock.json index eace51eaf2a..3fb469183d2 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "793F8F6E51013A63CC9E20C4818887CD9F1D782041A82141E4EEB98ABD3B7511D9F7DDA5A504B6CDAC464DD651895A78DDF749C03845E28D132B001A09D600AD", + "descriptionHash": "1670D24DA492A8638DCFD4D6A3F4DB6C1C5080E81D9CFFAC2C8DC3E4CD988231631FC1E9DE0F2791AFD2BA752B720A34CA094B42F880EE0C05E917D532372898", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.34.1", diff --git a/models/access_review_instance_decision_item_resource.go b/models/access_review_instance_decision_item_resource.go index 65980a614cc..3203f9ecb6a 100644 --- a/models/access_review_instance_decision_item_resource.go +++ b/models/access_review_instance_decision_item_resource.go @@ -147,7 +147,7 @@ func (m *AccessReviewInstanceDecisionItemResource) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. +// GetTypeEscaped gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy. // returns a *string when successful func (m *AccessReviewInstanceDecisionItemResource) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -225,7 +225,7 @@ func (m *AccessReviewInstanceDecisionItemResource) SetOdataType(value *string)() panic(err) } } -// SetTypeEscaped sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. +// SetTypeEscaped sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy. func (m *AccessReviewInstanceDecisionItemResource) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/chat.go b/models/chat.go index dd1f0749362..428ad56fe0e 100644 --- a/models/chat.go +++ b/models/chat.go @@ -429,7 +429,7 @@ func (m *Chat) GetTabs()([]TeamsTabable) { } return nil } -// GetTargetedMessages gets the targetedMessages property value. The targetedMessages property +// GetTargetedMessages gets the targetedMessages property value. A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a []TargetedChatMessageable when successful func (m *Chat) GetTargetedMessages()([]TargetedChatMessageable) { val, err := m.GetBackingStore().Get("targetedMessages") @@ -753,7 +753,7 @@ func (m *Chat) SetTabs(value []TeamsTabable)() { panic(err) } } -// SetTargetedMessages sets the targetedMessages property value. The targetedMessages property +// SetTargetedMessages sets the targetedMessages property value. A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. func (m *Chat) SetTargetedMessages(value []TargetedChatMessageable)() { err := m.GetBackingStore().Set("targetedMessages", value) if err != nil { diff --git a/models/entrarecoveryservices/entity_type_and_ids.go b/models/entrarecoveryservices/entity_type_and_ids.go index 7e56506163f..173b81959c8 100644 --- a/models/entrarecoveryservices/entity_type_and_ids.go +++ b/models/entrarecoveryservices/entity_type_and_ids.go @@ -43,7 +43,7 @@ func (m *EntityTypeAndIds) GetAdditionalData()(map[string]any) { func (m *EntityTypeAndIds) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEntityIds gets the entityIds property value. The entityIds property +// GetEntityIds gets the entityIds property value. The list of entity IDs for the specified entity type. // returns a []string when successful func (m *EntityTypeAndIds) GetEntityIds()([]string) { val, err := m.GetBackingStore().Get("entityIds") @@ -161,7 +161,7 @@ func (m *EntityTypeAndIds) SetAdditionalData(value map[string]any)() { func (m *EntityTypeAndIds) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEntityIds sets the entityIds property value. The entityIds property +// SetEntityIds sets the entityIds property value. The list of entity IDs for the specified entity type. func (m *EntityTypeAndIds) SetEntityIds(value []string)() { err := m.GetBackingStore().Set("entityIds", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery.go b/models/entrarecoveryservices/recovery.go index 8b70be26225..b72aa418f66 100644 --- a/models/entrarecoveryservices/recovery.go +++ b/models/entrarecoveryservices/recovery.go @@ -61,7 +61,7 @@ func (m *Recovery) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetJobs gets the jobs property value. The jobs property +// GetJobs gets the jobs property value. Collection of all recovery jobs (both preview and recovery) for the tenant. // returns a []RecoveryJobBaseable when successful func (m *Recovery) GetJobs()([]RecoveryJobBaseable) { val, err := m.GetBackingStore().Get("jobs") @@ -73,7 +73,7 @@ func (m *Recovery) GetJobs()([]RecoveryJobBaseable) { } return nil } -// GetSnapshots gets the snapshots property value. The snapshots property +// GetSnapshots gets the snapshots property value. Collection of backup snapshots available for the tenant. // returns a []Snapshotable when successful func (m *Recovery) GetSnapshots()([]Snapshotable) { val, err := m.GetBackingStore().Get("snapshots") @@ -117,14 +117,14 @@ func (m *Recovery) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetJobs sets the jobs property value. The jobs property +// SetJobs sets the jobs property value. Collection of all recovery jobs (both preview and recovery) for the tenant. func (m *Recovery) SetJobs(value []RecoveryJobBaseable)() { err := m.GetBackingStore().Set("jobs", value) if err != nil { panic(err) } } -// SetSnapshots sets the snapshots property value. The snapshots property +// SetSnapshots sets the snapshots property value. Collection of backup snapshots available for the tenant. func (m *Recovery) SetSnapshots(value []Snapshotable)() { err := m.GetBackingStore().Set("snapshots", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery_change_object_base.go b/models/entrarecoveryservices/recovery_change_object_base.go index 2e2d2663d65..a8269555fc9 100644 --- a/models/entrarecoveryservices/recovery_change_object_base.go +++ b/models/entrarecoveryservices/recovery_change_object_base.go @@ -23,7 +23,7 @@ func NewRecoveryChangeObjectBase()(*RecoveryChangeObjectBase) { func CreateRecoveryChangeObjectBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRecoveryChangeObjectBase(), nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the changed object in its current state, used to uniquely identify the object. Supports $filter (eq, ne, startswith). // returns a *string when successful func (m *RecoveryChangeObjectBase) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -47,7 +47,7 @@ func (m *RecoveryChangeObjectBase) GetEntityTypeName()(*ResourceTypeName) { } return nil } -// GetFailureMessage gets the failureMessage property value. The failureMessage property +// GetFailureMessage gets the failureMessage property value. The error message if the change failed to apply. Only populated in getFailedChanges responses. null otherwise. // returns a *string when successful func (m *RecoveryChangeObjectBase) GetFailureMessage()(*string) { val, err := m.GetBackingStore().Get("failureMessage") @@ -151,7 +151,7 @@ func (m *RecoveryChangeObjectBase) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the changed object in its current state, used to uniquely identify the object. Supports $filter (eq, ne, startswith). func (m *RecoveryChangeObjectBase) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -165,7 +165,7 @@ func (m *RecoveryChangeObjectBase) SetEntityTypeName(value *ResourceTypeName)() panic(err) } } -// SetFailureMessage sets the failureMessage property value. The failureMessage property +// SetFailureMessage sets the failureMessage property value. The error message if the change failed to apply. Only populated in getFailedChanges responses. null otherwise. func (m *RecoveryChangeObjectBase) SetFailureMessage(value *string)() { err := m.GetBackingStore().Set("failureMessage", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery_job.go b/models/entrarecoveryservices/recovery_job.go index c0122d5cd5f..7a99a584a9b 100644 --- a/models/entrarecoveryservices/recovery_job.go +++ b/models/entrarecoveryservices/recovery_job.go @@ -60,7 +60,7 @@ func (m *RecoveryJob) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetTotalFailedChanges gets the totalFailedChanges property value. The totalFailedChanges property +// GetTotalFailedChanges gets the totalFailedChanges property value. The count of changes (including both objects and links) that failed to apply during recovery. // returns a *int32 when successful func (m *RecoveryJob) GetTotalFailedChanges()(*int32) { val, err := m.GetBackingStore().Get("totalFailedChanges") @@ -72,7 +72,7 @@ func (m *RecoveryJob) GetTotalFailedChanges()(*int32) { } return nil } -// GetTotalLinksModified gets the totalLinksModified property value. The totalLinksModified property +// GetTotalLinksModified gets the totalLinksModified property value. The count of directory object links (relationships) that were successfully modified during recovery. This value may be less than totalChangedLinksCalculated if some link changes failed. // returns a *int32 when successful func (m *RecoveryJob) GetTotalLinksModified()(*int32) { val, err := m.GetBackingStore().Get("totalLinksModified") @@ -84,7 +84,7 @@ func (m *RecoveryJob) GetTotalLinksModified()(*int32) { } return nil } -// GetTotalObjectsModified gets the totalObjectsModified property value. The totalObjectsModified property +// GetTotalObjectsModified gets the totalObjectsModified property value. The count of directory objects that were successfully modified during recovery. This value may be less than totalChangedObjectsCalculated if some object changes failed. // returns a *int32 when successful func (m *RecoveryJob) GetTotalObjectsModified()(*int32) { val, err := m.GetBackingStore().Get("totalObjectsModified") @@ -122,21 +122,21 @@ func (m *RecoveryJob) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetTotalFailedChanges sets the totalFailedChanges property value. The totalFailedChanges property +// SetTotalFailedChanges sets the totalFailedChanges property value. The count of changes (including both objects and links) that failed to apply during recovery. func (m *RecoveryJob) SetTotalFailedChanges(value *int32)() { err := m.GetBackingStore().Set("totalFailedChanges", value) if err != nil { panic(err) } } -// SetTotalLinksModified sets the totalLinksModified property value. The totalLinksModified property +// SetTotalLinksModified sets the totalLinksModified property value. The count of directory object links (relationships) that were successfully modified during recovery. This value may be less than totalChangedLinksCalculated if some link changes failed. func (m *RecoveryJob) SetTotalLinksModified(value *int32)() { err := m.GetBackingStore().Set("totalLinksModified", value) if err != nil { panic(err) } } -// SetTotalObjectsModified sets the totalObjectsModified property value. The totalObjectsModified property +// SetTotalObjectsModified sets the totalObjectsModified property value. The count of directory objects that were successfully modified during recovery. This value may be less than totalChangedObjectsCalculated if some object changes failed. func (m *RecoveryJob) SetTotalObjectsModified(value *int32)() { err := m.GetBackingStore().Set("totalObjectsModified", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery_job_base.go b/models/entrarecoveryservices/recovery_job_base.go index dd482b9d55a..71e85186ae3 100644 --- a/models/entrarecoveryservices/recovery_job_base.go +++ b/models/entrarecoveryservices/recovery_job_base.go @@ -120,7 +120,7 @@ func (m *RecoveryJobBase) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetFilteringCriteria gets the filteringCriteria property value. The filteringCriteria property +// GetFilteringCriteria gets the filteringCriteria property value. Optional filtering criteria used to scope the job to specific entity types or entity IDs. // returns a RecoveryJobFilteringCriteriaBaseable when successful func (m *RecoveryJobBase) GetFilteringCriteria()(RecoveryJobFilteringCriteriaBaseable) { val, err := m.GetBackingStore().Get("filteringCriteria") @@ -132,7 +132,7 @@ func (m *RecoveryJobBase) GetFilteringCriteria()(RecoveryJobFilteringCriteriaBas } return nil } -// GetJobCompletionDateTime gets the jobCompletionDateTime property value. The jobCompletionDateTime property +// GetJobCompletionDateTime gets the jobCompletionDateTime property value. The date and time when the job completed. Null if the job is still running. // returns a *Time when successful func (m *RecoveryJobBase) GetJobCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("jobCompletionDateTime") @@ -144,7 +144,7 @@ func (m *RecoveryJobBase) GetJobCompletionDateTime()(*i336074805fc853987abe6f7fe } return nil } -// GetJobStartDateTime gets the jobStartDateTime property value. The jobStartDateTime property +// GetJobStartDateTime gets the jobStartDateTime property value. The date and time when the job started. // returns a *Time when successful func (m *RecoveryJobBase) GetJobStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("jobStartDateTime") @@ -168,7 +168,7 @@ func (m *RecoveryJobBase) GetStatus()(*RecoveryStatus) { } return nil } -// GetTargetStateDateTime gets the targetStateDateTime property value. The targetStateDateTime property +// GetTargetStateDateTime gets the targetStateDateTime property value. The target snapshot timestamp to which the tenant is being restored. Supports $filter (eq, ne). // returns a *Time when successful func (m *RecoveryJobBase) GetTargetStateDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("targetStateDateTime") @@ -180,7 +180,7 @@ func (m *RecoveryJobBase) GetTargetStateDateTime()(*i336074805fc853987abe6f7fe3a } return nil } -// GetTotalChangedLinksCalculated gets the totalChangedLinksCalculated property value. The totalChangedLinksCalculated property +// GetTotalChangedLinksCalculated gets the totalChangedLinksCalculated property value. The total count of changed directory object links (relationships) calculated by the job. null until the job completes calculation. Not all calculated link changes may be successfully applied; see totalLinksModified on derived types for the count of links that were actually modified. // returns a *int32 when successful func (m *RecoveryJobBase) GetTotalChangedLinksCalculated()(*int32) { val, err := m.GetBackingStore().Get("totalChangedLinksCalculated") @@ -192,7 +192,7 @@ func (m *RecoveryJobBase) GetTotalChangedLinksCalculated()(*int32) { } return nil } -// GetTotalChangedObjectsCalculated gets the totalChangedObjectsCalculated property value. The totalChangedObjectsCalculated property +// GetTotalChangedObjectsCalculated gets the totalChangedObjectsCalculated property value. The total count of changed directory objects calculated by the job. null until the job completes calculation. Not all calculated object changes may be successfully applied; see totalObjectsModified on derived types for the count of objects that were actually modified. // returns a *int32 when successful func (m *RecoveryJobBase) GetTotalChangedObjectsCalculated()(*int32) { val, err := m.GetBackingStore().Get("totalChangedObjectsCalculated") @@ -255,21 +255,21 @@ func (m *RecoveryJobBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetFilteringCriteria sets the filteringCriteria property value. The filteringCriteria property +// SetFilteringCriteria sets the filteringCriteria property value. Optional filtering criteria used to scope the job to specific entity types or entity IDs. func (m *RecoveryJobBase) SetFilteringCriteria(value RecoveryJobFilteringCriteriaBaseable)() { err := m.GetBackingStore().Set("filteringCriteria", value) if err != nil { panic(err) } } -// SetJobCompletionDateTime sets the jobCompletionDateTime property value. The jobCompletionDateTime property +// SetJobCompletionDateTime sets the jobCompletionDateTime property value. The date and time when the job completed. Null if the job is still running. func (m *RecoveryJobBase) SetJobCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("jobCompletionDateTime", value) if err != nil { panic(err) } } -// SetJobStartDateTime sets the jobStartDateTime property value. The jobStartDateTime property +// SetJobStartDateTime sets the jobStartDateTime property value. The date and time when the job started. func (m *RecoveryJobBase) SetJobStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("jobStartDateTime", value) if err != nil { @@ -283,21 +283,21 @@ func (m *RecoveryJobBase) SetStatus(value *RecoveryStatus)() { panic(err) } } -// SetTargetStateDateTime sets the targetStateDateTime property value. The targetStateDateTime property +// SetTargetStateDateTime sets the targetStateDateTime property value. The target snapshot timestamp to which the tenant is being restored. Supports $filter (eq, ne). func (m *RecoveryJobBase) SetTargetStateDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("targetStateDateTime", value) if err != nil { panic(err) } } -// SetTotalChangedLinksCalculated sets the totalChangedLinksCalculated property value. The totalChangedLinksCalculated property +// SetTotalChangedLinksCalculated sets the totalChangedLinksCalculated property value. The total count of changed directory object links (relationships) calculated by the job. null until the job completes calculation. Not all calculated link changes may be successfully applied; see totalLinksModified on derived types for the count of links that were actually modified. func (m *RecoveryJobBase) SetTotalChangedLinksCalculated(value *int32)() { err := m.GetBackingStore().Set("totalChangedLinksCalculated", value) if err != nil { panic(err) } } -// SetTotalChangedObjectsCalculated sets the totalChangedObjectsCalculated property value. The totalChangedObjectsCalculated property +// SetTotalChangedObjectsCalculated sets the totalChangedObjectsCalculated property value. The total count of changed directory objects calculated by the job. null until the job completes calculation. Not all calculated object changes may be successfully applied; see totalObjectsModified on derived types for the count of objects that were actually modified. func (m *RecoveryJobBase) SetTotalChangedObjectsCalculated(value *int32)() { err := m.GetBackingStore().Set("totalChangedObjectsCalculated", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery_job_entity_name_and_ids_filter.go b/models/entrarecoveryservices/recovery_job_entity_name_and_ids_filter.go index 501dbe8a2a7..921378706a1 100644 --- a/models/entrarecoveryservices/recovery_job_entity_name_and_ids_filter.go +++ b/models/entrarecoveryservices/recovery_job_entity_name_and_ids_filter.go @@ -46,7 +46,7 @@ func (m *RecoveryJobEntityNameAndIdsFilter) GetFieldDeserializers()(map[string]f } return res } -// GetFilterValues gets the filterValues property value. The filterValues property +// GetFilterValues gets the filterValues property value. The list of entity type and ID pairs to include in the recovery job. Duplicate entity types are not allowed and return a 400 Bad Request error. // returns a []EntityTypeAndIdsable when successful func (m *RecoveryJobEntityNameAndIdsFilter) GetFilterValues()([]EntityTypeAndIdsable) { val, err := m.GetBackingStore().Get("filterValues") @@ -78,7 +78,7 @@ func (m *RecoveryJobEntityNameAndIdsFilter) Serialize(writer i878a80d2330e89d268 } return nil } -// SetFilterValues sets the filterValues property value. The filterValues property +// SetFilterValues sets the filterValues property value. The list of entity type and ID pairs to include in the recovery job. Duplicate entity types are not allowed and return a 400 Bad Request error. func (m *RecoveryJobEntityNameAndIdsFilter) SetFilterValues(value []EntityTypeAndIdsable)() { err := m.GetBackingStore().Set("filterValues", value) if err != nil { diff --git a/models/entrarecoveryservices/recovery_job_entity_names_filter.go b/models/entrarecoveryservices/recovery_job_entity_names_filter.go index 697649204e9..5391c6916a3 100644 --- a/models/entrarecoveryservices/recovery_job_entity_names_filter.go +++ b/models/entrarecoveryservices/recovery_job_entity_names_filter.go @@ -24,7 +24,7 @@ func NewRecoveryJobEntityNamesFilter()(*RecoveryJobEntityNamesFilter) { func CreateRecoveryJobEntityNamesFilterFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRecoveryJobEntityNamesFilter(), nil } -// GetEntityTypes gets the entityTypes property value. The entityTypes property +// GetEntityTypes gets the entityTypes property value. The list of entity types to include in the recovery job. // returns a []ResourceTypeName when successful func (m *RecoveryJobEntityNamesFilter) GetEntityTypes()([]ResourceTypeName) { val, err := m.GetBackingStore().Get("entityTypes") @@ -72,7 +72,7 @@ func (m *RecoveryJobEntityNamesFilter) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetEntityTypes sets the entityTypes property value. The entityTypes property +// SetEntityTypes sets the entityTypes property value. The list of entity types to include in the recovery job. func (m *RecoveryJobEntityNamesFilter) SetEntityTypes(value []ResourceTypeName)() { err := m.GetBackingStore().Set("entityTypes", value) if err != nil { diff --git a/models/entrarecoveryservices/snapshot.go b/models/entrarecoveryservices/snapshot.go index 1ab13867113..d615935b3e1 100644 --- a/models/entrarecoveryservices/snapshot.go +++ b/models/entrarecoveryservices/snapshot.go @@ -24,7 +24,7 @@ func NewSnapshot()(*Snapshot) { func CreateSnapshotFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSnapshot(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the snapshot was created. // returns a *Time when successful func (m *Snapshot) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -94,7 +94,7 @@ func (m *Snapshot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetRecoveryJobs gets the recoveryJobs property value. The recoveryJobs property +// GetRecoveryJobs gets the recoveryJobs property value. Collection of recovery jobs created for this snapshot. // returns a []RecoveryJobable when successful func (m *Snapshot) GetRecoveryJobs()([]RecoveryJobable) { val, err := m.GetBackingStore().Get("recoveryJobs") @@ -106,7 +106,7 @@ func (m *Snapshot) GetRecoveryJobs()([]RecoveryJobable) { } return nil } -// GetRecoveryPreviewJobs gets the recoveryPreviewJobs property value. The recoveryPreviewJobs property +// GetRecoveryPreviewJobs gets the recoveryPreviewJobs property value. Collection of preview jobs created for this snapshot. // returns a []RecoveryPreviewJobable when successful func (m *Snapshot) GetRecoveryPreviewJobs()([]RecoveryPreviewJobable) { val, err := m.GetBackingStore().Get("recoveryPreviewJobs") @@ -118,7 +118,7 @@ func (m *Snapshot) GetRecoveryPreviewJobs()([]RecoveryPreviewJobable) { } return nil } -// GetTotalChangedObjects gets the totalChangedObjects property value. The totalChangedObjects property +// GetTotalChangedObjects gets the totalChangedObjects property value. The total number of changed objects identified in this snapshot. // returns a *int32 when successful func (m *Snapshot) GetTotalChangedObjects()(*int32) { val, err := m.GetBackingStore().Get("totalChangedObjects") @@ -174,28 +174,28 @@ func (m *Snapshot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the snapshot was created. func (m *Snapshot) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetRecoveryJobs sets the recoveryJobs property value. The recoveryJobs property +// SetRecoveryJobs sets the recoveryJobs property value. Collection of recovery jobs created for this snapshot. func (m *Snapshot) SetRecoveryJobs(value []RecoveryJobable)() { err := m.GetBackingStore().Set("recoveryJobs", value) if err != nil { panic(err) } } -// SetRecoveryPreviewJobs sets the recoveryPreviewJobs property value. The recoveryPreviewJobs property +// SetRecoveryPreviewJobs sets the recoveryPreviewJobs property value. Collection of preview jobs created for this snapshot. func (m *Snapshot) SetRecoveryPreviewJobs(value []RecoveryPreviewJobable)() { err := m.GetBackingStore().Set("recoveryPreviewJobs", value) if err != nil { panic(err) } } -// SetTotalChangedObjects sets the totalChangedObjects property value. The totalChangedObjects property +// SetTotalChangedObjects sets the totalChangedObjects property value. The total number of changed objects identified in this snapshot. func (m *Snapshot) SetTotalChangedObjects(value *int32)() { err := m.GetBackingStore().Set("totalChangedObjects", value) if err != nil { diff --git a/models/security/audit_core_root.go b/models/security/audit_core_root.go index 8c4d0a3d7b1..ffb86b9a300 100644 --- a/models/security/audit_core_root.go +++ b/models/security/audit_core_root.go @@ -46,7 +46,7 @@ func (m *AuditCoreRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetQueries gets the queries property value. The queries property +// GetQueries gets the queries property value. The collection of audit log queries. // returns a []AuditLogQueryable when successful func (m *AuditCoreRoot) GetQueries()([]AuditLogQueryable) { val, err := m.GetBackingStore().Get("queries") @@ -78,7 +78,7 @@ func (m *AuditCoreRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetQueries sets the queries property value. The queries property +// SetQueries sets the queries property value. The collection of audit log queries. func (m *AuditCoreRoot) SetQueries(value []AuditLogQueryable)() { err := m.GetBackingStore().Set("queries", value) if err != nil { diff --git a/models/security/audit_data.go b/models/security/audit_data.go index 0be1c06a0ba..93ae2711902 100644 --- a/models/security/audit_data.go +++ b/models/security/audit_data.go @@ -844,7 +844,7 @@ func (m *AuditData) GetAdditionalData()(map[string]any) { func (m *AuditData) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDynamicProperties gets the dynamicProperties property value. The dynamicProperties property +// GetDynamicProperties gets the dynamicProperties property value. An open-type dictionary that contains dynamic audit event properties as name-value pairs. // returns a AuditRecordTypeDictionaryable when successful func (m *AuditData) GetDynamicProperties()(AuditRecordTypeDictionaryable) { val, err := m.GetBackingStore().Get("dynamicProperties") @@ -927,7 +927,7 @@ func (m *AuditData) SetAdditionalData(value map[string]any)() { func (m *AuditData) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDynamicProperties sets the dynamicProperties property value. The dynamicProperties property +// SetDynamicProperties sets the dynamicProperties property value. An open-type dictionary that contains dynamic audit event properties as name-value pairs. func (m *AuditData) SetDynamicProperties(value AuditRecordTypeDictionaryable)() { err := m.GetBackingStore().Set("dynamicProperties", value) if err != nil { diff --git a/models/security/audit_log_query.go b/models/security/audit_log_query.go index 8aea8a2975c..9e323f2b568 100644 --- a/models/security/audit_log_query.go +++ b/models/security/audit_log_query.go @@ -25,7 +25,7 @@ func NewAuditLogQuery()(*AuditLogQuery) { func CreateAuditLogQueryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAuditLogQuery(), nil } -// GetAdministrativeUnitIdFilters gets the administrativeUnitIdFilters property value. The administrative units tagged to an audit log record. +// GetAdministrativeUnitIdFilters gets the administrativeUnitIdFilters property value. The collection of administrative unit IDs to filter on. // returns a []string when successful func (m *AuditLogQuery) GetAdministrativeUnitIdFilters()([]string) { val, err := m.GetBackingStore().Get("administrativeUnitIdFilters") @@ -37,7 +37,7 @@ func (m *AuditLogQuery) GetAdministrativeUnitIdFilters()([]string) { } return nil } -// GetDisplayName gets the displayName property value. The display name of the saved audit log query. +// GetDisplayName gets the displayName property value. The display name of the audit log query. // returns a *string when successful func (m *AuditLogQuery) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -233,7 +233,7 @@ func (m *AuditLogQuery) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetFilterEndDateTime gets the filterEndDateTime property value. The end date of the date range in the query. +// GetFilterEndDateTime gets the filterEndDateTime property value. The end date and time of the audit log query filter. // returns a *Time when successful func (m *AuditLogQuery) GetFilterEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("filterEndDateTime") @@ -245,7 +245,7 @@ func (m *AuditLogQuery) GetFilterEndDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetFilterStartDateTime gets the filterStartDateTime property value. The start date of the date range in the query. +// GetFilterStartDateTime gets the filterStartDateTime property value. The start date and time of the audit log query filter. // returns a *Time when successful func (m *AuditLogQuery) GetFilterStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("filterStartDateTime") @@ -257,7 +257,7 @@ func (m *AuditLogQuery) GetFilterStartDateTime()(*i336074805fc853987abe6f7fe3ad9 } return nil } -// GetIpAddressFilters gets the ipAddressFilters property value. The IP address of the device that was used when the activity was logged. +// GetIpAddressFilters gets the ipAddressFilters property value. The collection of IP addresses to filter on. // returns a []string when successful func (m *AuditLogQuery) GetIpAddressFilters()([]string) { val, err := m.GetBackingStore().Get("ipAddressFilters") @@ -269,7 +269,7 @@ func (m *AuditLogQuery) GetIpAddressFilters()([]string) { } return nil } -// GetKeywordFilter gets the keywordFilter property value. Free text field to search non-indexed properties of the audit log. +// GetKeywordFilter gets the keywordFilter property value. The keyword to filter on. // returns a *string when successful func (m *AuditLogQuery) GetKeywordFilter()(*string) { val, err := m.GetBackingStore().Get("keywordFilter") @@ -281,7 +281,7 @@ func (m *AuditLogQuery) GetKeywordFilter()(*string) { } return nil } -// GetObjectIdFilters gets the objectIdFilters property value. For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user. For Exchange admin audit logging, the name of the object that was modified by the cmdlet. +// GetObjectIdFilters gets the objectIdFilters property value. The collection of object IDs to filter on. // returns a []string when successful func (m *AuditLogQuery) GetObjectIdFilters()([]string) { val, err := m.GetBackingStore().Get("objectIdFilters") @@ -293,7 +293,7 @@ func (m *AuditLogQuery) GetObjectIdFilters()([]string) { } return nil } -// GetOperationFilters gets the operationFilters property value. The name of the user or admin activity. For a description of the most common operations/activities, see Search the audit log in the Office 365 Protection Center. +// GetOperationFilters gets the operationFilters property value. The collection of operations to filter on. // returns a []string when successful func (m *AuditLogQuery) GetOperationFilters()([]string) { val, err := m.GetBackingStore().Get("operationFilters") @@ -305,7 +305,7 @@ func (m *AuditLogQuery) GetOperationFilters()([]string) { } return nil } -// GetRecords gets the records property value. An individual audit log record. +// GetRecords gets the records property value. The collection of audit log records retrieved by the query. // returns a []AuditLogRecordable when successful func (m *AuditLogQuery) GetRecords()([]AuditLogRecordable) { val, err := m.GetBackingStore().Get("records") @@ -317,7 +317,7 @@ func (m *AuditLogQuery) GetRecords()([]AuditLogRecordable) { } return nil } -// GetRecordTypeFilters gets the recordTypeFilters property value. The type of operation indicated by the record. For the list of member values, see auditLogRecordType. +// GetRecordTypeFilters gets the recordTypeFilters property value. The collection of record types to filter on. // returns a []AuditLogRecordType when successful func (m *AuditLogQuery) GetRecordTypeFilters()([]AuditLogRecordType) { val, err := m.GetBackingStore().Get("recordTypeFilters") @@ -329,7 +329,7 @@ func (m *AuditLogQuery) GetRecordTypeFilters()([]AuditLogRecordType) { } return nil } -// GetServiceFilters gets the serviceFilters property value. The serviceFilters property +// GetServiceFilters gets the serviceFilters property value. The collection of services to filter on. // returns a []string when successful func (m *AuditLogQuery) GetServiceFilters()([]string) { val, err := m.GetBackingStore().Get("serviceFilters") @@ -341,7 +341,7 @@ func (m *AuditLogQuery) GetServiceFilters()([]string) { } return nil } -// GetStatus gets the status property value. Describes the current status of the query. The possible values are: notStarted, running, succeeded, failed, cancelled, unknownFutureValue. +// GetStatus gets the status property value. The status of the audit log query. Possible values are: notStarted, running, succeeded, failed, cancelled, unknownFutureValue. // returns a *AuditLogQueryStatus when successful func (m *AuditLogQuery) GetStatus()(*AuditLogQueryStatus) { val, err := m.GetBackingStore().Get("status") @@ -353,7 +353,7 @@ func (m *AuditLogQuery) GetStatus()(*AuditLogQueryStatus) { } return nil } -// GetUserPrincipalNameFilters gets the userPrincipalNameFilters property value. The UPN (user principal name) of the user who performed the action (specified in the operation property) that resulted in the record being logged; for example, myname@mydomain_name. +// GetUserPrincipalNameFilters gets the userPrincipalNameFilters property value. The collection of user principal names to filter on. // returns a []string when successful func (m *AuditLogQuery) GetUserPrincipalNameFilters()([]string) { val, err := m.GetBackingStore().Get("userPrincipalNameFilters") @@ -458,91 +458,91 @@ func (m *AuditLogQuery) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAdministrativeUnitIdFilters sets the administrativeUnitIdFilters property value. The administrative units tagged to an audit log record. +// SetAdministrativeUnitIdFilters sets the administrativeUnitIdFilters property value. The collection of administrative unit IDs to filter on. func (m *AuditLogQuery) SetAdministrativeUnitIdFilters(value []string)() { err := m.GetBackingStore().Set("administrativeUnitIdFilters", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The display name of the saved audit log query. +// SetDisplayName sets the displayName property value. The display name of the audit log query. func (m *AuditLogQuery) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetFilterEndDateTime sets the filterEndDateTime property value. The end date of the date range in the query. +// SetFilterEndDateTime sets the filterEndDateTime property value. The end date and time of the audit log query filter. func (m *AuditLogQuery) SetFilterEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("filterEndDateTime", value) if err != nil { panic(err) } } -// SetFilterStartDateTime sets the filterStartDateTime property value. The start date of the date range in the query. +// SetFilterStartDateTime sets the filterStartDateTime property value. The start date and time of the audit log query filter. func (m *AuditLogQuery) SetFilterStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("filterStartDateTime", value) if err != nil { panic(err) } } -// SetIpAddressFilters sets the ipAddressFilters property value. The IP address of the device that was used when the activity was logged. +// SetIpAddressFilters sets the ipAddressFilters property value. The collection of IP addresses to filter on. func (m *AuditLogQuery) SetIpAddressFilters(value []string)() { err := m.GetBackingStore().Set("ipAddressFilters", value) if err != nil { panic(err) } } -// SetKeywordFilter sets the keywordFilter property value. Free text field to search non-indexed properties of the audit log. +// SetKeywordFilter sets the keywordFilter property value. The keyword to filter on. func (m *AuditLogQuery) SetKeywordFilter(value *string)() { err := m.GetBackingStore().Set("keywordFilter", value) if err != nil { panic(err) } } -// SetObjectIdFilters sets the objectIdFilters property value. For SharePoint and OneDrive for Business activity, the full path name of the file or folder accessed by the user. For Exchange admin audit logging, the name of the object that was modified by the cmdlet. +// SetObjectIdFilters sets the objectIdFilters property value. The collection of object IDs to filter on. func (m *AuditLogQuery) SetObjectIdFilters(value []string)() { err := m.GetBackingStore().Set("objectIdFilters", value) if err != nil { panic(err) } } -// SetOperationFilters sets the operationFilters property value. The name of the user or admin activity. For a description of the most common operations/activities, see Search the audit log in the Office 365 Protection Center. +// SetOperationFilters sets the operationFilters property value. The collection of operations to filter on. func (m *AuditLogQuery) SetOperationFilters(value []string)() { err := m.GetBackingStore().Set("operationFilters", value) if err != nil { panic(err) } } -// SetRecords sets the records property value. An individual audit log record. +// SetRecords sets the records property value. The collection of audit log records retrieved by the query. func (m *AuditLogQuery) SetRecords(value []AuditLogRecordable)() { err := m.GetBackingStore().Set("records", value) if err != nil { panic(err) } } -// SetRecordTypeFilters sets the recordTypeFilters property value. The type of operation indicated by the record. For the list of member values, see auditLogRecordType. +// SetRecordTypeFilters sets the recordTypeFilters property value. The collection of record types to filter on. func (m *AuditLogQuery) SetRecordTypeFilters(value []AuditLogRecordType)() { err := m.GetBackingStore().Set("recordTypeFilters", value) if err != nil { panic(err) } } -// SetServiceFilters sets the serviceFilters property value. The serviceFilters property +// SetServiceFilters sets the serviceFilters property value. The collection of services to filter on. func (m *AuditLogQuery) SetServiceFilters(value []string)() { err := m.GetBackingStore().Set("serviceFilters", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. Describes the current status of the query. The possible values are: notStarted, running, succeeded, failed, cancelled, unknownFutureValue. +// SetStatus sets the status property value. The status of the audit log query. Possible values are: notStarted, running, succeeded, failed, cancelled, unknownFutureValue. func (m *AuditLogQuery) SetStatus(value *AuditLogQueryStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { panic(err) } } -// SetUserPrincipalNameFilters sets the userPrincipalNameFilters property value. The UPN (user principal name) of the user who performed the action (specified in the operation property) that resulted in the record being logged; for example, myname@mydomain_name. +// SetUserPrincipalNameFilters sets the userPrincipalNameFilters property value. The collection of user principal names to filter on. func (m *AuditLogQuery) SetUserPrincipalNameFilters(value []string)() { err := m.GetBackingStore().Set("userPrincipalNameFilters", value) if err != nil { diff --git a/models/security/audit_log_record.go b/models/security/audit_log_record.go index 94f893e7f2e..49214f1ebdc 100644 --- a/models/security/audit_log_record.go +++ b/models/security/audit_log_record.go @@ -25,7 +25,7 @@ func NewAuditLogRecord()(*AuditLogRecord) { func CreateAuditLogRecordFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAuditLogRecord(), nil } -// GetAdministrativeUnits gets the administrativeUnits property value. The administrative units tagged to an audit log record. +// GetAdministrativeUnits gets the administrativeUnits property value. The collection of administrative units associated with the record. // returns a []string when successful func (m *AuditLogRecord) GetAdministrativeUnits()([]string) { val, err := m.GetBackingStore().Get("administrativeUnits") @@ -37,7 +37,7 @@ func (m *AuditLogRecord) GetAdministrativeUnits()([]string) { } return nil } -// GetAuditData gets the auditData property value. A JSON object that contains the actual audit log data. +// GetAuditData gets the auditData property value. The audit data associated with the record. // returns a AuditDataable when successful func (m *AuditLogRecord) GetAuditData()(AuditDataable) { val, err := m.GetBackingStore().Get("auditData") @@ -49,7 +49,7 @@ func (m *AuditLogRecord) GetAuditData()(AuditDataable) { } return nil } -// GetAuditLogRecordType gets the auditLogRecordType property value. The type of operation indicated by the record. For the list of member values, see auditLogRecordType. +// GetAuditLogRecordType gets the auditLogRecordType property value. The type of the audit log record. // returns a *AuditLogRecordType when successful func (m *AuditLogRecord) GetAuditLogRecordType()(*AuditLogRecordType) { val, err := m.GetBackingStore().Get("auditLogRecordType") @@ -61,7 +61,7 @@ func (m *AuditLogRecord) GetAuditLogRecordType()(*AuditLogRecordType) { } return nil } -// GetClientIp gets the clientIp property value. The IP address of the device used when the activity was logged. The IP address is displayed in either an IPv4 or IPv6 address format. +// GetClientIp gets the clientIp property value. The IP address of the client that performed the activity. // returns a *string when successful func (m *AuditLogRecord) GetClientIp()(*string) { val, err := m.GetBackingStore().Get("clientIp") @@ -73,7 +73,7 @@ func (m *AuditLogRecord) GetClientIp()(*string) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time in UTC when the user performed the activity. +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the activity was performed. // returns a *Time when successful func (m *AuditLogRecord) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -217,7 +217,7 @@ func (m *AuditLogRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetObjectId gets the objectId property value. For Exchange admin audit logging, the name of the object modified by the cmdlet. For SharePoint activity, the full URL path name of the file or folder accessed by a user. For Microsoft Entra activity, the name of the user account that was modified. +// GetObjectId gets the objectId property value. The identifier of the object that was affected by the activity. // returns a *string when successful func (m *AuditLogRecord) GetObjectId()(*string) { val, err := m.GetBackingStore().Get("objectId") @@ -229,7 +229,7 @@ func (m *AuditLogRecord) GetObjectId()(*string) { } return nil } -// GetOperation gets the operation property value. The name of the user or admin activity. +// GetOperation gets the operation property value. The name of the activity that was performed. // returns a *string when successful func (m *AuditLogRecord) GetOperation()(*string) { val, err := m.GetBackingStore().Get("operation") @@ -241,7 +241,7 @@ func (m *AuditLogRecord) GetOperation()(*string) { } return nil } -// GetOrganizationId gets the organizationId property value. The GUID for your organization. +// GetOrganizationId gets the organizationId property value. The GUID of the organization's Microsoft 365 tenant. // returns a *string when successful func (m *AuditLogRecord) GetOrganizationId()(*string) { val, err := m.GetBackingStore().Get("organizationId") @@ -265,7 +265,7 @@ func (m *AuditLogRecord) GetService()(*string) { } return nil } -// GetUserId gets the userId property value. The user who performed the action (specified in the Operation property) that resulted in the record being logged. Audit records for activity performed by system accounts (such as SHAREPOINT/system or NT AUTHORITY/SYSTEM) are also included in the audit log. Another common value for the UserId property is app@sharepoint. It indicates that the 'user' who performed the activity was an application with the necessary permissions in SharePoint to perform organization-wide actions (such as searching a SharePoint site or OneDrive account) on behalf of a user, admin, or service. +// GetUserId gets the userId property value. The identifier of the user, system account, service, or application that performed the activity. // returns a *string when successful func (m *AuditLogRecord) GetUserId()(*string) { val, err := m.GetBackingStore().Get("userId") @@ -277,7 +277,7 @@ func (m *AuditLogRecord) GetUserId()(*string) { } return nil } -// GetUserPrincipalName gets the userPrincipalName property value. UPN of the user who performed the action. +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name of the user who performed the activity. // returns a *string when successful func (m *AuditLogRecord) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") @@ -289,7 +289,7 @@ func (m *AuditLogRecord) GetUserPrincipalName()(*string) { } return nil } -// GetUserType gets the userType property value. The type of user that performed the operation. The possible values are: regular, reserved, admin, dcAdmin, system, application, servicePrincipal, customPolicy, systemPolicy, partnerTechnician, guest, unknownFutureValue. +// GetUserType gets the userType property value. The type of user who performed the activity. Possible values are: regular, reserved, admin, dcAdmin, system, application, servicePrincipal, customPolicy, systemPolicy, partnerTechnician, guest, unknownFutureValue. // returns a *AuditLogUserType when successful func (m *AuditLogRecord) GetUserType()(*AuditLogUserType) { val, err := m.GetBackingStore().Get("userType") @@ -383,56 +383,56 @@ func (m *AuditLogRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetAdministrativeUnits sets the administrativeUnits property value. The administrative units tagged to an audit log record. +// SetAdministrativeUnits sets the administrativeUnits property value. The collection of administrative units associated with the record. func (m *AuditLogRecord) SetAdministrativeUnits(value []string)() { err := m.GetBackingStore().Set("administrativeUnits", value) if err != nil { panic(err) } } -// SetAuditData sets the auditData property value. A JSON object that contains the actual audit log data. +// SetAuditData sets the auditData property value. The audit data associated with the record. func (m *AuditLogRecord) SetAuditData(value AuditDataable)() { err := m.GetBackingStore().Set("auditData", value) if err != nil { panic(err) } } -// SetAuditLogRecordType sets the auditLogRecordType property value. The type of operation indicated by the record. For the list of member values, see auditLogRecordType. +// SetAuditLogRecordType sets the auditLogRecordType property value. The type of the audit log record. func (m *AuditLogRecord) SetAuditLogRecordType(value *AuditLogRecordType)() { err := m.GetBackingStore().Set("auditLogRecordType", value) if err != nil { panic(err) } } -// SetClientIp sets the clientIp property value. The IP address of the device used when the activity was logged. The IP address is displayed in either an IPv4 or IPv6 address format. +// SetClientIp sets the clientIp property value. The IP address of the client that performed the activity. func (m *AuditLogRecord) SetClientIp(value *string)() { err := m.GetBackingStore().Set("clientIp", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time in UTC when the user performed the activity. +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the activity was performed. func (m *AuditLogRecord) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetObjectId sets the objectId property value. For Exchange admin audit logging, the name of the object modified by the cmdlet. For SharePoint activity, the full URL path name of the file or folder accessed by a user. For Microsoft Entra activity, the name of the user account that was modified. +// SetObjectId sets the objectId property value. The identifier of the object that was affected by the activity. func (m *AuditLogRecord) SetObjectId(value *string)() { err := m.GetBackingStore().Set("objectId", value) if err != nil { panic(err) } } -// SetOperation sets the operation property value. The name of the user or admin activity. +// SetOperation sets the operation property value. The name of the activity that was performed. func (m *AuditLogRecord) SetOperation(value *string)() { err := m.GetBackingStore().Set("operation", value) if err != nil { panic(err) } } -// SetOrganizationId sets the organizationId property value. The GUID for your organization. +// SetOrganizationId sets the organizationId property value. The GUID of the organization's Microsoft 365 tenant. func (m *AuditLogRecord) SetOrganizationId(value *string)() { err := m.GetBackingStore().Set("organizationId", value) if err != nil { @@ -446,21 +446,21 @@ func (m *AuditLogRecord) SetService(value *string)() { panic(err) } } -// SetUserId sets the userId property value. The user who performed the action (specified in the Operation property) that resulted in the record being logged. Audit records for activity performed by system accounts (such as SHAREPOINT/system or NT AUTHORITY/SYSTEM) are also included in the audit log. Another common value for the UserId property is app@sharepoint. It indicates that the 'user' who performed the activity was an application with the necessary permissions in SharePoint to perform organization-wide actions (such as searching a SharePoint site or OneDrive account) on behalf of a user, admin, or service. +// SetUserId sets the userId property value. The identifier of the user, system account, service, or application that performed the activity. func (m *AuditLogRecord) SetUserId(value *string)() { err := m.GetBackingStore().Set("userId", value) if err != nil { panic(err) } } -// SetUserPrincipalName sets the userPrincipalName property value. UPN of the user who performed the action. +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name of the user who performed the activity. func (m *AuditLogRecord) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { panic(err) } } -// SetUserType sets the userType property value. The type of user that performed the operation. The possible values are: regular, reserved, admin, dcAdmin, system, application, servicePrincipal, customPolicy, systemPolicy, partnerTechnician, guest, unknownFutureValue. +// SetUserType sets the userType property value. The type of user who performed the activity. Possible values are: regular, reserved, admin, dcAdmin, system, application, servicePrincipal, customPolicy, systemPolicy, partnerTechnician, guest, unknownFutureValue. func (m *AuditLogRecord) SetUserType(value *AuditLogUserType)() { err := m.GetBackingStore().Set("userType", value) if err != nil { diff --git a/models/targeted_chat_message.go b/models/targeted_chat_message.go index fdb975aa649..f93a0dfc9cf 100644 --- a/models/targeted_chat_message.go +++ b/models/targeted_chat_message.go @@ -40,7 +40,7 @@ func (m *TargetedChatMessage) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetRecipient gets the recipient property value. The recipient property +// GetRecipient gets the recipient property value. The intended recipient of the targeted message. // returns a Identityable when successful func (m *TargetedChatMessage) GetRecipient()(Identityable) { val, err := m.GetBackingStore().Get("recipient") @@ -66,7 +66,7 @@ func (m *TargetedChatMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetRecipient sets the recipient property value. The recipient property +// SetRecipient sets the recipient property value. The intended recipient of the targeted message. func (m *TargetedChatMessage) SetRecipient(value Identityable)() { err := m.GetBackingStore().Set("recipient", value) if err != nil { diff --git a/security/audit_log_queries_item_records_audit_log_record_item_request_builder.go b/security/audit_log_queries_item_records_audit_log_record_item_request_builder.go index 79f5003b365..d6b52cd87fe 100644 --- a/security/audit_log_queries_item_records_audit_log_record_item_request_builder.go +++ b/security/audit_log_queries_item_records_audit_log_record_item_request_builder.go @@ -14,7 +14,7 @@ import ( type AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderGetQueryParameters an individual audit log record. +// AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderGetQueryParameters the collection of audit log records retrieved by the query. type AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -43,7 +43,7 @@ func NewAuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewAuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get an individual audit log record. +// Get the collection of audit log records retrieved by the query. // returns a AuditLogRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AuditLogRecordable, error) { @@ -63,7 +63,7 @@ func (m *AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilder) Get(ctx con } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AuditLogRecordable), nil } -// ToGetRequestInformation an individual audit log record. +// ToGetRequestInformation the collection of audit log records retrieved by the query. // returns a *RequestInformation when successful func (m *AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsAuditLogRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/audit_log_queries_item_records_request_builder.go b/security/audit_log_queries_item_records_request_builder.go index 16ad15e1d5b..f1aa87edac5 100644 --- a/security/audit_log_queries_item_records_request_builder.go +++ b/security/audit_log_queries_item_records_request_builder.go @@ -14,7 +14,7 @@ import ( type AuditLogQueriesItemRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters an individual audit log record. +// AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters the collection of audit log records retrieved by the query. type AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -72,7 +72,7 @@ func NewAuditLogQueriesItemRecordsRequestBuilder(rawUrl string, requestAdapter i func (m *AuditLogQueriesItemRecordsRequestBuilder) Count()(*AuditLogQueriesItemRecordsCountRequestBuilder) { return NewAuditLogQueriesItemRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get an individual audit log record. +// Get the collection of audit log records retrieved by the query. // returns a AuditLogRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AuditLogQueriesItemRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AuditLogRecordCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *AuditLogQueriesItemRecordsRequestBuilder) Get(ctx context.Context, requ } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AuditLogRecordCollectionResponseable), nil } -// ToGetRequestInformation an individual audit log record. +// ToGetRequestInformation the collection of audit log records retrieved by the query. // returns a *RequestInformation when successful func (m *AuditLogQueriesItemRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/audit_log_request_builder.go b/security/audit_log_request_builder.go index e7280650749..2dfb6805e52 100644 --- a/security/audit_log_request_builder.go +++ b/security/audit_log_request_builder.go @@ -21,7 +21,7 @@ type AuditLogRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuditLogRequestBuilderGetQueryParameters get auditLog from security +// AuditLogRequestBuilderGetQueryParameters the entry point for the audit log query API. type AuditLogRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *AuditLogRequestBuilder) Delete(ctx context.Context, requestConfiguratio } return nil } -// Get get auditLog from security +// Get the entry point for the audit log query API. // returns a AuditCoreRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AuditLogRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AuditCoreRootable, error) { @@ -129,7 +129,7 @@ func (m *AuditLogRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get auditLog from security +// ToGetRequestInformation the entry point for the audit log query API. // returns a *RequestInformation when successful func (m *AuditLogRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_targeted_messages_request_builder.go b/users/item_chats_item_targeted_messages_request_builder.go index fbfb51ac87e..ebf30b69f5b 100644 --- a/users/item_chats_item_targeted_messages_request_builder.go +++ b/users/item_chats_item_targeted_messages_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemChatsItemTargetedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters get targetedMessages from users +// ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. type ItemChatsItemTargetedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,7 +79,7 @@ func NewItemChatsItemTargetedMessagesRequestBuilder(rawUrl string, requestAdapte func (m *ItemChatsItemTargetedMessagesRequestBuilder) Count()(*ItemChatsItemTargetedMessagesCountRequestBuilder) { return NewItemChatsItemTargetedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get targetedMessages from users +// Get a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a TargetedChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChatsItemTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ItemChatsItemTargetedMessagesRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable), nil } -// ToGetRequestInformation get targetedMessages from users +// ToGetRequestInformation a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a *RequestInformation when successful func (m *ItemChatsItemTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go b/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go index a3e6e723ee7..3ea7018ee56 100644 --- a/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go +++ b/users/item_chats_item_targeted_messages_targeted_chat_message_item_request_builder.go @@ -21,7 +21,7 @@ type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters get targetedMessages from users +// ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. type ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -73,7 +73,7 @@ func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Del } return nil } -// Get get targetedMessages from users +// Get a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a TargetedChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TargetedChatMessageable, error) { @@ -134,7 +134,7 @@ func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get targetedMessages from users +// ToGetRequestInformation a collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. // returns a *RequestInformation when successful func (m *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTargetedMessagesTargetedChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_delete_targeted_message_request_builder.go b/users/item_teamwork_delete_targeted_message_request_builder.go index cdb0e4f8673..0465f1d05a2 100644 --- a/users/item_teamwork_delete_targeted_message_request_builder.go +++ b/users/item_teamwork_delete_targeted_message_request_builder.go @@ -33,8 +33,11 @@ func NewItemTeamworkDeleteTargetedMessageRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemTeamworkDeleteTargetedMessageRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action deleteTargetedMessage +// Post delete a specific targeted message from a channel context. Teams administrators can use this API to remove targeted messages by providing the message ID, team ID, and channel ID. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-deletetargetedmessage?view=graph-rest-1.0 func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) Post(ctx context.Context, body ItemTeamworkDeleteTargetedMessagePostRequestBodyable, requestConfiguration *ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +52,7 @@ func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) Post(ctx context.Conte } return nil } -// ToPostRequestInformation invoke action deleteTargetedMessage +// ToPostRequestInformation delete a specific targeted message from a channel context. Teams administrators can use this API to remove targeted messages by providing the message ID, team ID, and channel ID. // returns a *RequestInformation when successful func (m *ItemTeamworkDeleteTargetedMessageRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamworkDeleteTargetedMessagePostRequestBodyable, requestConfiguration *ItemTeamworkDeleteTargetedMessageRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go b/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go index 36571bc6c04..d35853e0d80 100644 --- a/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go +++ b/users/item_teamwork_get_all_retained_targeted_messages_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedTargetedMessages +// ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters get all retained targeted messages sent to a specific user in group chats and channels. type ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -54,10 +54,13 @@ func NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedTargetedMessages +// Get get all retained targeted messages sent to a specific user in group chats and channels. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedTargetedMessagesGetResponse instead. // returns a ItemTeamworkGetAllRetainedTargetedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-getallretainedtargetedmessages?view=graph-rest-1.0 func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllRetainedTargetedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) Get(ctx conte } return res.(ItemTeamworkGetAllRetainedTargetedMessagesResponseable), nil } -// GetAsGetAllRetainedTargetedMessagesGetResponse invoke function getAllRetainedTargetedMessages +// GetAsGetAllRetainedTargetedMessagesGetResponse get all retained targeted messages sent to a specific user in group chats and channels. // returns a ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-getallretainedtargetedmessages?view=graph-rest-1.0 func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) GetAsGetAllRetainedTargetedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) GetAsGetAllRe } return res.(ItemTeamworkGetAllRetainedTargetedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedTargetedMessages +// ToGetRequestInformation get all retained targeted messages sent to a specific user in group chats and channels. // returns a *RequestInformation when successful func (m *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkGetAllRetainedTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_get_all_targeted_messages_request_builder.go b/users/item_teamwork_get_all_targeted_messages_request_builder.go index e39a22ce8e3..1926de1d95f 100644 --- a/users/item_teamwork_get_all_targeted_messages_request_builder.go +++ b/users/item_teamwork_get_all_targeted_messages_request_builder.go @@ -13,7 +13,7 @@ import ( type ItemTeamworkGetAllTargetedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters invoke function getAllTargetedMessages +// ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters get all targeted messages sent to a specific user in group chats and channels. type ItemTeamworkGetAllTargetedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -54,10 +54,13 @@ func NewItemTeamworkGetAllTargetedMessagesRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemTeamworkGetAllTargetedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllTargetedMessages +// Get get all targeted messages sent to a specific user in group chats and channels. // Deprecated: This method is obsolete. Use GetAsGetAllTargetedMessagesGetResponse instead. // returns a ItemTeamworkGetAllTargetedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-getalltargetedmessages?view=graph-rest-1.0 func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllTargetedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) Get(ctx context.Conte } return res.(ItemTeamworkGetAllTargetedMessagesResponseable), nil } -// GetAsGetAllTargetedMessagesGetResponse invoke function getAllTargetedMessages +// GetAsGetAllTargetedMessagesGetResponse get all targeted messages sent to a specific user in group chats and channels. // returns a ItemTeamworkGetAllTargetedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-getalltargetedmessages?view=graph-rest-1.0 func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) GetAsGetAllTargetedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamworkGetAllTargetedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) GetAsGetAllTargetedMe } return res.(ItemTeamworkGetAllTargetedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllTargetedMessages +// ToGetRequestInformation get all targeted messages sent to a specific user in group chats and channels. // returns a *RequestInformation when successful func (m *ItemTeamworkGetAllTargetedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkGetAllTargetedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)