diff --git a/admin/teams_policy_request_builder.go b/admin/teams_policy_request_builder.go index b88ac2d4a16..b17c459f916 100644 --- a/admin/teams_policy_request_builder.go +++ b/admin/teams_policy_request_builder.go @@ -21,7 +21,7 @@ type TeamsPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsPolicyRequestBuilderGetQueryParameters get policy from admin +// TeamsPolicyRequestBuilderGetQueryParameters represents a navigation property to the Teams policy assignment object. type TeamsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *TeamsPolicyRequestBuilder) Delete(ctx context.Context, requestConfigura } return nil } -// Get get policy from admin +// Get represents a navigation property to the Teams policy assignment object. // returns a TeamsPolicyAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderGetRequestConfiguration)(ida00aeab33baad931d9ea7ddda72fd1a74178962fdc58f5709ddf52b9f0fcc0f.TeamsPolicyAssignmentable, error) { @@ -124,7 +124,7 @@ func (m *TeamsPolicyRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get policy from admin +// ToGetRequestInformation represents a navigation property to the Teams policy assignment object. // returns a *RequestInformation when successful func (m *TeamsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/teams_request_builder.go b/admin/teams_request_builder.go index 68ab6606914..a79489acd08 100644 --- a/admin/teams_request_builder.go +++ b/admin/teams_request_builder.go @@ -21,7 +21,7 @@ type TeamsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsRequestBuilderGetQueryParameters a container for all Teams telephone number management functionalities and user configurations. +// TeamsRequestBuilderGetQueryParameters a container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments. type TeamsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *TeamsRequestBuilder) Delete(ctx context.Context, requestConfiguration * } return nil } -// Get a container for all Teams telephone number management functionalities and user configurations. +// Get a container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments. // returns a TeamsAdminRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(ida00aeab33baad931d9ea7ddda72fd1a74178962fdc58f5709ddf52b9f0fcc0f.TeamsAdminRootable, error) { @@ -129,7 +129,7 @@ func (m *TeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation a container for all Teams telephone number management functionalities and user configurations. +// ToGetRequestInformation a container for Teams administration functionalities, such as user configurations, telephone number management, and policy assignments. // returns a *RequestInformation when successful func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index 1eb4fecaf78..c70fbc5609f 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -21,7 +21,7 @@ type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAsset object. +// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAssetGroup object. type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of an updatableAsset object. +// Get read the properties and relationships of an updatableAssetGroup object. // returns a UpdatableAssetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -150,7 +150,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an updatableAsset object. +// ToGetRequestInformation read the properties and relationships of an updatableAssetGroup object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/administrativeunits/item_restore_request_builder.go b/administrativeunits/item_restore_request_builder.go index 79fc76c81e0..61311568f1d 100644 --- a/administrativeunits/item_restore_request_builder.go +++ b/administrativeunits/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index 20240bfebfd..1f1b652a9ad 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index ddfa195fec2..0f4f480360d 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -112,12 +112,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// Post send a new chatMessage in the specified channel or a chat. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/presences_item_set_presence_request_builder.go b/communications/presences_item_set_presence_request_builder.go index f07d1a84957..7137125005e 100644 --- a/communications/presences_item_set_presence_request_builder.go +++ b/communications/presences_item_set_presence_request_builder.go @@ -33,7 +33,7 @@ func NewPresencesItemSetPresenceRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewPresencesItemSetPresenceRequestBuilderInternal(urlParams, requestAdapter) } -// Post set the availability and activity status in a presence session of an application for a user. +// Post set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *PresencesItemSetPresenceRequestBuilder) Post(ctx context.Context, body } return nil } -// ToPostRequestInformation set the availability and activity status in a presence session of an application for a user. +// ToPostRequestInformation set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. // returns a *RequestInformation when successful func (m *PresencesItemSetPresenceRequestBuilder) ToPostRequestInformation(ctx context.Context, body PresencesItemSetPresencePostRequestBodyable, requestConfiguration *PresencesItemSetPresenceRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index a6ec448931a..6b36e01969b 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contracts/item_restore_request_builder.go b/contracts/item_restore_request_builder.go index 453417befb7..84900105133 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go b/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go index 621cfbbd6e1..5c445ec0afc 100644 --- a/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go +++ b/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go @@ -21,7 +21,7 @@ type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return nil } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -129,7 +129,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index bca9e5c762c..cbabea1ab59 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Count()(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_restore_request_builder.go b/devices/item_restore_request_builder.go index a67af6801da..89509ff7f3a 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/authentication_method_devices_hardware_oath_devices_request_builder.go b/directory/authentication_method_devices_hardware_oath_devices_request_builder.go index acfe8b0b804..9aba9425a38 100644 --- a/directory/authentication_method_devices_hardware_oath_devices_request_builder.go +++ b/directory/authentication_method_devices_hardware_oath_devices_request_builder.go @@ -102,12 +102,12 @@ func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable), nil } -// Post create a new hardwareOathTokenAuthenticationMethodDevice object. This API supports two scenarios:- Create the new hardware token without assigning to a user. You can then assign to a user.- Create and assign a hardware token to a user in the same request. +// Post create one or more hardwareOathTokenAuthenticationMethodDevice objects. This API supports two scenarios:- Create the new hardware tokens without assigning to users. You can then assign to a user.- Create and assign any individual hardware tokens to users in the same request. // returns a HardwareOathTokenAuthenticationMethodDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new hardwareOathTokenAuthenticationMethodDevice object. This API supports two scenarios:- Create the new hardware token without assigning to a user. You can then assign to a user.- Create and assign a hardware token to a user in the same request. +// ToPostRequestInformation create one or more hardwareOathTokenAuthenticationMethodDevice objects. This API supports two scenarios:- Create the new hardware tokens without assigning to users. You can then assign to a user.- Create and assign any individual hardware tokens to users in the same request. // returns a *RequestInformation when successful func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index 16e5e71b08b..6756813834a 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewDeletedItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) Post(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *DeletedItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/item_restore_request_builder.go b/directoryobjects/item_restore_request_builder.go index cb51a18806e..c61d271da14 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/item_restore_request_builder.go b/directoryroles/item_restore_request_builder.go index 691380c2236..226582c4c57 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroletemplates/item_restore_request_builder.go b/directoryroletemplates/item_restore_request_builder.go index cbb489e2447..ada76115b17 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directorysettingtemplates/item_restore_request_builder.go b/directorysettingtemplates/item_restore_request_builder.go index 6d629ae9af9..e68eff18f03 100644 --- a/directorysettingtemplates/item_restore_request_builder.go +++ b/directorysettingtemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index da47a8b1b36..41dd63d6cdb 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -94,12 +94,12 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) EntireRow()(*ItemIte func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of range object. +// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -187,7 +187,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) RowWithRow(row *int3 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the properties and relationships of range object. +// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index fe46c5fd5f5..7c4db9b74a0 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -34,12 +34,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +57,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index c9d062ece23..45b99a6d241 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -94,12 +94,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Entire func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of range object. +// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -187,7 +187,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) RowWit func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the properties and relationships of range object. +// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index 13aa128ffb2..5dd8a0bb7fb 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -34,12 +34,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +57,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 2b89e7f11b1..e19e6156ac6 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -109,12 +109,12 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the properties of an educationuser object. +// Patch update the relatedContact collection of an educationUser object. // returns a EducationUserable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta func (m *UsersEducationUserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -172,7 +172,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationuser object. +// ToPatchRequestInformation update the relatedContact collection of an educationUser object. // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 8f7a9442148..b12838f3bb2 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -109,12 +109,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put update the properties of an externalitem. +// Put create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. // returns a ExternalItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -157,7 +157,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the properties of an externalitem. +// ToPutRequestInformation create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_schema_request_builder.go b/external/connections_item_schema_request_builder.go index 15bb2e25852..a630fe1c1d6 100644 --- a/external/connections_item_schema_request_builder.go +++ b/external/connections_item_schema_request_builder.go @@ -73,12 +73,12 @@ func (m *ConnectionsItemSchemaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// Patch create a new or update an existing schema for a Microsoft Search connection. +// Patch update the properties of a schema for an externalConnection. // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta func (m *ConnectionsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -110,7 +110,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new or update an existing schema for a Microsoft Search connection. +// ToPatchRequestInformation update the properties of a schema for an externalConnection. // returns a *RequestInformation when successful func (m *ConnectionsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go index fad650a0550..76a3457f8f6 100644 --- a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go +++ b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go @@ -104,12 +104,12 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Get(ctx context. } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// Patch update the properties of an inboundFileFlow object. +// Patch update the properties of an inboundApiFlow object. // returns a InboundFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -152,7 +152,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an inboundFileFlow object. +// ToPatchRequestInformation update the properties of an inboundApiFlow object. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index 59fb4e64b05..ab574e5ba18 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -102,12 +102,12 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundFileFlow object. +// Post create a new inboundApiFlow object. // returns a InboundFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new inboundFileFlow object. +// ToPostRequestInformation create a new inboundApiFlow object. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/group_item_request_builder.go b/groups/group_item_request_builder.go index 50a3e0cb9c0..5e427816087 100644 --- a/groups/group_item_request_builder.go +++ b/groups/group_item_request_builder.go @@ -112,7 +112,7 @@ func (m *GroupItemRequestBuilder) Conversations()(*ItemConversationsRequestBuild func (m *GroupItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalfOfRequestBuilder) { return NewItemCreatedOnBehalfOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -342,7 +342,7 @@ func (m *GroupItemRequestBuilder) Team()(*ItemTeamRequestBuilder) { func (m *GroupItemRequestBuilder) Threads()(*ItemThreadsRequestBuilder) { return NewItemThreadsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 1a8ecc1b291..e8303e6fb01 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -122,12 +122,12 @@ func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequestBuilder) { return NewGetUserOwnedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta func (m *GroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -159,7 +159,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index db27481c900..12fd10f0e67 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -33,11 +33,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index afc16223bc5..7ed17a4eef6 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index f13435870ef..1df1146fbe6 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -57,11 +57,11 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a thread object. +// Delete delete conversationThread. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-beta func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a thread object. +// ToDeleteRequestInformation delete conversationThread. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 05a4f596abf..3786f60c6b5 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -33,11 +33,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupswithuniquename/groups_with_unique_name_request_builder.go b/groupswithuniquename/groups_with_unique_name_request_builder.go index 1eeb83c00fb..cd5f213b29d 100644 --- a/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -60,7 +60,7 @@ func NewGroupsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewGroupsWithUniqueNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -125,7 +125,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable), nil } -// ToDeleteRequestInformation delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_named_locations_item_restore_request_builder.go b/identity/conditional_access_deleted_items_named_locations_item_restore_request_builder.go index 4cf54135f7f..8ca6f7ced43 100644 --- a/identity/conditional_access_deleted_items_named_locations_item_restore_request_builder.go +++ b/identity/conditional_access_deleted_items_named_locations_item_restore_request_builder.go @@ -34,9 +34,12 @@ func NewConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action restore +// Post restore a deleted ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-restore?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToPostRequestInformation invoke action restore +// ToPostRequestInformation restore a deleted ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_named_locations_named_location_item_request_builder.go b/identity/conditional_access_deleted_items_named_locations_named_location_item_request_builder.go index 534428cb3b0..86b8021b67b 100644 --- a/identity/conditional_access_deleted_items_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_deleted_items_named_locations_named_location_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters get namedLocations from identity +// ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,8 +57,11 @@ func NewConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property namedLocations for identity +// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-delete?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuil } return nil } -// Get get namedLocations from identity +// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-get?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +124,7 @@ func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuil func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilder) Restore()(*ConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilder) { return NewConditionalAccessDeletedItemsNamedLocationsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property namedLocations for identity +// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +135,7 @@ func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get namedLocations from identity +// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_named_locations_request_builder.go b/identity/conditional_access_deleted_items_named_locations_request_builder.go index 4968d6d5631..f154b8f3ea6 100644 --- a/identity/conditional_access_deleted_items_named_locations_request_builder.go +++ b/identity/conditional_access_deleted_items_named_locations_request_builder.go @@ -14,7 +14,7 @@ import ( type ConditionalAccessDeletedItemsNamedLocationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessDeletedItemsNamedLocationsRequestBuilderGetQueryParameters get namedLocations from identity +// ConditionalAccessDeletedItemsNamedLocationsRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type ConditionalAccessDeletedItemsNamedLocationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConditionalAccessDeletedItemsNamedLocationsRequestBuilder(rawUrl string, func (m *ConditionalAccessDeletedItemsNamedLocationsRequestBuilder) Count()(*ConditionalAccessDeletedItemsNamedLocationsCountRequestBuilder) { return NewConditionalAccessDeletedItemsNamedLocationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get namedLocations from identity +// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a NamedLocationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-list?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsNamedLocationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *ConditionalAccessDeletedItemsNamedLocationsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToGetRequestInformation get namedLocations from identity +// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsNamedLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsNamedLocationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_policies_conditional_access_policy_item_request_builder.go b/identity/conditional_access_deleted_items_policies_conditional_access_policy_item_request_builder.go index f9b39c3644d..259afa11c67 100644 --- a/identity/conditional_access_deleted_items_policies_conditional_access_policy_item_request_builder.go +++ b/identity/conditional_access_deleted_items_policies_conditional_access_policy_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters get policies from identity +// ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,8 +57,11 @@ func NewConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestB urlParams["request-raw-url"] = rawUrl return NewConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property policies for identity +// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-delete?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequest } return nil } -// Get get policies from identity +// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-get?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +124,7 @@ func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequest func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilder) Restore()(*ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilder) { return NewConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete navigation property policies for identity +// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +135,7 @@ func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get policies from identity +// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_policies_item_restore_request_builder.go b/identity/conditional_access_deleted_items_policies_item_restore_request_builder.go index a4c9cd764a9..3e4ff435a5a 100644 --- a/identity/conditional_access_deleted_items_policies_item_restore_request_builder.go +++ b/identity/conditional_access_deleted_items_policies_item_restore_request_builder.go @@ -34,9 +34,12 @@ func NewConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action restore +// Post restore a deleted conditionalAccessPolicy object. // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-restore?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToPostRequestInformation invoke action restore +// ToPostRequestInformation restore a deleted conditionalAccessPolicy object. // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_policies_request_builder.go b/identity/conditional_access_deleted_items_policies_request_builder.go index 53c00812806..9d30d34f9aa 100644 --- a/identity/conditional_access_deleted_items_policies_request_builder.go +++ b/identity/conditional_access_deleted_items_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type ConditionalAccessDeletedItemsPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessDeletedItemsPoliciesRequestBuilderGetQueryParameters get policies from identity +// ConditionalAccessDeletedItemsPoliciesRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type ConditionalAccessDeletedItemsPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConditionalAccessDeletedItemsPoliciesRequestBuilder(rawUrl string, reque func (m *ConditionalAccessDeletedItemsPoliciesRequestBuilder) Count()(*ConditionalAccessDeletedItemsPoliciesCountRequestBuilder) { return NewConditionalAccessDeletedItemsPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get policies from identity +// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ConditionalAccessPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/policydeletableitem-list?view=graph-rest-beta func (m *ConditionalAccessDeletedItemsPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *ConditionalAccessDeletedItemsPoliciesRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToGetRequestInformation get policies from identity +// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_deleted_items_request_builder.go b/identity/conditional_access_deleted_items_request_builder.go index 63e9c01b9f7..9aeac4926a3 100644 --- a/identity/conditional_access_deleted_items_request_builder.go +++ b/identity/conditional_access_deleted_items_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessDeletedItemsRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessDeletedItemsRequestBuilderGetQueryParameters get deletedItems from identity +// ConditionalAccessDeletedItemsRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the deleted Conditional Access objects. type ConditionalAccessDeletedItemsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *ConditionalAccessDeletedItemsRequestBuilder) Delete(ctx context.Context } return nil } -// Get get deletedItems from identity +// Get read-only. Nullable. Returns a collection of the deleted Conditional Access objects. // returns a CaPoliciesDeletableRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConditionalAccessDeletedItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CaPoliciesDeletableRootable, error) { @@ -134,7 +134,7 @@ func (m *ConditionalAccessDeletedItemsRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get deletedItems from identity +// ToGetRequestInformation read-only. Nullable. Returns a collection of the deleted Conditional Access objects. // returns a *RequestInformation when successful func (m *ConditionalAccessDeletedItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessDeletedItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_item_restore_request_builder.go b/identity/conditional_access_named_locations_item_restore_request_builder.go index 0726a39cfb2..a3b1a9fe476 100644 --- a/identity/conditional_access_named_locations_item_restore_request_builder.go +++ b/identity/conditional_access_named_locations_item_restore_request_builder.go @@ -34,9 +34,12 @@ func NewConditionalAccessNamedLocationsItemRestoreRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action restore +// Post restore a deleted ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-restore?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ConditionalAccessNamedLocationsItemRestoreRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToPostRequestInformation invoke action restore +// ToPostRequestInformation restore a deleted ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 811813531de..423cf3b4684 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters read the properties and relationships of a compliantNetworkNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a countryNamedLocation object. +// Delete delete a namedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get read the properties and relationships of a compliantNetworkNamedLocation object. +// Get retrieve the properties and relationships of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/compliantnetworknamedlocation-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// Patch update the properties of an ipNamedLocation object. +// Patch update the properties of a countryNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Restore()(*ConditionalAccessNamedLocationsItemRestoreRequestBuilder) { return NewConditionalAccessNamedLocationsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a countryNamedLocation object. +// ToDeleteRequestInformation delete a namedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +138,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a compliantNetworkNamedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +152,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ipNamedLocation object. +// ToPatchRequestInformation update the properties of a countryNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_policies_item_restore_request_builder.go b/identity/conditional_access_policies_item_restore_request_builder.go index 3fc5a785673..c70a785eeca 100644 --- a/identity/conditional_access_policies_item_restore_request_builder.go +++ b/identity/conditional_access_policies_item_restore_request_builder.go @@ -34,9 +34,12 @@ func NewConditionalAccessPoliciesItemRestoreRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewConditionalAccessPoliciesItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action restore +// Post restore a deleted conditionalAccessPolicy object. // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-restore?view=graph-rest-beta func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToPostRequestInformation invoke action restore +// ToPostRequestInformation restore a deleted conditionalAccessPolicy object. // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 01391f24c74..c987ed74f5b 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -21,7 +21,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -101,12 +101,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -178,7 +178,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go index 8190233211c..75a5ad3de4b 100644 --- a/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go @@ -21,7 +21,7 @@ type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,12 +79,12 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index cc843656059..8fbb03078b4 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -21,7 +21,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -91,12 +91,12 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all files related to an agreement. This includes the default file and all localized files. +// Get retrieve the properties and relationships of an agreement object. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -148,7 +148,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. +// ToGetRequestInformation retrieve the properties and relationships of an agreement object. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index 8b8c27a913e..45bdd5bb106 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -14,7 +14,7 @@ import ( type RiskyUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a collection of riskyUser objects. +// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a riskyUser object. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -94,12 +94,12 @@ func (m *RiskyUsersRequestBuilder) Count()(*RiskyUsersCountRequestBuilder) { func (m *RiskyUsersRequestBuilder) Dismiss()(*RiskyUsersDismissRequestBuilder) { return NewRiskyUsersDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a collection of riskyUser objects. +// Get retrieve the properties and relationships of a riskyUser object. // returns a RiskyUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -137,7 +137,7 @@ func (m *RiskyUsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a collection of riskyUser objects. +// ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. // returns a *RequestInformation when successful func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-lock.json b/kiota-lock.json index 42ee07f378e..5374758d207 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5EBF0931575B59AFF14D62894DEA1930E8EA6764C2838D65EB17C04BBD10176BD6FC9859893FAA48C7AC6F4984BE90FD1DBE3E8CABDC2FF70B5BC5937BBED056", + "descriptionHash": "AA9E94E7EFD0F6E782B6025956D84BB92BC7E532F476B492EA4BF706BFE47EDD4645053F696A1B496A97FA963846A230A27E9CEDBE9C3B6EA581B9BADED17BF4", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0", diff --git a/models/android_managed_app_protection.go b/models/android_managed_app_protection.go index 9f57312c837..7d269e137bd 100644 --- a/models/android_managed_app_protection.go +++ b/models/android_managed_app_protection.go @@ -229,7 +229,7 @@ func (m *AndroidManagedAppProtection) GetConnectToVpnOnLaunch()(*bool) { } return nil } -// GetCustomBrowserDisplayName gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// GetCustomBrowserDisplayName gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. // returns a *string when successful func (m *AndroidManagedAppProtection) GetCustomBrowserDisplayName()(*string) { val, err := m.GetBackingStore().Get("customBrowserDisplayName") @@ -241,7 +241,7 @@ func (m *AndroidManagedAppProtection) GetCustomBrowserDisplayName()(*string) { } return nil } -// GetCustomBrowserPackageId gets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// GetCustomBrowserPackageId gets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. // returns a *string when successful func (m *AndroidManagedAppProtection) GetCustomBrowserPackageId()(*string) { val, err := m.GetBackingStore().Get("customBrowserPackageId") @@ -1473,14 +1473,14 @@ func (m *AndroidManagedAppProtection) SetConnectToVpnOnLaunch(value *bool)() { panic(err) } } -// SetCustomBrowserDisplayName sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// SetCustomBrowserDisplayName sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. func (m *AndroidManagedAppProtection) SetCustomBrowserDisplayName(value *string)() { err := m.GetBackingStore().Set("customBrowserDisplayName", value) if err != nil { panic(err) } } -// SetCustomBrowserPackageId sets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// SetCustomBrowserPackageId sets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. func (m *AndroidManagedAppProtection) SetCustomBrowserPackageId(value *string)() { err := m.GetBackingStore().Set("customBrowserPackageId", value) if err != nil { diff --git a/models/ca_policies_deletable_root.go b/models/ca_policies_deletable_root.go index 15f6c5c4865..b2841d99b27 100644 --- a/models/ca_policies_deletable_root.go +++ b/models/ca_policies_deletable_root.go @@ -60,7 +60,7 @@ func (m *CaPoliciesDeletableRoot) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetNamedLocations gets the namedLocations property value. The namedLocations property +// GetNamedLocations gets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations. // returns a []NamedLocationable when successful func (m *CaPoliciesDeletableRoot) GetNamedLocations()([]NamedLocationable) { val, err := m.GetBackingStore().Get("namedLocations") @@ -72,7 +72,7 @@ func (m *CaPoliciesDeletableRoot) GetNamedLocations()([]NamedLocationable) { } return nil } -// GetPolicies gets the policies property value. The policies property +// GetPolicies gets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access policies. // returns a []ConditionalAccessPolicyable when successful func (m *CaPoliciesDeletableRoot) GetPolicies()([]ConditionalAccessPolicyable) { val, err := m.GetBackingStore().Get("policies") @@ -116,14 +116,14 @@ func (m *CaPoliciesDeletableRoot) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetNamedLocations sets the namedLocations property value. The namedLocations property +// SetNamedLocations sets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations. func (m *CaPoliciesDeletableRoot) SetNamedLocations(value []NamedLocationable)() { err := m.GetBackingStore().Set("namedLocations", value) if err != nil { panic(err) } } -// SetPolicies sets the policies property value. The policies property +// SetPolicies sets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access policies. func (m *CaPoliciesDeletableRoot) SetPolicies(value []ConditionalAccessPolicyable)() { err := m.GetBackingStore().Set("policies", value) if err != nil { diff --git a/models/conditional_access_policy.go b/models/conditional_access_policy.go index d7553b00f70..82239b66a05 100644 --- a/models/conditional_access_policy.go +++ b/models/conditional_access_policy.go @@ -199,7 +199,7 @@ func (m *ConditionalAccessPolicy) GetGrantControls()(ConditionalAccessGrantContr } return nil } -// GetId gets the id property value. The id property +// GetId gets the id property value. Specifies the identifier of a conditionalAccessPolicy object. Read-only. // returns a *string when successful func (m *ConditionalAccessPolicy) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -345,7 +345,7 @@ func (m *ConditionalAccessPolicy) SetGrantControls(value ConditionalAccessGrantC panic(err) } } -// SetId sets the id property value. The id property +// SetId sets the id property value. Specifies the identifier of a conditionalAccessPolicy object. Read-only. func (m *ConditionalAccessPolicy) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/conditional_access_root.go b/models/conditional_access_root.go index f075cce26a4..184ed445cfe 100644 --- a/models/conditional_access_root.go +++ b/models/conditional_access_root.go @@ -58,7 +58,7 @@ func (m *ConditionalAccessRoot) GetAuthenticationStrengths()(AuthenticationStren } return nil } -// GetDeletedItems gets the deletedItems property value. The deletedItems property +// GetDeletedItems gets the deletedItems property value. Read-only. Nullable. Returns a collection of the deleted Conditional Access objects. // returns a CaPoliciesDeletableRootable when successful func (m *ConditionalAccessRoot) GetDeletedItems()(CaPoliciesDeletableRootable) { val, err := m.GetBackingStore().Get("deletedItems") @@ -301,7 +301,7 @@ func (m *ConditionalAccessRoot) SetAuthenticationStrengths(value AuthenticationS panic(err) } } -// SetDeletedItems sets the deletedItems property value. The deletedItems property +// SetDeletedItems sets the deletedItems property value. Read-only. Nullable. Returns a collection of the deleted Conditional Access objects. func (m *ConditionalAccessRoot) SetDeletedItems(value CaPoliciesDeletableRootable)() { err := m.GetBackingStore().Set("deletedItems", value) if err != nil { diff --git a/models/device_management_configuration_choice_setting_collection_definition.go b/models/device_management_configuration_choice_setting_collection_definition.go index d50316d9034..0c0a324732c 100644 --- a/models/device_management_configuration_choice_setting_collection_definition.go +++ b/models/device_management_configuration_choice_setting_collection_definition.go @@ -48,7 +48,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetFiel } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection +// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 // returns a *int32 when successful func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") @@ -60,7 +60,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaxi } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection +// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 // returns a *int32 when successful func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") @@ -92,14 +92,14 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) Seriali } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection +// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection +// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_choice_setting_definition.go b/models/device_management_configuration_choice_setting_definition.go index b0bac320d5b..3ca255debae 100644 --- a/models/device_management_configuration_choice_setting_definition.go +++ b/models/device_management_configuration_choice_setting_definition.go @@ -40,7 +40,7 @@ func CreateDeviceManagementConfigurationChoiceSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationChoiceSettingDefinition(), nil } -// GetDefaultOptionId gets the defaultOptionId property value. Default option for the choice setting. +// GetDefaultOptionId gets the defaultOptionId property value. Default option for choice setting // returns a *string when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetDefaultOptionId()(*string) { val, err := m.GetBackingStore().Get("defaultOptionId") @@ -84,7 +84,7 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetFieldDeseriali } return res } -// GetOptions gets the options property value. Options for the setting that can be selected. +// GetOptions gets the options property value. Options for the setting that can be selected // returns a []DeviceManagementConfigurationOptionDefinitionable when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetOptions()([]DeviceManagementConfigurationOptionDefinitionable) { val, err := m.GetBackingStore().Get("options") @@ -122,14 +122,14 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) Serialize(writer } return nil } -// SetDefaultOptionId sets the defaultOptionId property value. Default option for the choice setting. +// SetDefaultOptionId sets the defaultOptionId property value. Default option for choice setting func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetDefaultOptionId(value *string)() { err := m.GetBackingStore().Set("defaultOptionId", value) if err != nil { panic(err) } } -// SetOptions sets the options property value. Options for the setting that can be selected. +// SetOptions sets the options property value. Options for the setting that can be selected func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetOptions(value []DeviceManagementConfigurationOptionDefinitionable)() { err := m.GetBackingStore().Set("options", value) if err != nil { diff --git a/models/device_management_configuration_setting_definition.go b/models/device_management_configuration_setting_definition.go index 948e9ac22b9..3bd4b3d152d 100644 --- a/models/device_management_configuration_setting_definition.go +++ b/models/device_management_configuration_setting_definition.go @@ -64,7 +64,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetAccessTypes()(*Devic } return nil } -// GetApplicability gets the applicability property value. Details which device setting is applicable on. Supports: $filters. +// GetApplicability gets the applicability property value. Details which device setting is applicable on // returns a DeviceManagementConfigurationSettingApplicabilityable when successful func (m *DeviceManagementConfigurationSettingDefinition) GetApplicability()(DeviceManagementConfigurationSettingApplicabilityable) { val, err := m.GetBackingStore().Get("applicability") @@ -88,7 +88,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetBaseUri()(*string) { } return nil } -// GetCategoryId gets the categoryId property value. Specify category in which the setting is under. Support $filters. +// GetCategoryId gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string) { val, err := m.GetBackingStore().Get("categoryId") @@ -100,7 +100,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string } return nil } -// GetDescription gets the description property value. Description of the setting. +// GetDescription gets the description property value. Description of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -112,7 +112,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*strin } return nil } -// GetDisplayName gets the displayName property value. Name of the setting. For example: Allow Toast. +// GetDisplayName gets the displayName property value. Display name of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -338,7 +338,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetFieldDeserializers() } return res } -// GetHelpText gets the helpText property value. Help text of the setting. Give more details of the setting. +// GetHelpText gets the helpText property value. Help text of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) { val, err := m.GetBackingStore().Get("helpText") @@ -350,7 +350,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) } return nil } -// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at. +// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at // returns a []string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetInfoUrls()([]string) { val, err := m.GetBackingStore().Get("infoUrls") @@ -434,7 +434,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetRiskLevel()(*DeviceM } return nil } -// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. +// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetRootDefinitionId()(*string) { val, err := m.GetBackingStore().Get("rootDefinitionId") @@ -634,7 +634,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetAccessTypes(value *D panic(err) } } -// SetApplicability sets the applicability property value. Details which device setting is applicable on. Supports: $filters. +// SetApplicability sets the applicability property value. Details which device setting is applicable on func (m *DeviceManagementConfigurationSettingDefinition) SetApplicability(value DeviceManagementConfigurationSettingApplicabilityable)() { err := m.GetBackingStore().Set("applicability", value) if err != nil { @@ -648,35 +648,35 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetBaseUri(value *strin panic(err) } } -// SetCategoryId sets the categoryId property value. Specify category in which the setting is under. Support $filters. +// SetCategoryId sets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) func (m *DeviceManagementConfigurationSettingDefinition) SetCategoryId(value *string)() { err := m.GetBackingStore().Set("categoryId", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. Description of the setting. +// SetDescription sets the description property value. Description of the item func (m *DeviceManagementConfigurationSettingDefinition) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Name of the setting. For example: Allow Toast. +// SetDisplayName sets the displayName property value. Display name of the item func (m *DeviceManagementConfigurationSettingDefinition) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetHelpText sets the helpText property value. Help text of the setting. Give more details of the setting. +// SetHelpText sets the helpText property value. Help text of the item func (m *DeviceManagementConfigurationSettingDefinition) SetHelpText(value *string)() { err := m.GetBackingStore().Set("helpText", value) if err != nil { panic(err) } } -// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at. +// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at func (m *DeviceManagementConfigurationSettingDefinition) SetInfoUrls(value []string)() { err := m.GetBackingStore().Set("infoUrls", value) if err != nil { @@ -725,7 +725,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetRiskLevel(value *Dev panic(err) } } -// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. +// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition if the setting is a child setting. func (m *DeviceManagementConfigurationSettingDefinition) SetRootDefinitionId(value *string)() { err := m.GetBackingStore().Set("rootDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_definition.go b/models/device_management_configuration_setting_group_definition.go index ad51270f407..4d5c523e5a4 100644 --- a/models/device_management_configuration_setting_group_definition.go +++ b/models/device_management_configuration_setting_group_definition.go @@ -40,7 +40,7 @@ func CreateDeviceManagementConfigurationSettingGroupDefinitionFromDiscriminatorV } return NewDeviceManagementConfigurationSettingGroupDefinition(), nil } -// GetChildIds gets the childIds property value. Dependent child settings to this group of settings. +// GetChildIds gets the childIds property value. Dependent child settings to this group of settings // returns a []string when successful func (m *DeviceManagementConfigurationSettingGroupDefinition) GetChildIds()([]string) { val, err := m.GetBackingStore().Get("childIds") @@ -168,7 +168,7 @@ func (m *DeviceManagementConfigurationSettingGroupDefinition) Serialize(writer i } return nil } -// SetChildIds sets the childIds property value. Dependent child settings to this group of settings. +// SetChildIds sets the childIds property value. Dependent child settings to this group of settings func (m *DeviceManagementConfigurationSettingGroupDefinition) SetChildIds(value []string)() { err := m.GetBackingStore().Set("childIds", value) if err != nil { diff --git a/models/device_management_configuration_simple_setting_definition.go b/models/device_management_configuration_simple_setting_definition.go index ca80ca87480..4208942819b 100644 --- a/models/device_management_configuration_simple_setting_definition.go +++ b/models/device_management_configuration_simple_setting_definition.go @@ -40,7 +40,7 @@ func CreateDeviceManagementConfigurationSimpleSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationSimpleSettingDefinition(), nil } -// GetDefaultValue gets the defaultValue property value. Default setting value for this setting +// GetDefaultValue gets the defaultValue property value. Default setting value for this setting. // returns a DeviceManagementConfigurationSettingValueable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue()(DeviceManagementConfigurationSettingValueable) { val, err := m.GetBackingStore().Get("defaultValue") @@ -52,7 +52,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue() } return nil } -// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting +// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting. // returns a []DeviceManagementConfigurationSettingDependedOnByable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy()([]DeviceManagementConfigurationSettingDependedOnByable) { val, err := m.GetBackingStore().Get("dependedOnBy") @@ -64,7 +64,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy() } return nil } -// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on +// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on. // returns a []DeviceManagementConfigurationDependentOnable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependentOn()([]DeviceManagementConfigurationDependentOnable) { val, err := m.GetBackingStore().Get("dependentOn") @@ -134,7 +134,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetFieldDeseriali } return res } -// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting +// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting. // returns a DeviceManagementConfigurationSettingValueDefinitionable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetValueDefinition()(DeviceManagementConfigurationSettingValueDefinitionable) { val, err := m.GetBackingStore().Get("valueDefinition") @@ -190,28 +190,28 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) Serialize(writer } return nil } -// SetDefaultValue sets the defaultValue property value. Default setting value for this setting +// SetDefaultValue sets the defaultValue property value. Default setting value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDefaultValue(value DeviceManagementConfigurationSettingValueable)() { err := m.GetBackingStore().Set("defaultValue", value) if err != nil { panic(err) } } -// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting +// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependedOnBy(value []DeviceManagementConfigurationSettingDependedOnByable)() { err := m.GetBackingStore().Set("dependedOnBy", value) if err != nil { panic(err) } } -// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on +// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependentOn(value []DeviceManagementConfigurationDependentOnable)() { err := m.GetBackingStore().Set("dependentOn", value) if err != nil { panic(err) } } -// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting +// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetValueDefinition(value DeviceManagementConfigurationSettingValueDefinitionable)() { err := m.GetBackingStore().Set("valueDefinition", value) if err != nil { diff --git a/models/device_management_configuration_string_setting_value_definition.go b/models/device_management_configuration_string_setting_value_definition.go index 60ad00052f9..694e02fbad3 100644 --- a/models/device_management_configuration_string_setting_value_definition.go +++ b/models/device_management_configuration_string_setting_value_definition.go @@ -109,7 +109,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFileTypes } return nil } -// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. +// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. // returns a *DeviceManagementConfigurationStringFormat when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFormat()(*DeviceManagementConfigurationStringFormat) { val, err := m.GetBackingStore().Get("format") @@ -145,7 +145,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetIsSecret( } return nil } -// GetMaximumLength gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 +// GetMaximumLength gets the maximumLength property value. Maximum length of string // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLength()(*int64) { val, err := m.GetBackingStore().Get("maximumLength") @@ -157,7 +157,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLe } return nil } -// GetMinimumLength gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 +// GetMinimumLength gets the minimumLength property value. Minimum length of string // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMinimumLength()(*int64) { val, err := m.GetBackingStore().Get("minimumLength") @@ -221,7 +221,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFileTypes panic(err) } } -// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. +// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFormat(value *DeviceManagementConfigurationStringFormat)() { err := m.GetBackingStore().Set("format", value) if err != nil { @@ -242,14 +242,14 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetIsSecret( panic(err) } } -// SetMaximumLength sets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 +// SetMaximumLength sets the maximumLength property value. Maximum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMaximumLength(value *int64)() { err := m.GetBackingStore().Set("maximumLength", value) if err != nil { panic(err) } } -// SetMinimumLength sets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 +// SetMinimumLength sets the minimumLength property value. Minimum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMinimumLength(value *int64)() { err := m.GetBackingStore().Set("minimumLength", value) if err != nil { diff --git a/models/extended_key_usage.go b/models/extended_key_usage.go index 27a1d47eada..319a819fe11 100644 --- a/models/extended_key_usage.go +++ b/models/extended_key_usage.go @@ -80,7 +80,7 @@ func (m *ExtendedKeyUsage) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetName gets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. +// GetName gets the name property value. Extended Key Usage Name // returns a *string when successful func (m *ExtendedKeyUsage) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -92,7 +92,7 @@ func (m *ExtendedKeyUsage) GetName()(*string) { } return nil } -// GetObjectIdentifier gets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. +// GetObjectIdentifier gets the objectIdentifier property value. Extended Key Usage Object Identifier // returns a *string when successful func (m *ExtendedKeyUsage) GetObjectIdentifier()(*string) { val, err := m.GetBackingStore().Get("objectIdentifier") @@ -155,14 +155,14 @@ func (m *ExtendedKeyUsage) SetAdditionalData(value map[string]any)() { func (m *ExtendedKeyUsage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetName sets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. +// SetName sets the name property value. Extended Key Usage Name func (m *ExtendedKeyUsage) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetObjectIdentifier sets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. +// SetObjectIdentifier sets the objectIdentifier property value. Extended Key Usage Object Identifier func (m *ExtendedKeyUsage) SetObjectIdentifier(value *string)() { err := m.GetBackingStore().Set("objectIdentifier", value) if err != nil { diff --git a/models/file_storage_container.go b/models/file_storage_container.go index 2760756ef82..ea8c6c46836 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -446,7 +446,7 @@ func (m *FileStorageContainer) GetLockState()(*SiteLockState) { } return nil } -// GetMigrationJobs gets the migrationJobs property value. The migrationJobs property +// GetMigrationJobs gets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. // returns a []SharePointMigrationJobable when successful func (m *FileStorageContainer) GetMigrationJobs()([]SharePointMigrationJobable) { val, err := m.GetBackingStore().Get("migrationJobs") @@ -836,7 +836,7 @@ func (m *FileStorageContainer) SetLockState(value *SiteLockState)() { panic(err) } } -// SetMigrationJobs sets the migrationJobs property value. The migrationJobs property +// SetMigrationJobs sets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. func (m *FileStorageContainer) SetMigrationJobs(value []SharePointMigrationJobable)() { err := m.GetBackingStore().Set("migrationJobs", value) if err != nil { diff --git a/models/identity.go b/models/identity.go index 9bdb0d1cc5b..958263e2acc 100644 --- a/models/identity.go +++ b/models/identity.go @@ -105,7 +105,7 @@ func (m *Identity) GetAdditionalData()(map[string]any) { func (m *Identity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. +// GetDisplayName gets the displayName property value. The display name of the identity. This property is read-only. // returns a *string when successful func (m *Identity) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -153,7 +153,7 @@ func (m *Identity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetId gets the id property value. Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. +// GetId gets the id property value. The identifier of the identity. This property is read-only. // returns a *string when successful func (m *Identity) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -216,14 +216,14 @@ func (m *Identity) SetAdditionalData(value map[string]any)() { func (m *Identity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. +// SetDisplayName sets the displayName property value. The display name of the identity. This property is read-only. func (m *Identity) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetId sets the id property value. Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. +// SetId sets the id property value. The identifier of the identity. This property is read-only. func (m *Identity) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/ios_managed_app_protection.go b/models/ios_managed_app_protection.go index b3d44900d1f..cc5c5f2c62c 100644 --- a/models/ios_managed_app_protection.go +++ b/models/ios_managed_app_protection.go @@ -97,7 +97,7 @@ func (m *IosManagedAppProtection) GetApps()([]ManagedMobileAppable) { } return nil } -// GetCustomBrowserProtocol gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. +// GetCustomBrowserProtocol gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. // returns a *string when successful func (m *IosManagedAppProtection) GetCustomBrowserProtocol()(*string) { val, err := m.GetBackingStore().Get("customBrowserProtocol") @@ -823,7 +823,7 @@ func (m *IosManagedAppProtection) SetApps(value []ManagedMobileAppable)() { panic(err) } } -// SetCustomBrowserProtocol sets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. +// SetCustomBrowserProtocol sets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. func (m *IosManagedAppProtection) SetCustomBrowserProtocol(value *string)() { err := m.GetBackingStore().Set("customBrowserProtocol", value) if err != nil { diff --git a/models/mobile_app_troubleshooting_event.go b/models/mobile_app_troubleshooting_event.go index a2ac7641d54..c24e655da20 100644 --- a/models/mobile_app_troubleshooting_event.go +++ b/models/mobile_app_troubleshooting_event.go @@ -35,7 +35,7 @@ func (m *MobileAppTroubleshootingEvent) GetApplicationId()(*string) { } return nil } -// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. +// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. // returns a []AppLogCollectionRequestable when successful func (m *MobileAppTroubleshootingEvent) GetAppLogCollectionRequests()([]AppLogCollectionRequestable) { val, err := m.GetBackingStore().Get("appLogCollectionRequests") @@ -236,7 +236,7 @@ func (m *MobileAppTroubleshootingEvent) SetApplicationId(value *string)() { panic(err) } } -// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. +// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. func (m *MobileAppTroubleshootingEvent) SetAppLogCollectionRequests(value []AppLogCollectionRequestable)() { err := m.GetBackingStore().Set("appLogCollectionRequests", value) if err != nil { diff --git a/models/presence.go b/models/presence.go index 5864cf8c619..3a70b1f14c1 100644 --- a/models/presence.go +++ b/models/presence.go @@ -22,7 +22,7 @@ func NewPresence()(*Presence) { func CreatePresenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPresence(), nil } -// GetActivity gets the activity property value. The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive, InAMeeting, Offline, OffWork, OutOfOffice, PresenceUnknown, Presenting, UrgentInterruptionsOnly. +// GetActivity gets the activity property value. The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. // returns a *string when successful func (m *Presence) GetActivity()(*string) { val, err := m.GetBackingStore().Get("activity") @@ -34,7 +34,7 @@ func (m *Presence) GetActivity()(*string) { } return nil } -// GetAvailability gets the availability property value. The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown. +// GetAvailability gets the availability property value. The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown. // returns a *string when successful func (m *Presence) GetAvailability()(*string) { val, err := m.GetBackingStore().Get("availability") @@ -170,14 +170,14 @@ func (m *Presence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetActivity sets the activity property value. The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive, InAMeeting, Offline, OffWork, OutOfOffice, PresenceUnknown, Presenting, UrgentInterruptionsOnly. +// SetActivity sets the activity property value. The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. func (m *Presence) SetActivity(value *string)() { err := m.GetBackingStore().Set("activity", value) if err != nil { panic(err) } } -// SetAvailability sets the availability property value. The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown. +// SetAvailability sets the availability property value. The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown. func (m *Presence) SetAvailability(value *string)() { err := m.GetBackingStore().Set("availability", value) if err != nil { diff --git a/models/report.go b/models/report.go index 3a6e99ba770..b10ca247e08 100644 --- a/models/report.go +++ b/models/report.go @@ -44,7 +44,7 @@ func (m *Report) GetAdditionalData()(map[string]any) { func (m *Report) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContent gets the content property value. Report content; details vary by report type. +// GetContent gets the content property value. The http content that has the data // returns a []byte when successful func (m *Report) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -127,7 +127,7 @@ func (m *Report) SetAdditionalData(value map[string]any)() { func (m *Report) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContent sets the content property value. Report content; details vary by report type. +// SetContent sets the content property value. The http content that has the data func (m *Report) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { diff --git a/models/share_point_migration_container_info.go b/models/share_point_migration_container_info.go index 5bdc396a9ad..7caf5aa52fe 100644 --- a/models/share_point_migration_container_info.go +++ b/models/share_point_migration_container_info.go @@ -43,7 +43,7 @@ func (m *SharePointMigrationContainerInfo) GetAdditionalData()(map[string]any) { func (m *SharePointMigrationContainerInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDataContainerUri gets the dataContainerUri property value. The dataContainerUri property +// GetDataContainerUri gets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. // returns a *string when successful func (m *SharePointMigrationContainerInfo) GetDataContainerUri()(*string) { val, err := m.GetBackingStore().Get("dataContainerUri") @@ -55,7 +55,7 @@ func (m *SharePointMigrationContainerInfo) GetDataContainerUri()(*string) { } return nil } -// GetEncryptionKey gets the encryptionKey property value. The encryptionKey property +// GetEncryptionKey gets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. // returns a *string when successful func (m *SharePointMigrationContainerInfo) GetEncryptionKey()(*string) { val, err := m.GetBackingStore().Get("encryptionKey") @@ -113,7 +113,7 @@ func (m *SharePointMigrationContainerInfo) GetFieldDeserializers()(map[string]fu } return res } -// GetMetadataContainerUri gets the metadataContainerUri property value. The metadataContainerUri property +// GetMetadataContainerUri gets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. // returns a *string when successful func (m *SharePointMigrationContainerInfo) GetMetadataContainerUri()(*string) { val, err := m.GetBackingStore().Get("metadataContainerUri") @@ -182,21 +182,21 @@ func (m *SharePointMigrationContainerInfo) SetAdditionalData(value map[string]an func (m *SharePointMigrationContainerInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDataContainerUri sets the dataContainerUri property value. The dataContainerUri property +// SetDataContainerUri sets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. func (m *SharePointMigrationContainerInfo) SetDataContainerUri(value *string)() { err := m.GetBackingStore().Set("dataContainerUri", value) if err != nil { panic(err) } } -// SetEncryptionKey sets the encryptionKey property value. The encryptionKey property +// SetEncryptionKey sets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. func (m *SharePointMigrationContainerInfo) SetEncryptionKey(value *string)() { err := m.GetBackingStore().Set("encryptionKey", value) if err != nil { panic(err) } } -// SetMetadataContainerUri sets the metadataContainerUri property value. The metadataContainerUri property +// SetMetadataContainerUri sets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. func (m *SharePointMigrationContainerInfo) SetMetadataContainerUri(value *string)() { err := m.GetBackingStore().Set("metadataContainerUri", value) if err != nil { diff --git a/models/share_point_migration_event.go b/models/share_point_migration_event.go index 9d237338277..6d0cc8c7a83 100644 --- a/models/share_point_migration_event.go +++ b/models/share_point_migration_event.go @@ -55,7 +55,7 @@ func CreateSharePointMigrationEventFromDiscriminatorValue(parseNode i878a80d2330 } return NewSharePointMigrationEvent(), nil } -// GetCorrelationId gets the correlationId property value. The correlationId property +// GetCorrelationId gets the correlationId property value. The correlation ID of a migration job. Read-only. // returns a *string when successful func (m *SharePointMigrationEvent) GetCorrelationId()(*string) { val, err := m.GetBackingStore().Get("correlationId") @@ -67,7 +67,7 @@ func (m *SharePointMigrationEvent) GetCorrelationId()(*string) { } return nil } -// GetEventDateTime gets the eventDateTime property value. The eventDateTime property +// GetEventDateTime gets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *SharePointMigrationEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("eventDateTime") @@ -115,7 +115,7 @@ func (m *SharePointMigrationEvent) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetJobId gets the jobId property value. The jobId property +// GetJobId gets the jobId property value. The unique identifier of a migration job. Read-only. // returns a *string when successful func (m *SharePointMigrationEvent) GetJobId()(*string) { val, err := m.GetBackingStore().Get("jobId") @@ -153,21 +153,21 @@ func (m *SharePointMigrationEvent) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetCorrelationId sets the correlationId property value. The correlationId property +// SetCorrelationId sets the correlationId property value. The correlation ID of a migration job. Read-only. func (m *SharePointMigrationEvent) SetCorrelationId(value *string)() { err := m.GetBackingStore().Set("correlationId", value) if err != nil { panic(err) } } -// SetEventDateTime sets the eventDateTime property value. The eventDateTime property +// SetEventDateTime sets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *SharePointMigrationEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("eventDateTime", value) if err != nil { panic(err) } } -// SetJobId sets the jobId property value. The jobId property +// SetJobId sets the jobId property value. The unique identifier of a migration job. Read-only. func (m *SharePointMigrationEvent) SetJobId(value *string)() { err := m.GetBackingStore().Set("jobId", value) if err != nil { diff --git a/models/share_point_migration_finish_manifest_file_upload_event.go b/models/share_point_migration_finish_manifest_file_upload_event.go index f1cb46a6641..e16534b6e33 100644 --- a/models/share_point_migration_finish_manifest_file_upload_event.go +++ b/models/share_point_migration_finish_manifest_file_upload_event.go @@ -38,7 +38,7 @@ func (m *SharePointMigrationFinishManifestFileUploadEvent) GetFieldDeserializers } return res } -// GetManifestFileName gets the manifestFileName property value. The manifestFileName property +// GetManifestFileName gets the manifestFileName property value. The exported manifest file name. Read-only. // returns a *string when successful func (m *SharePointMigrationFinishManifestFileUploadEvent) GetManifestFileName()(*string) { val, err := m.GetBackingStore().Get("manifestFileName") @@ -64,7 +64,7 @@ func (m *SharePointMigrationFinishManifestFileUploadEvent) Serialize(writer i878 } return nil } -// SetManifestFileName sets the manifestFileName property value. The manifestFileName property +// SetManifestFileName sets the manifestFileName property value. The exported manifest file name. Read-only. func (m *SharePointMigrationFinishManifestFileUploadEvent) SetManifestFileName(value *string)() { err := m.GetBackingStore().Set("manifestFileName", value) if err != nil { diff --git a/models/share_point_migration_job.go b/models/share_point_migration_job.go index 75e931c9359..1d1d4efcb8a 100644 --- a/models/share_point_migration_job.go +++ b/models/share_point_migration_job.go @@ -66,7 +66,7 @@ func (m *SharePointMigrationJob) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetProgressEvents gets the progressEvents property value. The progressEvents property +// GetProgressEvents gets the progressEvents property value. A collection of migration events that reflects the job status changes. // returns a []SharePointMigrationEventable when successful func (m *SharePointMigrationJob) GetProgressEvents()([]SharePointMigrationEventable) { val, err := m.GetBackingStore().Get("progressEvents") @@ -111,7 +111,7 @@ func (m *SharePointMigrationJob) SetContainerInfo(value SharePointMigrationConta panic(err) } } -// SetProgressEvents sets the progressEvents property value. The progressEvents property +// SetProgressEvents sets the progressEvents property value. A collection of migration events that reflects the job status changes. func (m *SharePointMigrationJob) SetProgressEvents(value []SharePointMigrationEventable)() { err := m.GetBackingStore().Set("progressEvents", value) if err != nil { diff --git a/models/share_point_migration_job_cancelled_event.go b/models/share_point_migration_job_cancelled_event.go index 3cb399edec9..9db694763f2 100644 --- a/models/share_point_migration_job_cancelled_event.go +++ b/models/share_point_migration_job_cancelled_event.go @@ -48,7 +48,7 @@ func (m *SharePointMigrationJobCancelledEvent) GetFieldDeserializers()(map[strin } return res } -// GetIsCancelledByUser gets the isCancelledByUser property value. The isCancelledByUser property +// GetIsCancelledByUser gets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. // returns a *bool when successful func (m *SharePointMigrationJobCancelledEvent) GetIsCancelledByUser()(*bool) { val, err := m.GetBackingStore().Get("isCancelledByUser") @@ -60,7 +60,7 @@ func (m *SharePointMigrationJobCancelledEvent) GetIsCancelledByUser()(*bool) { } return nil } -// GetTotalRetryCount gets the totalRetryCount property value. The totalRetryCount property +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. // returns a *int32 when successful func (m *SharePointMigrationJobCancelledEvent) GetTotalRetryCount()(*int32) { val, err := m.GetBackingStore().Get("totalRetryCount") @@ -92,14 +92,14 @@ func (m *SharePointMigrationJobCancelledEvent) Serialize(writer i878a80d2330e89d } return nil } -// SetIsCancelledByUser sets the isCancelledByUser property value. The isCancelledByUser property +// SetIsCancelledByUser sets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. func (m *SharePointMigrationJobCancelledEvent) SetIsCancelledByUser(value *bool)() { err := m.GetBackingStore().Set("isCancelledByUser", value) if err != nil { panic(err) } } -// SetTotalRetryCount sets the totalRetryCount property value. The totalRetryCount property +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. func (m *SharePointMigrationJobCancelledEvent) SetTotalRetryCount(value *int32)() { err := m.GetBackingStore().Set("totalRetryCount", value) if err != nil { diff --git a/models/share_point_migration_job_error_event.go b/models/share_point_migration_job_error_event.go index a2a181cf234..fc34c1c4d9e 100644 --- a/models/share_point_migration_job_error_event.go +++ b/models/share_point_migration_job_error_event.go @@ -112,7 +112,7 @@ func (m *SharePointMigrationJobErrorEvent) GetFieldDeserializers()(map[string]fu } return res } -// GetObjectId gets the objectId property value. The objectId property +// GetObjectId gets the objectId property value. The object ID. Read-only. // returns a *string when successful func (m *SharePointMigrationJobErrorEvent) GetObjectId()(*string) { val, err := m.GetBackingStore().Get("objectId") @@ -136,7 +136,7 @@ func (m *SharePointMigrationJobErrorEvent) GetObjectType()(*SharePointMigrationO } return nil } -// GetObjectUrl gets the objectUrl property value. The objectUrl property +// GetObjectUrl gets the objectUrl property value. The object URL. Read-only. // returns a *string when successful func (m *SharePointMigrationJobErrorEvent) GetObjectUrl()(*string) { val, err := m.GetBackingStore().Get("objectUrl") @@ -148,7 +148,7 @@ func (m *SharePointMigrationJobErrorEvent) GetObjectUrl()(*string) { } return nil } -// GetTotalRetryCount gets the totalRetryCount property value. The totalRetryCount property +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. // returns a *int32 when successful func (m *SharePointMigrationJobErrorEvent) GetTotalRetryCount()(*int32) { val, err := m.GetBackingStore().Get("totalRetryCount") @@ -220,7 +220,7 @@ func (m *SharePointMigrationJobErrorEvent) SetErrorLevel(value *SharePointMigrat panic(err) } } -// SetObjectId sets the objectId property value. The objectId property +// SetObjectId sets the objectId property value. The object ID. Read-only. func (m *SharePointMigrationJobErrorEvent) SetObjectId(value *string)() { err := m.GetBackingStore().Set("objectId", value) if err != nil { @@ -234,14 +234,14 @@ func (m *SharePointMigrationJobErrorEvent) SetObjectType(value *SharePointMigrat panic(err) } } -// SetObjectUrl sets the objectUrl property value. The objectUrl property +// SetObjectUrl sets the objectUrl property value. The object URL. Read-only. func (m *SharePointMigrationJobErrorEvent) SetObjectUrl(value *string)() { err := m.GetBackingStore().Set("objectUrl", value) if err != nil { panic(err) } } -// SetTotalRetryCount sets the totalRetryCount property value. The totalRetryCount property +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. func (m *SharePointMigrationJobErrorEvent) SetTotalRetryCount(value *int32)() { err := m.GetBackingStore().Set("totalRetryCount", value) if err != nil { diff --git a/models/share_point_migration_job_postponed_event.go b/models/share_point_migration_job_postponed_event.go index e4a3b295c2e..d8af4cefc3d 100644 --- a/models/share_point_migration_job_postponed_event.go +++ b/models/share_point_migration_job_postponed_event.go @@ -69,7 +69,7 @@ func (m *SharePointMigrationJobPostponedEvent) GetFieldDeserializers()(map[strin } return res } -// GetJobsInQueue gets the jobsInQueue property value. The jobsInQueue property +// GetJobsInQueue gets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobPostponedEvent) GetJobsInQueue()(*int64) { val, err := m.GetBackingStore().Get("jobsInQueue") @@ -81,7 +81,7 @@ func (m *SharePointMigrationJobPostponedEvent) GetJobsInQueue()(*int64) { } return nil } -// GetNextPickupDateTime gets the nextPickupDateTime property value. The nextPickupDateTime property +// GetNextPickupDateTime gets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. // returns a *Time when successful func (m *SharePointMigrationJobPostponedEvent) GetNextPickupDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("nextPickupDateTime") @@ -93,7 +93,7 @@ func (m *SharePointMigrationJobPostponedEvent) GetNextPickupDateTime()(*i3360748 } return nil } -// GetReason gets the reason property value. The reason property +// GetReason gets the reason property value. The reason for the postponement. Read-only. // returns a *string when successful func (m *SharePointMigrationJobPostponedEvent) GetReason()(*string) { val, err := m.GetBackingStore().Get("reason") @@ -105,7 +105,7 @@ func (m *SharePointMigrationJobPostponedEvent) GetReason()(*string) { } return nil } -// GetTotalRetryCount gets the totalRetryCount property value. The totalRetryCount property +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. // returns a *int32 when successful func (m *SharePointMigrationJobPostponedEvent) GetTotalRetryCount()(*int32) { val, err := m.GetBackingStore().Get("totalRetryCount") @@ -149,28 +149,28 @@ func (m *SharePointMigrationJobPostponedEvent) Serialize(writer i878a80d2330e89d } return nil } -// SetJobsInQueue sets the jobsInQueue property value. The jobsInQueue property +// SetJobsInQueue sets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. func (m *SharePointMigrationJobPostponedEvent) SetJobsInQueue(value *int64)() { err := m.GetBackingStore().Set("jobsInQueue", value) if err != nil { panic(err) } } -// SetNextPickupDateTime sets the nextPickupDateTime property value. The nextPickupDateTime property +// SetNextPickupDateTime sets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. func (m *SharePointMigrationJobPostponedEvent) SetNextPickupDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("nextPickupDateTime", value) if err != nil { panic(err) } } -// SetReason sets the reason property value. The reason property +// SetReason sets the reason property value. The reason for the postponement. Read-only. func (m *SharePointMigrationJobPostponedEvent) SetReason(value *string)() { err := m.GetBackingStore().Set("reason", value) if err != nil { panic(err) } } -// SetTotalRetryCount sets the totalRetryCount property value. The totalRetryCount property +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. func (m *SharePointMigrationJobPostponedEvent) SetTotalRetryCount(value *int32)() { err := m.GetBackingStore().Set("totalRetryCount", value) if err != nil { diff --git a/models/share_point_migration_job_progress_event.go b/models/share_point_migration_job_progress_event.go index 79624ec7b9d..fdbf4a0defb 100644 --- a/models/share_point_migration_job_progress_event.go +++ b/models/share_point_migration_job_progress_event.go @@ -22,7 +22,7 @@ func NewSharePointMigrationJobProgressEvent()(*SharePointMigrationJobProgressEve func CreateSharePointMigrationJobProgressEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSharePointMigrationJobProgressEvent(), nil } -// GetBytesProcessed gets the bytesProcessed property value. The bytesProcessed property +// GetBytesProcessed gets the bytesProcessed property value. The number of bytes processed. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetBytesProcessed()(*int64) { val, err := m.GetBackingStore().Get("bytesProcessed") @@ -34,7 +34,7 @@ func (m *SharePointMigrationJobProgressEvent) GetBytesProcessed()(*int64) { } return nil } -// GetBytesProcessedOnlyCurrentVersion gets the bytesProcessedOnlyCurrentVersion property value. The bytesProcessedOnlyCurrentVersion property +// GetBytesProcessedOnlyCurrentVersion gets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetBytesProcessedOnlyCurrentVersion()(*int64) { val, err := m.GetBackingStore().Get("bytesProcessedOnlyCurrentVersion") @@ -46,7 +46,7 @@ func (m *SharePointMigrationJobProgressEvent) GetBytesProcessedOnlyCurrentVersio } return nil } -// GetCpuDurationMs gets the cpuDurationMs property value. The cpuDurationMs property +// GetCpuDurationMs gets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetCpuDurationMs()(*int64) { val, err := m.GetBackingStore().Get("cpuDurationMs") @@ -234,7 +234,7 @@ func (m *SharePointMigrationJobProgressEvent) GetFieldDeserializers()(map[string } return res } -// GetFilesProcessed gets the filesProcessed property value. The filesProcessed property +// GetFilesProcessed gets the filesProcessed property value. The number of files processed. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetFilesProcessed()(*int64) { val, err := m.GetBackingStore().Get("filesProcessed") @@ -246,7 +246,7 @@ func (m *SharePointMigrationJobProgressEvent) GetFilesProcessed()(*int64) { } return nil } -// GetFilesProcessedOnlyCurrentVersion gets the filesProcessedOnlyCurrentVersion property value. The filesProcessedOnlyCurrentVersion property +// GetFilesProcessedOnlyCurrentVersion gets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetFilesProcessedOnlyCurrentVersion()(*int64) { val, err := m.GetBackingStore().Get("filesProcessedOnlyCurrentVersion") @@ -258,7 +258,7 @@ func (m *SharePointMigrationJobProgressEvent) GetFilesProcessedOnlyCurrentVersio } return nil } -// GetIsCompleted gets the isCompleted property value. The isCompleted property +// GetIsCompleted gets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. // returns a *bool when successful func (m *SharePointMigrationJobProgressEvent) GetIsCompleted()(*bool) { val, err := m.GetBackingStore().Get("isCompleted") @@ -270,7 +270,7 @@ func (m *SharePointMigrationJobProgressEvent) GetIsCompleted()(*bool) { } return nil } -// GetLastProcessedObjectId gets the lastProcessedObjectId property value. The lastProcessedObjectId property +// GetLastProcessedObjectId gets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. // returns a *string when successful func (m *SharePointMigrationJobProgressEvent) GetLastProcessedObjectId()(*string) { val, err := m.GetBackingStore().Get("lastProcessedObjectId") @@ -282,7 +282,7 @@ func (m *SharePointMigrationJobProgressEvent) GetLastProcessedObjectId()(*string } return nil } -// GetObjectsProcessed gets the objectsProcessed property value. The objectsProcessed property +// GetObjectsProcessed gets the objectsProcessed property value. The number of objects processed. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetObjectsProcessed()(*int64) { val, err := m.GetBackingStore().Get("objectsProcessed") @@ -294,7 +294,7 @@ func (m *SharePointMigrationJobProgressEvent) GetObjectsProcessed()(*int64) { } return nil } -// GetSqlDurationMs gets the sqlDurationMs property value. The sqlDurationMs property +// GetSqlDurationMs gets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetSqlDurationMs()(*int64) { val, err := m.GetBackingStore().Get("sqlDurationMs") @@ -306,7 +306,7 @@ func (m *SharePointMigrationJobProgressEvent) GetSqlDurationMs()(*int64) { } return nil } -// GetSqlQueryCount gets the sqlQueryCount property value. The sqlQueryCount property +// GetSqlQueryCount gets the sqlQueryCount property value. SQL query count. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetSqlQueryCount()(*int64) { val, err := m.GetBackingStore().Get("sqlQueryCount") @@ -318,7 +318,7 @@ func (m *SharePointMigrationJobProgressEvent) GetSqlQueryCount()(*int64) { } return nil } -// GetTotalDurationMs gets the totalDurationMs property value. The totalDurationMs property +// GetTotalDurationMs gets the totalDurationMs property value. Total duration time in milliseconds. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalDurationMs()(*int64) { val, err := m.GetBackingStore().Get("totalDurationMs") @@ -330,7 +330,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalDurationMs()(*int64) { } return nil } -// GetTotalErrors gets the totalErrors property value. The totalErrors property +// GetTotalErrors gets the totalErrors property value. Total errors. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalErrors()(*int64) { val, err := m.GetBackingStore().Get("totalErrors") @@ -342,7 +342,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalErrors()(*int64) { } return nil } -// GetTotalExpectedBytes gets the totalExpectedBytes property value. The totalExpectedBytes property +// GetTotalExpectedBytes gets the totalExpectedBytes property value. Total bytes to be processed. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedBytes()(*int64) { val, err := m.GetBackingStore().Get("totalExpectedBytes") @@ -354,7 +354,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedBytes()(*int64) { } return nil } -// GetTotalExpectedObjects gets the totalExpectedObjects property value. The totalExpectedObjects property +// GetTotalExpectedObjects gets the totalExpectedObjects property value. The number of objects to process. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedObjects()(*int64) { val, err := m.GetBackingStore().Get("totalExpectedObjects") @@ -366,7 +366,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedObjects()(*int64) } return nil } -// GetTotalRetryCount gets the totalRetryCount property value. The totalRetryCount property +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. // returns a *int32 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalRetryCount()(*int32) { val, err := m.GetBackingStore().Get("totalRetryCount") @@ -378,7 +378,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalRetryCount()(*int32) { } return nil } -// GetTotalWarnings gets the totalWarnings property value. The totalWarnings property +// GetTotalWarnings gets the totalWarnings property value. Total warnings. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetTotalWarnings()(*int64) { val, err := m.GetBackingStore().Get("totalWarnings") @@ -390,7 +390,7 @@ func (m *SharePointMigrationJobProgressEvent) GetTotalWarnings()(*int64) { } return nil } -// GetWaitTimeOnSqlThrottlingMs gets the waitTimeOnSqlThrottlingMs property value. The waitTimeOnSqlThrottlingMs property +// GetWaitTimeOnSqlThrottlingMs gets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. // returns a *int64 when successful func (m *SharePointMigrationJobProgressEvent) GetWaitTimeOnSqlThrottlingMs()(*int64) { val, err := m.GetBackingStore().Get("waitTimeOnSqlThrottlingMs") @@ -512,119 +512,119 @@ func (m *SharePointMigrationJobProgressEvent) Serialize(writer i878a80d2330e89d2 } return nil } -// SetBytesProcessed sets the bytesProcessed property value. The bytesProcessed property +// SetBytesProcessed sets the bytesProcessed property value. The number of bytes processed. Read-only. func (m *SharePointMigrationJobProgressEvent) SetBytesProcessed(value *int64)() { err := m.GetBackingStore().Set("bytesProcessed", value) if err != nil { panic(err) } } -// SetBytesProcessedOnlyCurrentVersion sets the bytesProcessedOnlyCurrentVersion property value. The bytesProcessedOnlyCurrentVersion property +// SetBytesProcessedOnlyCurrentVersion sets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. func (m *SharePointMigrationJobProgressEvent) SetBytesProcessedOnlyCurrentVersion(value *int64)() { err := m.GetBackingStore().Set("bytesProcessedOnlyCurrentVersion", value) if err != nil { panic(err) } } -// SetCpuDurationMs sets the cpuDurationMs property value. The cpuDurationMs property +// SetCpuDurationMs sets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. func (m *SharePointMigrationJobProgressEvent) SetCpuDurationMs(value *int64)() { err := m.GetBackingStore().Set("cpuDurationMs", value) if err != nil { panic(err) } } -// SetFilesProcessed sets the filesProcessed property value. The filesProcessed property +// SetFilesProcessed sets the filesProcessed property value. The number of files processed. Read-only. func (m *SharePointMigrationJobProgressEvent) SetFilesProcessed(value *int64)() { err := m.GetBackingStore().Set("filesProcessed", value) if err != nil { panic(err) } } -// SetFilesProcessedOnlyCurrentVersion sets the filesProcessedOnlyCurrentVersion property value. The filesProcessedOnlyCurrentVersion property +// SetFilesProcessedOnlyCurrentVersion sets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. func (m *SharePointMigrationJobProgressEvent) SetFilesProcessedOnlyCurrentVersion(value *int64)() { err := m.GetBackingStore().Set("filesProcessedOnlyCurrentVersion", value) if err != nil { panic(err) } } -// SetIsCompleted sets the isCompleted property value. The isCompleted property +// SetIsCompleted sets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. func (m *SharePointMigrationJobProgressEvent) SetIsCompleted(value *bool)() { err := m.GetBackingStore().Set("isCompleted", value) if err != nil { panic(err) } } -// SetLastProcessedObjectId sets the lastProcessedObjectId property value. The lastProcessedObjectId property +// SetLastProcessedObjectId sets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. func (m *SharePointMigrationJobProgressEvent) SetLastProcessedObjectId(value *string)() { err := m.GetBackingStore().Set("lastProcessedObjectId", value) if err != nil { panic(err) } } -// SetObjectsProcessed sets the objectsProcessed property value. The objectsProcessed property +// SetObjectsProcessed sets the objectsProcessed property value. The number of objects processed. Read-only. func (m *SharePointMigrationJobProgressEvent) SetObjectsProcessed(value *int64)() { err := m.GetBackingStore().Set("objectsProcessed", value) if err != nil { panic(err) } } -// SetSqlDurationMs sets the sqlDurationMs property value. The sqlDurationMs property +// SetSqlDurationMs sets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. func (m *SharePointMigrationJobProgressEvent) SetSqlDurationMs(value *int64)() { err := m.GetBackingStore().Set("sqlDurationMs", value) if err != nil { panic(err) } } -// SetSqlQueryCount sets the sqlQueryCount property value. The sqlQueryCount property +// SetSqlQueryCount sets the sqlQueryCount property value. SQL query count. Read-only. func (m *SharePointMigrationJobProgressEvent) SetSqlQueryCount(value *int64)() { err := m.GetBackingStore().Set("sqlQueryCount", value) if err != nil { panic(err) } } -// SetTotalDurationMs sets the totalDurationMs property value. The totalDurationMs property +// SetTotalDurationMs sets the totalDurationMs property value. Total duration time in milliseconds. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalDurationMs(value *int64)() { err := m.GetBackingStore().Set("totalDurationMs", value) if err != nil { panic(err) } } -// SetTotalErrors sets the totalErrors property value. The totalErrors property +// SetTotalErrors sets the totalErrors property value. Total errors. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalErrors(value *int64)() { err := m.GetBackingStore().Set("totalErrors", value) if err != nil { panic(err) } } -// SetTotalExpectedBytes sets the totalExpectedBytes property value. The totalExpectedBytes property +// SetTotalExpectedBytes sets the totalExpectedBytes property value. Total bytes to be processed. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedBytes(value *int64)() { err := m.GetBackingStore().Set("totalExpectedBytes", value) if err != nil { panic(err) } } -// SetTotalExpectedObjects sets the totalExpectedObjects property value. The totalExpectedObjects property +// SetTotalExpectedObjects sets the totalExpectedObjects property value. The number of objects to process. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedObjects(value *int64)() { err := m.GetBackingStore().Set("totalExpectedObjects", value) if err != nil { panic(err) } } -// SetTotalRetryCount sets the totalRetryCount property value. The totalRetryCount property +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalRetryCount(value *int32)() { err := m.GetBackingStore().Set("totalRetryCount", value) if err != nil { panic(err) } } -// SetTotalWarnings sets the totalWarnings property value. The totalWarnings property +// SetTotalWarnings sets the totalWarnings property value. Total warnings. Read-only. func (m *SharePointMigrationJobProgressEvent) SetTotalWarnings(value *int64)() { err := m.GetBackingStore().Set("totalWarnings", value) if err != nil { panic(err) } } -// SetWaitTimeOnSqlThrottlingMs sets the waitTimeOnSqlThrottlingMs property value. The waitTimeOnSqlThrottlingMs property +// SetWaitTimeOnSqlThrottlingMs sets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. func (m *SharePointMigrationJobProgressEvent) SetWaitTimeOnSqlThrottlingMs(value *int64)() { err := m.GetBackingStore().Set("waitTimeOnSqlThrottlingMs", value) if err != nil { diff --git a/models/share_point_migration_job_start_event.go b/models/share_point_migration_job_start_event.go index e69de1cbcd1..f861525988e 100644 --- a/models/share_point_migration_job_start_event.go +++ b/models/share_point_migration_job_start_event.go @@ -48,7 +48,7 @@ func (m *SharePointMigrationJobStartEvent) GetFieldDeserializers()(map[string]fu } return res } -// GetIsRestarted gets the isRestarted property value. The isRestarted property +// GetIsRestarted gets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. // returns a *bool when successful func (m *SharePointMigrationJobStartEvent) GetIsRestarted()(*bool) { val, err := m.GetBackingStore().Get("isRestarted") @@ -60,7 +60,7 @@ func (m *SharePointMigrationJobStartEvent) GetIsRestarted()(*bool) { } return nil } -// GetTotalRetryCount gets the totalRetryCount property value. The totalRetryCount property +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. // returns a *int32 when successful func (m *SharePointMigrationJobStartEvent) GetTotalRetryCount()(*int32) { val, err := m.GetBackingStore().Get("totalRetryCount") @@ -92,14 +92,14 @@ func (m *SharePointMigrationJobStartEvent) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetIsRestarted sets the isRestarted property value. The isRestarted property +// SetIsRestarted sets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. func (m *SharePointMigrationJobStartEvent) SetIsRestarted(value *bool)() { err := m.GetBackingStore().Set("isRestarted", value) if err != nil { panic(err) } } -// SetTotalRetryCount sets the totalRetryCount property value. The totalRetryCount property +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. func (m *SharePointMigrationJobStartEvent) SetTotalRetryCount(value *int32)() { err := m.GetBackingStore().Set("totalRetryCount", value) if err != nil { diff --git a/models/teamsadministration/teams_admin_root.go b/models/teamsadministration/teams_admin_root.go index 9ac7d4f631e..df8167cff7d 100644 --- a/models/teamsadministration/teams_admin_root.go +++ b/models/teamsadministration/teams_admin_root.go @@ -55,7 +55,7 @@ func (m *TeamsAdminRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetPolicy gets the policy property value. The policy property +// GetPolicy gets the policy property value. Represents a navigation property to the Teams policy assignment object. // returns a TeamsPolicyAssignmentable when successful func (m *TeamsAdminRoot) GetPolicy()(TeamsPolicyAssignmentable) { val, err := m.GetBackingStore().Get("policy") @@ -105,7 +105,7 @@ func (m *TeamsAdminRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetPolicy sets the policy property value. The policy property +// SetPolicy sets the policy property value. Represents a navigation property to the Teams policy assignment object. func (m *TeamsAdminRoot) SetPolicy(value TeamsPolicyAssignmentable)() { err := m.GetBackingStore().Set("policy", value) if err != nil { diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index 477bd36a026..522e2e5d32b 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index 58d0860f49a..bdc3398f66e 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/4df08c75e778c1a1d041267381a36707ad667602125a3f3814ba804a5e4eab1f.go b/policies/4df08c75e778c1a1d041267381a36707ad667602125a3f3814ba804a5e4eab1f.go index 8171af06d0c..360311077f5 100644 --- a/policies/4df08c75e778c1a1d041267381a36707ad667602125a3f3814ba804a5e4eab1f.go +++ b/policies/4df08c75e778c1a1d041267381a36707ad667602125a3f3814ba804a5e4eab1f.go @@ -21,7 +21,7 @@ type DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartn // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,7 +57,7 @@ func NewDeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPa urlParams["request-raw-url"] = rawUrl return NewDeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -76,7 +76,7 @@ func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyP } return nil } -// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -124,7 +124,7 @@ func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyP func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder) Restore()(*DeletedItemsCrossTenantSyncPolicyPartnersItemRestoreRequestBuilder) { return NewDeletedItemsCrossTenantSyncPolicyPartnersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +135,7 @@ func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyP requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantSyncPolicyPartnersCrossTenantIdentitySyncPolicyPartnerTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/8136bfb9a9c37f9251c178c70071ddf6f2f5ddf350e1bd8a6e59b4d63a61e7b7.go b/policies/8136bfb9a9c37f9251c178c70071ddf6f2f5ddf350e1bd8a6e59b4d63a61e7b7.go index d2e94687798..2e67d21d3eb 100644 --- a/policies/8136bfb9a9c37f9251c178c70071ddf6f2f5ddf350e1bd8a6e59b4d63a61e7b7.go +++ b/policies/8136bfb9a9c37f9251c178c70071ddf6f2f5ddf350e1bd8a6e59b4d63a61e7b7.go @@ -21,7 +21,7 @@ type DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerT // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,7 +57,7 @@ func NewDeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartn urlParams["request-raw-url"] = rawUrl return NewDeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Delete permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -76,7 +76,7 @@ func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPart } return nil } -// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Get read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a CrossTenantAccessPolicyConfigurationPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -129,7 +129,7 @@ func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPart func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) Restore()(*DeletedItemsCrossTenantPartnersItemRestoreRequestBuilder) { return NewDeletedItemsCrossTenantPartnersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToDeleteRequestInformation permanently delete a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +140,7 @@ func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToGetRequestInformation read the properties and relationships of a policyDeletableItem object, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/conditional_access_policies_item_restore_request_builder.go b/policies/conditional_access_policies_item_restore_request_builder.go index 37288b7ed5e..18411e6d385 100644 --- a/policies/conditional_access_policies_item_restore_request_builder.go +++ b/policies/conditional_access_policies_item_restore_request_builder.go @@ -34,9 +34,12 @@ func NewConditionalAccessPoliciesItemRestoreRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewConditionalAccessPoliciesItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action restore +// Post restore a deleted conditionalAccessPolicy object. // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-restore?view=graph-rest-beta func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToPostRequestInformation invoke action restore +// ToPostRequestInformation restore a deleted conditionalAccessPolicy object. // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index 0256cc99a49..f17a490b67b 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -99,12 +99,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put update the user synchronization policy of a partner-specific configuration. +// Put create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -152,7 +152,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. +// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/deleted_items_cross_tenant_partners_request_builder.go b/policies/deleted_items_cross_tenant_partners_request_builder.go index 3daf361a8b0..684ef696351 100644 --- a/policies/deleted_items_cross_tenant_partners_request_builder.go +++ b/policies/deleted_items_cross_tenant_partners_request_builder.go @@ -14,7 +14,7 @@ import ( type DeletedItemsCrossTenantPartnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedItemsCrossTenantPartnersRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// DeletedItemsCrossTenantPartnersRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type DeletedItemsCrossTenantPartnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewDeletedItemsCrossTenantPartnersRequestBuilder(rawUrl string, requestAdap func (m *DeletedItemsCrossTenantPartnersRequestBuilder) Count()(*DeletedItemsCrossTenantPartnersCountRequestBuilder) { return NewDeletedItemsCrossTenantPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a CrossTenantAccessPolicyConfigurationPartnerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *DeletedItemsCrossTenantPartnersRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable), nil } -// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/deleted_items_cross_tenant_sync_policy_partners_request_builder.go b/policies/deleted_items_cross_tenant_sync_policy_partners_request_builder.go index ba809ed141a..2392d9a758e 100644 --- a/policies/deleted_items_cross_tenant_sync_policy_partners_request_builder.go +++ b/policies/deleted_items_cross_tenant_sync_policy_partners_request_builder.go @@ -14,7 +14,7 @@ import ( type DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation type DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewDeletedItemsCrossTenantSyncPolicyPartnersRequestBuilder(rawUrl string, r func (m *DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilder) Count()(*DeletedItemsCrossTenantSyncPolicyPartnersCountRequestBuilder) { return NewDeletedItemsCrossTenantSyncPolicyPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// Get get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a CrossTenantIdentitySyncPolicyPartnerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable), nil } -// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner +// ToGetRequestInformation get a list of the policyDeletableItem objects and their properties, which might be one of the following deleted policy types:- crossTenantAccessPolicyConfigurationPartner- crossTenantIdentitySyncPolicyPartner- conditionalAccessPolicy- namedLocation // returns a *RequestInformation when successful func (m *DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsCrossTenantSyncPolicyPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go index 01f4d0a2947..e7e709c2adf 100644 --- a/policies/federated_token_validation_policy_request_builder.go +++ b/policies/federated_token_validation_policy_request_builder.go @@ -21,7 +21,7 @@ type FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters read the properties and relationships of a federatedTokenValidationPolicy object. +// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters get a list of the federatedTokenValidationPolicy objects and their properties. type FederatedTokenValidationPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the properties and relationships of a federatedTokenValidationPolicy object. +// Get get a list of the federatedTokenValidationPolicy objects and their properties. // returns a FederatedTokenValidationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta func (m *FederatedTokenValidationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedTokenValidationPolicy object. +// ToGetRequestInformation get a list of the federatedTokenValidationPolicy objects and their properties. // returns a *RequestInformation when successful func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_restore_request_builder.go b/serviceprincipals/item_restore_request_builder.go index 5656431a38a..182633a1922 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 6f034260c2e..4527d0c4f22 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -21,7 +21,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. +// ItemListsListItemRequestBuilderGetQueryParameters return the metadata for a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a list. +// Get return the metadata for a list. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -177,7 +177,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. +// ToGetRequestInformation return the metadata for a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go b/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go index 1fb3d7eb2a8..6639c6e0276 100644 --- a/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go +++ b/solutions/backup_restore_protection_units_item_cancel_offboard_request_builder.go @@ -34,7 +34,7 @@ func NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewBackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderInternal(urlParams, requestAdapter) } -// Post cancel offboard for a protectionUnitBase. +// Post cancel the offboarding of a protectionUnitBase. // returns a ProtectionUnitBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProtectionUnitBaseable), nil } -// ToPostRequestInformation cancel offboard for a protectionUnitBase. +// ToPostRequestInformation cancel the offboarding of a protectionUnitBase. // returns a *RequestInformation when successful func (m *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreProtectionUnitsItemCancelOffboardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go b/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go index 31437ee6167..4e292def8bb 100644 --- a/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go +++ b/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go @@ -21,7 +21,7 @@ type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters get progressEvents from storage +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigra } return nil } -// Get get progressEvents from storage +// Get a collection of migration events that reflects the job status changes. // returns a SharePointMigrationEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventable, error) { @@ -124,7 +124,7 @@ func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigra requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get progressEvents from storage +// ToGetRequestInformation a collection of migration events that reflects the job status changes. // returns a *RequestInformation when successful func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go b/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go index f8e148b09e9..3942fc5b52c 100644 --- a/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go +++ b/storage/b68932475f58a9a22b0bffc34a4b55550e8a2aea649855838639ac665b527929.go @@ -99,12 +99,12 @@ func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerTypeAppPermissionGrantable), nil } -// Patch update the properties of a fileStorageContainerTypeAppPermissionGrant object. +// Patch create a new fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. // returns a FileStorageContainerTypeAppPermissionGrantable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertypeapppermissiongrant-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/filestoragecontainertyperegistration-post-applicationpermissiongrants?view=graph-rest-beta func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerTypeAppPermissionGrantable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +147,7 @@ func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a fileStorageContainerTypeAppPermissionGrant object. +// ToPatchRequestInformation create a new fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. // returns a *RequestInformation when successful func (m *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerTypeAppPermissionGrantable, requestConfiguration *FileStorageContainerTypeRegistrationsItemApplicationPermissionGrantsFileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go b/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go index 3fc0231fc78..1f3cf803ef3 100644 --- a/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go +++ b/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go @@ -21,7 +21,7 @@ type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters get progressEvents from storage +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePoi } return nil } -// Get get progressEvents from storage +// Get a collection of migration events that reflects the job status changes. // returns a SharePointMigrationEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventable, error) { @@ -124,7 +124,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePoi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get progressEvents from storage +// ToGetRequestInformation a collection of migration events that reflects the job status changes. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go b/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go index 54be9b9a7c0..4a86c10fbcc 100644 --- a/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go +++ b/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters get progressEvents from storage +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder(r func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get progressEvents from storage +// Get a collection of migration events that reflects the job status changes. // returns a SharePointMigrationEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventable), nil } -// ToGetRequestInformation get progressEvents from storage +// ToGetRequestInformation a collection of migration events that reflects the job status changes. // returns a *RequestInformation when successful func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_item_migration_jobs_request_builder.go b/storage/file_storage_containers_item_migration_jobs_request_builder.go index ee318465574..109f93df1e1 100644 --- a/storage/file_storage_containers_item_migration_jobs_request_builder.go +++ b/storage/file_storage_containers_item_migration_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageContainersItemMigrationJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters get migrationJobs from storage +// FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. type FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageContainersItemMigrationJobsRequestBuilder(rawUrl string, requ func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { return NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get migrationJobs from storage +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a SharePointMigrationJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobable), nil } -// ToGetRequestInformation get migrationJobs from storage +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a *RequestInformation when successful func (m *FileStorageContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go index bc28312ccb3..5a4a30377f4 100644 --- a/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go +++ b/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters get migrationJobs from storage +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequest } return nil } -// Get get migrationJobs from storage +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a SharePointMigrationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobable, error) { @@ -129,7 +129,7 @@ func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get migrationJobs from storage +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a *RequestInformation when successful func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go index 937f41b23ac..5f16870518f 100644 --- a/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go +++ b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters get progressEvents from storage +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBu func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get progressEvents from storage +// Get a collection of migration events that reflects the job status changes. // returns a SharePointMigrationEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationEventable), nil } -// ToGetRequestInformation get progressEvents from storage +// ToGetRequestInformation a collection of migration events that reflects the job status changes. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go index 70abf395545..34c68c058be 100644 --- a/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go +++ b/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageDeletedContainersItemMigrationJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters get migrationJobs from storage +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. type FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder(rawUrl strin func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get migrationJobs from storage +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a SharePointMigrationJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobable), nil } -// ToGetRequestInformation get migrationJobs from storage +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go index c5ae4705b11..b01c09a7002 100644 --- a/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go +++ b/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters get migrationJobs from storage +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItem } return nil } -// Get get migrationJobs from storage +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a SharePointMigrationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointMigrationJobable, error) { @@ -129,7 +129,7 @@ func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get migrationJobs from storage +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_request_builder.go b/teamwork/team_templates_request_builder.go index 889842ffc00..c47b727fe7a 100644 --- a/teamwork/team_templates_request_builder.go +++ b/teamwork/team_templates_request_builder.go @@ -14,7 +14,7 @@ import ( type TeamTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesRequestBuilderGetQueryParameters get the list of teamTemplate objects that are available for a tenant. +// TeamTemplatesRequestBuilderGetQueryParameters list the teamTemplateDefinition objects associated with a teamTemplate. type TeamTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewTeamTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *TeamTemplatesRequestBuilder) Count()(*TeamTemplatesCountRequestBuilder) { return NewTeamTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teamTemplate objects that are available for a tenant. +// Get list the teamTemplateDefinition objects associated with a teamTemplate. // returns a TeamTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta func (m *TeamTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *TeamTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateable), nil } -// ToGetRequestInformation get the list of teamTemplate objects that are available for a tenant. +// ToGetRequestInformation list the teamTemplateDefinition objects associated with a teamTemplate. // returns a *RequestInformation when successful func (m *TeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index 24dc841aa2d..e1f6d1acab3 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -78,12 +78,12 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. +// Patch update the properties of a multi-tenant organization. // returns a MultiTenantOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. +// ToPatchRequestInformation update the properties of a multi-tenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go b/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go index b10511cedc6..2d98a2dcb32 100644 --- a/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go +++ b/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go @@ -21,7 +21,7 @@ type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol } return nil } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -129,7 +129,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go b/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go index 86570be46bc..57de63fc691 100644 --- a/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go +++ b/users/item_adhoc_calls_item_recordings_call_recording_item_request_builder.go @@ -21,7 +21,7 @@ type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters the recordings of a call. Read-only. +// ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,9 +78,12 @@ func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx } return nil } -// Get the recordings of a call. Read-only. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-beta func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +132,7 @@ func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the recordings of a call. Read-only. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_adhoc_calls_item_recordings_item_content_request_builder.go b/users/item_adhoc_calls_item_recordings_item_content_request_builder.go index cb3d1e348bb..bc2980a1cd8 100644 --- a/users/item_adhoc_calls_item_recordings_item_content_request_builder.go +++ b/users/item_adhoc_calls_item_recordings_item_content_request_builder.go @@ -64,9 +64,12 @@ func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) Delete(ctx conte } return nil } -// Get the content of the recording. Read-only. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-beta func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +118,7 @@ func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the content of the recording. Read-only. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemAdhocCallsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_adhoc_calls_item_recordings_request_builder.go b/users/item_adhoc_calls_item_recordings_request_builder.go index c39b2163409..3e5711e1237 100644 --- a/users/item_adhoc_calls_item_recordings_request_builder.go +++ b/users/item_adhoc_calls_item_recordings_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemAdhocCallsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters the recordings of a call. Read-only. +// ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemAdhocCallsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Count()(*ItemAdhocCallsItem func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Delta()(*ItemAdhocCallsItemRecordingsDeltaRequestBuilder) { return NewItemAdhocCallsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the recordings of a call. Read-only. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { @@ -124,7 +124,7 @@ func (m *ItemAdhocCallsItemRecordingsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation the recordings of a call. Read-only. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemAdhocCallsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go b/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go index cfe6e0b88d3..b261ba9ca22 100644 --- a/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go +++ b/users/item_adhoc_calls_item_transcripts_call_transcript_item_request_builder.go @@ -21,7 +21,7 @@ type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters the transcripts of a call. Read-only. +// ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. type ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,9 +78,12 @@ func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(c } return nil } -// Get the transcripts of a call. Read-only. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-beta func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +137,7 @@ func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the transcripts of a call. Read-only. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_adhoc_calls_item_transcripts_request_builder.go b/users/item_adhoc_calls_item_transcripts_request_builder.go index 0b380907afe..8c2efa1b5c4 100644 --- a/users/item_adhoc_calls_item_transcripts_request_builder.go +++ b/users/item_adhoc_calls_item_transcripts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemAdhocCallsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters the transcripts of a call. Read-only. +// ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. type ItemAdhocCallsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Count()(*ItemAdhocCallsIte func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Delta()(*ItemAdhocCallsItemTranscriptsDeltaRequestBuilder) { return NewItemAdhocCallsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the transcripts of a call. Read-only. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { @@ -124,7 +124,7 @@ func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation the transcripts of a call. Read-only. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemAdhocCallsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index defb1202fd4..46fa1228d4d 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBui func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Count()(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go index 91538b2688f..310393e1218 100644 --- a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go @@ -21,7 +21,7 @@ type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -132,7 +132,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recordings_item_content_request_builder.go b/users/item_online_meetings_item_recordings_item_content_request_builder.go index 4bbdcfb1b0c..db582c6f34c 100644 --- a/users/item_online_meetings_item_recordings_item_content_request_builder.go +++ b/users/item_online_meetings_item_recordings_item_content_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) Delete(ctx c } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recordings_request_builder.go b/users/item_online_meetings_item_recordings_request_builder.go index 5cb1711e12b..333e884be5d 100644 --- a/users/item_online_meetings_item_recordings_request_builder.go +++ b/users/item_online_meetings_item_recordings_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemOnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Count()(*ItemOnlineMeet func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Delta()(*ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { @@ -124,7 +124,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from private chat meetings, channel meetings, ad hoc calls, including PSTN, 1:1, and group calls. Private channel meetings are not supported. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go index 367e38efa5b..07f52dc4f83 100644 --- a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -21,7 +21,7 @@ type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Dele } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -137,7 +137,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_transcripts_item_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_content_request_builder.go index 5ec3adcf9e5..1a384cdbe1e 100644 --- a/users/item_online_meetings_item_transcripts_item_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_content_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) Delete(ctx } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go index 7f3abc719f5..312977e82c8 100644 --- a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) Del } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -117,7 +117,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting and an ad hoc call. This API supports the retrieval of call transcripts from private chat meetings and channel meetings, and ad hoc calls including PSTN, 1:1, and group calls. Private channel meetings are not supported. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_set_presence_request_builder.go b/users/item_presence_set_presence_request_builder.go index 5e9a7b19ed5..68ed6a3162b 100644 --- a/users/item_presence_set_presence_request_builder.go +++ b/users/item_presence_set_presence_request_builder.go @@ -33,7 +33,7 @@ func NewItemPresenceSetPresenceRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemPresenceSetPresenceRequestBuilderInternal(urlParams, requestAdapter) } -// Post set the availability and activity status in a presence session of an application for a user. +// Post set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *ItemPresenceSetPresenceRequestBuilder) Post(ctx context.Context, body I } return nil } -// ToPostRequestInformation set the availability and activity status in a presence session of an application for a user. +// ToPostRequestInformation set the availability and activity status in a presence session of an application for a user. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API. // returns a *RequestInformation when successful func (m *ItemPresenceSetPresenceRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPresenceSetPresencePostRequestBodyable, requestConfiguration *ItemPresenceSetPresenceRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index 85e24fd9370..22b822c9495 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item is accidentally deleted, you can fully restore it. Additionally, restoring an application doesn't automatically restore the associated service principal. You must call this API to restore the deleted service principal explicitly. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)