diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index 941d41f544..39edef7b7f 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/get_all_retained_messages_request_builder.go b/chats/get_all_retained_messages_request_builder.go index 900827b200..59ffb09651 100644 --- a/chats/get_all_retained_messages_request_builder.go +++ b/chats/get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// GetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type GetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetAllRetainedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a GetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-1.0 func (m *GetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(GetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestC } return res.(GetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a GetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-1.0 func (m *GetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(GetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetRes } return res.(GetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *GetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index bf1a59e261..3f0b1b5cc8 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat or channel. +// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve a conversationMember from a chat or channel. +// Get retrieve a conversationMember from a chat. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a conversationMember from a chat or channel. +// ToGetRequestInformation retrieve a conversationMember from a chat. // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 83d424a2a4..8e9f0d47e8 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index a73f4bcd92..4194bb7808 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index 530ade6fbb..8e6c00bd95 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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 fa9106edfc..d9f3fa0143 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index 072921a50c..106bf36130 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -62,7 +62,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceAppManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index 1a6181f78a..0c6f9f93b0 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index d641a61a13..12d41c1d3c 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtection object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppConfiguration object. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the windowsInformationProtection object. +// Get read properties and relationships of the managedAppConfiguration object. // returns a ManagedAppPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtection object. +// ToGetRequestInformation read properties and relationships of the managedAppConfiguration object. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 36a08e1b66..6a494018d5 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go index aaa08ba093..ee43284d31 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index 1ea07360da..c57ced9cbc 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the iosManagedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppRegistration object. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,12 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the iosManagedAppRegistration object. +// Get read properties and relationships of the androidManagedAppRegistration object. // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosManagedAppRegistration object. +// ToGetRequestInformation read properties and relationships of the androidManagedAppRegistration object. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index c305ec3804..6bb83c7ee3 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatus object. +// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object. type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppStatus object. +// Get read properties and relationships of the managedAppStatusRaw object. // returns a ManagedAppStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppStatus object. +// ToGetRequestInformation read properties and relationships of the managedAppStatusRaw object. // returns a *RequestInformation when successful func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 60eda4c116..8304524f3e 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) G } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// Patch update the properties of a managedEBookAssignment object. +// Patch update the properties of a iosVppEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a managedEBookAssignment object. +// ToPatchRequestInformation update the properties of a iosVppEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go index 04ea115496..9d52b5d10d 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go @@ -99,12 +99,12 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) Get(ctx context.Context, re } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentCollectionResponseable), nil } -// Post create a new managedEBookAssignment object. +// Post create a new iosVppEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedEBookAssignment object. +// ToPostRequestInformation create a new iosVppEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go index 079b72a383..f3ed21c726 100644 --- a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedEBooksManagedEBookItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters read properties and relationships of the managedEBook object. +// ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBook object. type ManagedEBooksManagedEBookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) Delete(ctx context.Context func (m *ManagedEBooksManagedEBookItemRequestBuilder) DeviceStates()(*ManagedEBooksItemDeviceStatesRequestBuilder) { return NewManagedEBooksItemDeviceStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the managedEBook object. +// Get read properties and relationships of the iosVppEBook object. // returns a ManagedEBookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 func (m *ManagedEBooksManagedEBookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -150,7 +150,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedEBook object. +// ToGetRequestInformation read properties and relationships of the iosVppEBook object. // returns a *RequestInformation when successful func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksManagedEBookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index 1faa1c5dc1..300a108c82 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedEBooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBook objects. +// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the managedEBook objects. type ManagedEBooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedEBooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ManagedEBooksRequestBuilder) Count()(*ManagedEBooksCountRequestBuilder) { return NewManagedEBooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosVppEBook objects. +// Get list properties and relationships of the managedEBook objects. // returns a ManagedEBookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToGetRequestInformation list properties and relationships of the iosVppEBook objects. +// ToGetRequestInformation list properties and relationships of the managedEBook objects. // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_app_configurations_request_builder.go b/deviceappmanagement/mobile_app_configurations_request_builder.go index 0b8204a865..87e907abb7 100644 --- a/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the iosMobileAppConfiguration objects. +// MobileAppConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the managedDeviceMobileAppConfiguration objects. type MobileAppConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewMobileAppConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *MobileAppConfigurationsRequestBuilder) Count()(*MobileAppConfigurationsCountRequestBuilder) { return NewMobileAppConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosMobileAppConfiguration objects. +// Get list properties and relationships of the managedDeviceMobileAppConfiguration objects. // returns a ManagedDeviceMobileAppConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 func (m *MobileAppConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *MobileAppConfigurationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the iosMobileAppConfiguration objects. +// ToGetRequestInformation list properties and relationships of the managedDeviceMobileAppConfiguration objects. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index 23bec747d4..9cec8a11bb 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the macOSLobApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the iosLobApp object. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,11 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a microsoftStoreForBusinessApp. +// Delete deletes a managedIOSStoreApp. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-delete?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +88,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the macOSLobApp object. +// Get read properties and relationships of the iosLobApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-get?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -191,12 +191,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a androidLobApp object. +// Patch update the properties of a managedIOSStoreApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managediosstoreapp-update?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -214,7 +214,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a microsoftStoreForBusinessApp. +// ToDeleteRequestInformation deletes a managedIOSStoreApp. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -225,7 +225,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the macOSLobApp object. +// ToGetRequestInformation read properties and relationships of the iosLobApp object. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -239,7 +239,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a androidLobApp object. +// ToPatchRequestInformation update the properties of a managedIOSStoreApp object. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_request_builder.go b/deviceappmanagement/mobile_apps_request_builder.go index 287d71f9d0..db1538c8d7 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the webApp objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the managedIOSLobApp objects. type MobileAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewMobileAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *MobileAppsRequestBuilder) Count()(*MobileAppsCountRequestBuilder) { return NewMobileAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the webApp objects. +// Get list properties and relationships of the managedIOSLobApp objects. // returns a MobileAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-webapp-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-list?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -179,12 +179,12 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new windowsMobileMSI object. +// Post create a new windowsAppX object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsappx-create?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -202,7 +202,7 @@ func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the webApp objects. +// ToGetRequestInformation list properties and relationships of the managedIOSLobApp objects. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -216,7 +216,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsMobileMSI object. +// ToPostRequestInformation create a new windowsAppX object. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go index 92c4a451a1..f42e08b119 100644 --- a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the macOSCompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the deviceCompliancePolicy object. type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosCompliancePolicy. +// Delete deletes a androidWorkProfileCompliancePolicy. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +98,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Devic func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) DeviceStatusOverview()(*DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) { return NewDeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the macOSCompliancePolicy object. +// Get read properties and relationships of the deviceCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +121,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// Patch update the properties of a windowsPhone81CompliancePolicy object. +// Patch update the properties of a androidCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Sched func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ScheduledActionsForRule()(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a iosCompliancePolicy. +// ToDeleteRequestInformation deletes a androidWorkProfileCompliancePolicy. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -165,7 +165,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the macOSCompliancePolicy object. +// ToGetRequestInformation read properties and relationships of the deviceCompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -179,7 +179,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsPhone81CompliancePolicy object. +// ToPatchRequestInformation update the properties of a androidCompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index a5a4b3900c..ee91b5a9a1 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the windowsPhone81CompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the macOSCompliancePolicy objects. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceCompliancePoliciesRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceCompliancePoliciesRequestBuilder) Count()(*DeviceCompliancePoliciesCountRequestBuilder) { return NewDeviceCompliancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsPhone81CompliancePolicy objects. +// Get list properties and relationships of the macOSCompliancePolicy objects. // returns a DeviceCompliancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable), nil } -// Post create a new windows81CompliancePolicy object. +// Post create a new windows10CompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the windowsPhone81CompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the macOSCompliancePolicy objects. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windows81CompliancePolicy object. +// ToPostRequestInformation create a new windows10CompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index c9385b2c56..97abdbdba5 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the androidWorkProfileCustomConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the windowsUpdateForBusinessConfiguration object. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosDeviceFeaturesConfiguration. +// Delete deletes a windows10SecureAssessmentConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +98,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatus func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatusOverview()(*DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) { return NewDeviceConfigurationsItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the androidWorkProfileCustomConfiguration object. +// Get read properties and relationships of the windowsUpdateForBusinessConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-get?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +126,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx cont func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) GetOmaSettingPlainTextValueWithSecretReferenceValueId(secretReferenceValueId *string)(*DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) { return NewDeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, secretReferenceValueId) } -// Patch update the properties of a macOSGeneralDeviceConfiguration object. +// Patch update the properties of a windows10GeneralConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-update?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a iosDeviceFeaturesConfiguration. +// ToDeleteRequestInformation deletes a windows10SecureAssessmentConfiguration. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -160,7 +160,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the androidWorkProfileCustomConfiguration object. +// ToGetRequestInformation read properties and relationships of the windowsUpdateForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -174,7 +174,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a macOSGeneralDeviceConfiguration object. +// ToPatchRequestInformation update the properties of a windows10GeneralConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index 75b27a78b4..6e893c65c0 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the iosDeviceFeaturesConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the editionUpgradeConfiguration objects. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *DeviceConfigurationsRequestBuilder) Count()(*DeviceConfigurationsCountRequestBuilder) { return NewDeviceConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosDeviceFeaturesConfiguration objects. +// Get list properties and relationships of the editionUpgradeConfiguration objects. // returns a DeviceConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-list?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new iosGeneralDeviceConfiguration object. +// Post create a new windows10EndpointProtectionConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10endpointprotectionconfiguration-create?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the iosDeviceFeaturesConfiguration objects. +// ToGetRequestInformation list properties and relationships of the editionUpgradeConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new iosGeneralDeviceConfiguration object. +// ToPostRequestInformation create a new windows10EndpointProtectionConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index db93a76a36..f66e638b53 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBu urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceEnrollmentPlatformRestrictionsConfiguration. +// Delete deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +83,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// Get read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +106,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentLimitConfiguration object. +// Patch update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) SetPriority()(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceEnrollmentPlatformRestrictionsConfiguration. +// ToDeleteRequestInformation deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +145,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// ToGetRequestInformation read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +159,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentLimitConfiguration object. +// ToPatchRequestInformation update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index 5ea27f7cc5..ef3b358eda 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl string, requestAdapt func (m *DeviceEnrollmentConfigurationsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. // returns a DeviceEnrollmentConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable), nil } -// Post create a new deviceEnrollmentPlatformRestrictionsConfiguration object. +// Post create a new deviceEnrollmentLimitConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentLimitConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceEnrollmentPlatformRestrictionsConfiguration object. +// ToPostRequestInformation create a new deviceEnrollmentLimitConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index 75153db297..1e661548c6 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnector // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-devicemanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-enrollment-devicemanagement-get?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -185,7 +185,7 @@ func (m *DeviceManagementRequestBuilder) NotificationMessageTemplates()(*Notific // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index f475a23366..ec677498e8 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the roleDefinition objects. +// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the deviceAndAppManagementRoleDefinition objects. type RoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RoleDefinitionsRequestBuilder) Count()(*RoleDefinitionsCountRequestBuilder) { return NewRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the roleDefinition objects. +// Get list properties and relationships of the deviceAndAppManagementRoleDefinition objects. // returns a RoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd8112 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation list properties and relationships of the roleDefinition objects. +// ToGetRequestInformation list properties and relationships of the deviceAndAppManagementRoleDefinition objects. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index 02b93f7536..21d44785f5 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the roleDefinition object. type RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// Get read properties and relationships of the roleDefinition object. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// ToGetRequestInformation read properties and relationships of the roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*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 c7ecf00d4f..46b8342c0d 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index 3f804b5231..6cf69b90dd 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewDeletedItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewDeletedItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) Post(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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 e964679cc3..e168c6513b 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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 4fc4551d0f..ee6d8d723c 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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 94b0a4ccfa..de906e5699 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/domains/domain_item_request_builder.go b/domains/domain_item_request_builder.go index 3ca09377b1..ce294a7177 100644 --- a/domains/domain_item_request_builder.go +++ b/domains/domain_item_request_builder.go @@ -139,6 +139,11 @@ func (m *DomainItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412 func (m *DomainItemRequestBuilder) Promote()(*ItemPromoteRequestBuilder) { return NewItemPromoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RootDomain provides operations to manage the rootDomain property of the microsoft.graph.domain entity. +// returns a *ItemRootDomainRequestBuilder when successful +func (m *DomainItemRequestBuilder) RootDomain()(*ItemRootDomainRequestBuilder) { + return NewItemRootDomainRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ServiceConfigurationRecords provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. // returns a *ItemServiceConfigurationRecordsRequestBuilder when successful func (m *DomainItemRequestBuilder) ServiceConfigurationRecords()(*ItemServiceConfigurationRecordsRequestBuilder) { diff --git a/domains/item_domain_name_references_directory_object_item_request_builder.go b/domains/item_domain_name_references_directory_object_item_request_builder.go index b414495011..b10dd1bed9 100644 --- a/domains/item_domain_name_references_directory_object_item_request_builder.go +++ b/domains/item_domain_name_references_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDomainNameReferencesDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDomainNameReferencesDirectoryObjectItemRequestBuilderGetQueryParameters the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. +// ItemDomainNameReferencesDirectoryObjectItemRequestBuilderGetQueryParameters the objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. type ItemDomainNameReferencesDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewItemDomainNameReferencesDirectoryObjectItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemDomainNameReferencesDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. +// Get the objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDomainNameReferencesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { @@ -60,7 +60,7 @@ func (m *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) Get(ctx cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToGetRequestInformation the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. +// ToGetRequestInformation the objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. // returns a *RequestInformation when successful func (m *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDomainNameReferencesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_root_domain_request_builder.go b/domains/item_root_domain_request_builder.go new file mode 100644 index 0000000000..6f5316737a --- /dev/null +++ b/domains/item_root_domain_request_builder.go @@ -0,0 +1,81 @@ +package domains + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemRootDomainRequestBuilder provides operations to manage the rootDomain property of the microsoft.graph.domain entity. +type ItemRootDomainRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemRootDomainRequestBuilderGetQueryParameters get rootDomain from domains +type ItemRootDomainRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemRootDomainRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemRootDomainRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemRootDomainRequestBuilderGetQueryParameters +} +// NewItemRootDomainRequestBuilderInternal instantiates a new ItemRootDomainRequestBuilder and sets the default values. +func NewItemRootDomainRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRootDomainRequestBuilder) { + m := &ItemRootDomainRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemRootDomainRequestBuilder instantiates a new ItemRootDomainRequestBuilder and sets the default values. +func NewItemRootDomainRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRootDomainRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemRootDomainRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get rootDomain from domains +// returns a Domainable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemRootDomainRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootDomainRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDomainFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable), nil +} +// ToGetRequestInformation get rootDomain from domains +// returns a *RequestInformation when successful +func (m *ItemRootDomainRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRootDomainRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemRootDomainRequestBuilder when successful +func (m *ItemRootDomainRequestBuilder) WithUrl(rawUrl string)(*ItemRootDomainRequestBuilder) { + return NewItemRootDomainRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go index 67423f0fe8..1e0d03ace7 100644 --- a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go +++ b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go @@ -18,7 +18,7 @@ type ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. +// ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand. type ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) Delet } return nil } -// Get dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. +// Get dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand. // returns a DomainDnsRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DomainDnsRecordable, error) { @@ -121,7 +121,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. +// ToGetRequestInformation dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand. // returns a *RequestInformation when successful func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go index a4e93c52d7..21b4d32da3 100644 --- a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go +++ b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go @@ -18,7 +18,7 @@ type ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. +// ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand. type ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) Delete(ctx } return nil } -// Get dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. +// Get dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand. // returns a DomainDnsRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DomainDnsRecordable, error) { @@ -121,7 +121,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. +// ToGetRequestInformation dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand. // returns a *RequestInformation when successful func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 a707cd90d4..6c3ba0222c 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 @@ -91,12 +91,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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,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_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index dfb5869c9e..52661113ab 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 @@ -91,12 +91,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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,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/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index a1ac084e7a..570aa37c17 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -106,12 +106,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put create a new externalItem object. +// Put update the properties of an externalItem object. // 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-externalconnection-put-items?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation create a new externalItem object. +// ToPutRequestInformation update the properties of an externalItem object. // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 3c46511b9e..443889da01 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -114,12 +114,12 @@ func (m *GroupsRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableEx func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group as specified in the request body. You can create the following types of 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. +// 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -151,7 +151,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 the following types of 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. +// 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 iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_assign_license_request_builder.go b/groups/item_assign_license_request_builder.go index f20a017c09..adb001d672 100644 --- a/groups/item_assign_license_request_builder.go +++ b/groups/item_assign_license_request_builder.go @@ -31,7 +31,7 @@ func NewItemAssignLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemAssignLicenseRequestBuilderInternal(urlParams, requestAdapter) } -// Post add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. +// Post add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ItemAssignLicenseRequestBuilder) Post(ctx context.Context, body ItemAss } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable), nil } -// ToPostRequestInformation add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. +// ToPostRequestInformation add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. // returns a *RequestInformation when successful func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAssignLicensePostRequestBodyable, requestConfiguration *ItemAssignLicenseRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index cec5157b01..ef131d329a 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -51,7 +51,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error 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-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index f4faaee470..d14f39de3f 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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_team_channels_get_all_retained_messages_request_builder.go b/groups/item_team_channels_get_all_retained_messages_request_builder.go index c73b3d7a17..d9525a816b 100644 --- a/groups/item_team_channels_get_all_retained_messages_request_builder.go +++ b/groups/item_team_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamChannelsGetAllRetainedMessagesRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemTeamChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.C } return res.(ItemTeamChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemTeamChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetain } return res.(ItemTeamChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index f92d9b7a91..cfa90f08ca 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupsettingtemplates/item_restore_request_builder.go b/groupsettingtemplates/item_restore_request_builder.go index 3c0fd3d333..49145c90af 100644 --- a/groupsettingtemplates/item_restore_request_builder.go +++ b/groupsettingtemplates/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go index 153e629d42..22c3ef4f0d 100644 --- a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -54,11 +54,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 69e0eeaa28..ca19fbc50c 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -31254,6 +31254,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|promote():*ItemPromoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|rootDomain():*ItemRootDomainRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|serviceConfigurationRecords():*ItemServiceConfigurationRecordsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DomainItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.domains.DomainItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DomainItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -31459,6 +31460,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemPromoteResponse-->*ItemPro github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemPromoteResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemPromoteResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemPromoteResponseable~~>ItemPromotePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder.ItemRootDomainRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder.ItemRootDomainRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder.ItemRootDomainRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder.ItemRootDomainRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder.ItemRootDomainRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemRootDomainRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemRootDomainRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemRootDomainRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemRootDomainRequestBuilder::|public|WithUrl(rawUrl:string):*ItemRootDomainRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemServiceConfigurationRecordsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemServiceConfigurationRecordsCountRequestBuilder.ItemServiceConfigurationRecordsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.domains.ItemServiceConfigurationRecordsCountRequestBuilder.ItemServiceConfigurationRecordsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -118984,7 +118999,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|Get github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetExtensions():[]Extensionable github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetIsMemberManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetMembers():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetMembershipRule():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetMembershipRuleProcessingState():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetMembershipType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetScopedRoleMembers():[]ScopedRoleMembershipable github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|GetVisibility():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|OdataType:*string @@ -118992,20 +119011,32 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|Ser github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetExtensions(value:[]Extensionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetIsMemberManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetMembers(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetMembershipRule(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetMembershipRuleProcessingState(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetMembershipType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetScopedRoleMembers(value:[]ScopedRoleMembershipable):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|public|SetVisibility(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnit::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetExtensions():[]Extensionable +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetIsMemberManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetMembers():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetMembershipRule():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetMembershipRuleProcessingState():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetMembershipType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetScopedRoleMembers():[]ScopedRoleMembershipable github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|GetVisibility():*string github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetExtensions(value:[]Extensionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetIsMemberManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetMembers(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetMembershipRule(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetMembershipRuleProcessingState(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetMembershipType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetScopedRoleMembers(value:[]ScopedRoleMembershipable):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable::|public|SetVisibility(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.administrativeUnitable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -133793,6 +133824,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetExtensions() github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetIsCompliant():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetIsManaged():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetIsRooted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetManagementType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|GetManufacturer():*string @@ -133829,6 +133861,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetEnrollmentTy github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetExtensions(value:[]Extensionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetIsCompliant(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetIsManaged(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetIsRooted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetManagementType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.device::|public|SetManufacturer(value:*string):void @@ -133864,6 +133897,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetEnrollme github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetExtensions():[]Extensionable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetIsCompliant():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetIsManaged():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetIsRooted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetManagementType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|GetManufacturer():*string @@ -133898,6 +133932,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetEnrollme github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetExtensions(value:[]Extensionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetIsCompliant(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetIsManaged(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetIsRooted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetManagementType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceable::|public|SetManufacturer(value:*string):void @@ -136969,6 +137004,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetManufacturer github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetModel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetPasswordNotificationWindowInDays():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetPasswordValidityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetRootDomain():Domainable github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetServiceConfigurationRecords():[]DomainDnsRecordable github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetState():DomainStateable github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|GetSupportedServices():[]string @@ -136988,6 +137024,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetManufacturer github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetModel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetPasswordNotificationWindowInDays(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetPasswordValidityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetRootDomain(value:Domainable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetServiceConfigurationRecords(value:[]DomainDnsRecordable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetState(value:DomainStateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domain::|public|SetSupportedServices(value:[]string):void @@ -137006,6 +137043,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetManufact github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetModel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetPasswordNotificationWindowInDays():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetPasswordValidityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetRootDomain():Domainable github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetServiceConfigurationRecords():[]DomainDnsRecordable github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetState():DomainStateable github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|GetSupportedServices():[]string @@ -137023,6 +137061,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetManufact github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetModel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetPasswordNotificationWindowInDays(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetPasswordValidityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetRootDomain(value:Domainable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetServiceConfigurationRecords(value:[]DomainDnsRecordable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetState(value:DomainStateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.domainable::|public|SetSupportedServices(value:[]string):void @@ -142060,6 +142099,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetHideFromAddre github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetHideFromOutlookClients():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsAssignableToRole():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetIsSubscribedByMail():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetLicenseProcessingState():LicenseProcessingStateable github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetMail():*string @@ -142129,6 +142169,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetHideFromAddre github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetHideFromOutlookClients(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsAssignableToRole(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetIsSubscribedByMail(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetLicenseProcessingState(value:LicenseProcessingStateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetMail(value:*string):void @@ -142197,6 +142238,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetHideFromA github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetHideFromOutlookClients():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsAssignableToRole():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetIsSubscribedByMail():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetLicenseProcessingState():LicenseProcessingStateable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetMail():*string @@ -142264,6 +142306,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetHideFromA github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetHideFromOutlookClients(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsAssignableToRole(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetIsSubscribedByMail(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetLicenseProcessingState(value:LicenseProcessingStateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetMail(value:*string):void @@ -164764,6 +164807,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPe github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0000-allVersions github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0001-linkedFiles github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalDataOptions::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0001-teamsAndYammerConversations +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0002-cloudAttachments +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0003-allDocumentVersions +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0004-subfolderContents +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0005-listAttachments +github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetActorDisplayName():*string @@ -165320,6 +165370,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0005-addTo github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0006-holdUpdate github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0008-purgeData +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0009-exportReport +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseAction::0010-exportResult github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseEscaped::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -165826,14 +165878,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetAzureAdDeviceId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetDefenderAvStatus():*DefenderAvStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetDeviceDnsName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetDnsDomain():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetFirstSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetHealthStatus():*DeviceHealthStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetHostName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetIpInterfaces():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetLastExternalIpAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetLastIpAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetLoggedOnUsers():[]LoggedOnUserable github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetMdeDeviceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetNtDomain():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetOnboardingStatus():*OnboardingStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetOsBuild():*int64 github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|GetOsPlatform():*string @@ -165847,13 +165902,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetAzureAdDeviceId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetDefenderAvStatus(value:*DefenderAvStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetDeviceDnsName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetDnsDomain(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetFirstSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetHealthStatus(value:*DeviceHealthStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetHostName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetIpInterfaces(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetLastExternalIpAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetLastIpAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetLoggedOnUsers(value:[]LoggedOnUserable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetMdeDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetNtDomain(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetOnboardingStatus(value:*OnboardingStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetOsBuild(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|public|SetOsPlatform(value:*string):void @@ -165866,13 +165924,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidence::|stati github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetAzureAdDeviceId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetDefenderAvStatus():*DefenderAvStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetDeviceDnsName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetDnsDomain():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetFirstSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetHealthStatus():*DeviceHealthStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetHostName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetIpInterfaces():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetLastExternalIpAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetLastIpAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetLoggedOnUsers():[]LoggedOnUserable github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetMdeDeviceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetNtDomain():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetOnboardingStatus():*OnboardingStatus github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetOsBuild():*int64 github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|GetOsPlatform():*string @@ -165884,13 +165945,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetAzureAdDeviceId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetDefenderAvStatus(value:*DefenderAvStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetDeviceDnsName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetDnsDomain(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetFirstSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetHealthStatus(value:*DeviceHealthStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetHostName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetIpInterfaces(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetLastExternalIpAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetLastIpAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetLoggedOnUsers(value:[]LoggedOnUserable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetMdeDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetNtDomain(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetOnboardingStatus(value:*OnboardingStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetOsBuild(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.deviceEvidenceable::|public|SetOsPlatform(value:*string):void @@ -166337,6 +166401,49 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchCollec github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchCollectionResponseable::|public|GetValue():[]EdiscoverySearchable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchCollectionResponseable::|public|SetValue(value:[]EdiscoverySearchable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation-->*CaseOperation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetAdditionalOptions():*AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetExportCriteria():*ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetExportFileMetadata():[]ExportFileMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetExportFormat():*ExportFormat +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetExportLocation():*ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetExportSingleItems():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|GetSearch():EdiscoverySearchable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetAdditionalOptions(value:*AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetExportCriteria(value:*ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetExportFileMetadata(value:[]ExportFileMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetExportFormat(value:*ExportFormat):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetExportLocation(value:*ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetExportSingleItems(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|public|SetSearch(value:EdiscoverySearchable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetAdditionalOptions():*AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetExportCriteria():*ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetExportFileMetadata():[]ExportFileMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetExportFormat():*ExportFormat +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetExportLocation():*ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetExportSingleItems():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|GetSearch():EdiscoverySearchable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetAdditionalOptions(value:*AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetExportCriteria(value:*ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetExportFileMetadata(value:[]ExportFileMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetExportFormat(value:*ExportFormat):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetExportLocation(value:*ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetExportSingleItems(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable::|public|SetSearch(value:EdiscoverySearchable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoverySearchExportOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryTagOperation-->*CaseOperation github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryTagOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryTagOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -166465,6 +166572,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceVerdict::0001- github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceVerdict::0002-malicious github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceVerdict::0003-noThreatsFound github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceVerdict::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportCriteria::0000-searchHits +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportCriteria::0001-partiallyIndexed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportCriteria::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileMetadata::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileMetadata::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileMetadata::|public|GetBackingStore():BackingStore @@ -166497,6 +166607,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileStructure::0 github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileStructure::0001-directory github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileStructure::0002-pst github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFileStructure::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFormat::0000-pst +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFormat::0001-msg +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFormat::0002-eml +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportFormat::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportLocation::0000-responsiveLocations +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportLocation::0001-nonresponsiveLocations +github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportLocation::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportOptions::0000-originalFiles github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportOptions::0001-text github.com/microsoftgraph/msgraph-sdk-go/.models.security.exportOptions::0002-pdfReplacement @@ -179283,6 +179400,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetImAddresses(): github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetInferenceClassification():InferenceClassificationable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetInsights():ItemInsightsable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetInterests():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetIsResourceAccount():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetJobTitle():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetJoinedTeams():[]Teamable @@ -179413,6 +179531,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetImAddresses(va github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetInferenceClassification(value:InferenceClassificationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetInsights(value:ItemInsightsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetInterests(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetIsResourceAccount(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetJobTitle(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetJoinedTeams(value:[]Teamable):void @@ -179542,6 +179661,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetImAddresse github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetInferenceClassification():InferenceClassificationable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetInsights():ItemInsightsable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetInterests():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetIsManagementRestricted():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetIsResourceAccount():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetJobTitle():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetJoinedTeams():[]Teamable @@ -179670,6 +179790,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetImAddresse github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetInferenceClassification(value:InferenceClassificationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetInsights(value:ItemInsightsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetInterests(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetIsManagementRestricted(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetIsResourceAccount(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetJobTitle(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetJoinedTeams(value:[]Teamable):void @@ -202932,6 +203053,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearc github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoverySearchable github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|lastEstimateStatisticsOperation():*CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|microsoftGraphSecurityEstimateStatistics():*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|microsoftGraphSecurityExportReport():*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|microsoftGraphSecurityExportResult():*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|microsoftGraphSecurityPurgeData():*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|noncustodialSources():*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoverySearchable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.EdiscoverySearchable @@ -203093,6 +203216,100 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearc github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetAdditionalOptions():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetExportCriteria():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|GetExportLocation():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetAdditionalOptions(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetExportCriteria(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|public|SetExportLocation(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetAdditionalOptions():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetExportCriteria():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|GetExportLocation():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetAdditionalOptions(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetExportCriteria(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable::|public|SetExportLocation(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody~~>CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|Post(body:CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|ToPostRequestInformation(body:CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetAdditionalOptions():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetExportCriteria():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetExportFormat():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetExportLocation():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|GetExportSingleItems():*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetAdditionalOptions(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetExportCriteria(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetExportFormat(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetExportLocation(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|public|SetExportSingleItems(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetAdditionalOptions():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetExportCriteria():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetExportFormat():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetExportLocation():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|GetExportSingleItems():*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetAdditionalOptions(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetExportCriteria(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetExportFormat(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetExportLocation(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable::|public|SetExportSingleItems(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody~~>CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|Post(body:CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|ToPostRequestInformation(body:CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable; ctx:context.Context; requestConfiguration?:*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder::|public|WithUrl(rawUrl:string):*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataPurgeDataPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataPurgeDataPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.security.CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataPurgeDataPostRequestBody::|public|GetBackingStore():BackingStore diff --git a/kiota-lock.json b/kiota-lock.json index 6b0249619f..b9c24f1a28 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,9 +1,10 @@ { - "descriptionHash": "2DB4FE3281A5A2DCF15E49B14B5D7DA9089C4640C1315753561EC20FD3B067A9B989A617D2FD0A55FC8A2D6A02875816E776585ADBA1841719621399CF80709A", + "descriptionHash": "98EF62C7D00E0055EEF293516CE37164005556511054A4427B000658699E347C690A7914DA6986ED3BCA9369BD022680E8BB97C60642CD30589F657BDC7C2504", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.19.0", "clientClassName": "GraphBaseServiceClient", + "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-sdk-go/", "language": "Go", "usesBackingStore": true, diff --git a/models/administrative_unit.go b/models/administrative_unit.go index 5f63eb288b..f508a251a8 100644 --- a/models/administrative_unit.go +++ b/models/administrative_unit.go @@ -97,6 +97,16 @@ func (m *AdministrativeUnit) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["isMemberManagementRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsMemberManagementRestricted(val) + } + return nil + } res["members"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) if err != nil { @@ -113,6 +123,36 @@ func (m *AdministrativeUnit) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["membershipRule"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMembershipRule(val) + } + return nil + } + res["membershipRuleProcessingState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMembershipRuleProcessingState(val) + } + return nil + } + res["membershipType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMembershipType(val) + } + return nil + } res["scopedRoleMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateScopedRoleMembershipFromDiscriminatorValue) if err != nil { @@ -141,6 +181,18 @@ func (m *AdministrativeUnit) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } +// GetIsMemberManagementRestricted gets the isMemberManagementRestricted property value. The isMemberManagementRestricted property +// returns a *bool when successful +func (m *AdministrativeUnit) GetIsMemberManagementRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isMemberManagementRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetMembers gets the members property value. Users and groups that are members of this administrative unit. Supports $expand. // returns a []DirectoryObjectable when successful func (m *AdministrativeUnit) GetMembers()([]DirectoryObjectable) { @@ -153,6 +205,42 @@ func (m *AdministrativeUnit) GetMembers()([]DirectoryObjectable) { } return nil } +// GetMembershipRule gets the membershipRule property value. The membershipRule property +// returns a *string when successful +func (m *AdministrativeUnit) GetMembershipRule()(*string) { + val, err := m.GetBackingStore().Get("membershipRule") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMembershipRuleProcessingState gets the membershipRuleProcessingState property value. The membershipRuleProcessingState property +// returns a *string when successful +func (m *AdministrativeUnit) GetMembershipRuleProcessingState()(*string) { + val, err := m.GetBackingStore().Get("membershipRuleProcessingState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMembershipType gets the membershipType property value. The membershipType property +// returns a *string when successful +func (m *AdministrativeUnit) GetMembershipType()(*string) { + val, err := m.GetBackingStore().Get("membershipType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetScopedRoleMembers gets the scopedRoleMembers property value. Scoped-role members of this administrative unit. // returns a []ScopedRoleMembershipable when successful func (m *AdministrativeUnit) GetScopedRoleMembers()([]ScopedRoleMembershipable) { @@ -207,6 +295,12 @@ func (m *AdministrativeUnit) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + { + err = writer.WriteBoolValue("isMemberManagementRestricted", m.GetIsMemberManagementRestricted()) + if err != nil { + return err + } + } if m.GetMembers() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMembers())) for i, v := range m.GetMembers() { @@ -219,6 +313,24 @@ func (m *AdministrativeUnit) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + { + err = writer.WriteStringValue("membershipRule", m.GetMembershipRule()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("membershipRuleProcessingState", m.GetMembershipRuleProcessingState()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("membershipType", m.GetMembershipType()) + if err != nil { + return err + } + } if m.GetScopedRoleMembers() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetScopedRoleMembers())) for i, v := range m.GetScopedRoleMembers() { @@ -260,6 +372,13 @@ func (m *AdministrativeUnit) SetExtensions(value []Extensionable)() { panic(err) } } +// SetIsMemberManagementRestricted sets the isMemberManagementRestricted property value. The isMemberManagementRestricted property +func (m *AdministrativeUnit) SetIsMemberManagementRestricted(value *bool)() { + err := m.GetBackingStore().Set("isMemberManagementRestricted", value) + if err != nil { + panic(err) + } +} // SetMembers sets the members property value. Users and groups that are members of this administrative unit. Supports $expand. func (m *AdministrativeUnit) SetMembers(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("members", value) @@ -267,6 +386,27 @@ func (m *AdministrativeUnit) SetMembers(value []DirectoryObjectable)() { panic(err) } } +// SetMembershipRule sets the membershipRule property value. The membershipRule property +func (m *AdministrativeUnit) SetMembershipRule(value *string)() { + err := m.GetBackingStore().Set("membershipRule", value) + if err != nil { + panic(err) + } +} +// SetMembershipRuleProcessingState sets the membershipRuleProcessingState property value. The membershipRuleProcessingState property +func (m *AdministrativeUnit) SetMembershipRuleProcessingState(value *string)() { + err := m.GetBackingStore().Set("membershipRuleProcessingState", value) + if err != nil { + panic(err) + } +} +// SetMembershipType sets the membershipType property value. The membershipType property +func (m *AdministrativeUnit) SetMembershipType(value *string)() { + err := m.GetBackingStore().Set("membershipType", value) + if err != nil { + panic(err) + } +} // SetScopedRoleMembers sets the scopedRoleMembers property value. Scoped-role members of this administrative unit. func (m *AdministrativeUnit) SetScopedRoleMembers(value []ScopedRoleMembershipable)() { err := m.GetBackingStore().Set("scopedRoleMembers", value) @@ -287,13 +427,21 @@ type AdministrativeUnitable interface { GetDescription()(*string) GetDisplayName()(*string) GetExtensions()([]Extensionable) + GetIsMemberManagementRestricted()(*bool) GetMembers()([]DirectoryObjectable) + GetMembershipRule()(*string) + GetMembershipRuleProcessingState()(*string) + GetMembershipType()(*string) GetScopedRoleMembers()([]ScopedRoleMembershipable) GetVisibility()(*string) SetDescription(value *string)() SetDisplayName(value *string)() SetExtensions(value []Extensionable)() + SetIsMemberManagementRestricted(value *bool)() SetMembers(value []DirectoryObjectable)() + SetMembershipRule(value *string)() + SetMembershipRuleProcessingState(value *string)() + SetMembershipType(value *string)() SetScopedRoleMembers(value []ScopedRoleMembershipable)() SetVisibility(value *string)() } diff --git a/models/attack_simulation_operation.go b/models/attack_simulation_operation.go index 01df416f12..5f677b51c6 100644 --- a/models/attack_simulation_operation.go +++ b/models/attack_simulation_operation.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// AttackSimulationOperation the status of a long-running operation. type AttackSimulationOperation struct { LongRunningOperation } diff --git a/models/community.go b/models/community.go index cb637b8001..18198e9e44 100644 --- a/models/community.go +++ b/models/community.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// Community represents a community in Viva Engage that is a central place for conversations,files, events, and updates for people sharing a common interest or goal. type Community struct { Entity } @@ -151,7 +152,7 @@ func (m *Community) GetOwners()([]Userable) { } return nil } -// GetPrivacy gets the privacy property value. The privacy property +// GetPrivacy gets the privacy property value. Types of communityPrivacy. // returns a *CommunityPrivacy when successful func (m *Community) GetPrivacy()(*CommunityPrivacy) { val, err := m.GetBackingStore().Get("privacy") @@ -249,7 +250,7 @@ func (m *Community) SetOwners(value []Userable)() { panic(err) } } -// SetPrivacy sets the privacy property value. The privacy property +// SetPrivacy sets the privacy property value. Types of communityPrivacy. func (m *Community) SetPrivacy(value *CommunityPrivacy)() { err := m.GetBackingStore().Set("privacy", value) if err != nil { diff --git a/models/community_privacy.go b/models/community_privacy.go index 6917f77f2d..89c721d2d7 100644 --- a/models/community_privacy.go +++ b/models/community_privacy.go @@ -1,9 +1,13 @@ package models +// Types of communityPrivacy. type CommunityPrivacy int const ( + // Any user from the tenant can join and participate in the community. PUBLIC_COMMUNITYPRIVACY CommunityPrivacy = iota + // A community administrator must add tenant users to the community before they can participate. PRIVATE_COMMUNITYPRIVACY + // A marker value for members added after the release of this API. UNKNOWNFUTUREVALUE_COMMUNITYPRIVACY ) diff --git a/models/device.go b/models/device.go index e7e5ef5057..52a6b0887e 100644 --- a/models/device.go +++ b/models/device.go @@ -344,6 +344,16 @@ func (m *Device) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["isManagementRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsManagementRestricted(val) + } + return nil + } res["isRooted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -596,6 +606,18 @@ func (m *Device) GetIsManaged()(*bool) { } return nil } +// GetIsManagementRestricted gets the isManagementRestricted property value. The isManagementRestricted property +// returns a *bool when successful +func (m *Device) GetIsManagementRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isManagementRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsRooted gets the isRooted property value. true if the device is rooted or jail-broken. This property can only be updated by Intune. // returns a *bool when successful func (m *Device) GetIsRooted()(*bool) { @@ -932,6 +954,12 @@ func (m *Device) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + { + err = writer.WriteBoolValue("isManagementRestricted", m.GetIsManagementRestricted()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isRooted", m.GetIsRooted()) if err != nil { @@ -1177,6 +1205,13 @@ func (m *Device) SetIsManaged(value *bool)() { panic(err) } } +// SetIsManagementRestricted sets the isManagementRestricted property value. The isManagementRestricted property +func (m *Device) SetIsManagementRestricted(value *bool)() { + err := m.GetBackingStore().Set("isManagementRestricted", value) + if err != nil { + panic(err) + } +} // SetIsRooted sets the isRooted property value. true if the device is rooted or jail-broken. This property can only be updated by Intune. func (m *Device) SetIsRooted(value *bool)() { err := m.GetBackingStore().Set("isRooted", value) @@ -1328,6 +1363,7 @@ type Deviceable interface { GetExtensions()([]Extensionable) GetIsCompliant()(*bool) GetIsManaged()(*bool) + GetIsManagementRestricted()(*bool) GetIsRooted()(*bool) GetManagementType()(*string) GetManufacturer()(*string) @@ -1362,6 +1398,7 @@ type Deviceable interface { SetExtensions(value []Extensionable)() SetIsCompliant(value *bool)() SetIsManaged(value *bool)() + SetIsManagementRestricted(value *bool)() SetIsRooted(value *bool)() SetManagementType(value *string)() SetManufacturer(value *string)() diff --git a/models/domain.go b/models/domain.go index 3ee78cf2ae..0aafc28c90 100644 --- a/models/domain.go +++ b/models/domain.go @@ -43,7 +43,7 @@ func (m *Domain) GetAvailabilityStatus()(*string) { } return nil } -// GetDomainNameReferences gets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. +// GetDomainNameReferences gets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. // returns a []DirectoryObjectable when successful func (m *Domain) GetDomainNameReferences()([]DirectoryObjectable) { val, err := m.GetBackingStore().Get("domainNameReferences") @@ -55,7 +55,7 @@ func (m *Domain) GetDomainNameReferences()([]DirectoryObjectable) { } return nil } -// GetFederationConfiguration gets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Supports $expand. +// GetFederationConfiguration gets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Doesn't support $expand. // returns a []InternalDomainFederationable when successful func (m *Domain) GetFederationConfiguration()([]InternalDomainFederationable) { val, err := m.GetBackingStore().Get("federationConfiguration") @@ -213,6 +213,16 @@ func (m *Domain) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["rootDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDomainFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRootDomain(val.(Domainable)) + } + return nil + } res["serviceConfigurationRecords"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDomainDnsRecordFromDiscriminatorValue) if err != nil { @@ -285,7 +295,7 @@ func (m *Domain) GetIsAdminManaged()(*bool) { } return nil } -// GetIsDefault gets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable +// GetIsDefault gets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable. // returns a *bool when successful func (m *Domain) GetIsDefault()(*bool) { val, err := m.GetBackingStore().Get("isDefault") @@ -309,7 +319,7 @@ func (m *Domain) GetIsInitial()(*bool) { } return nil } -// GetIsRoot gets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable +// GetIsRoot gets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable. // returns a *bool when successful func (m *Domain) GetIsRoot()(*bool) { val, err := m.GetBackingStore().Get("isRoot") @@ -321,7 +331,7 @@ func (m *Domain) GetIsRoot()(*bool) { } return nil } -// GetIsVerified gets the isVerified property value. true if the domain has completed domain ownership verification. Not nullable +// GetIsVerified gets the isVerified property value. true if the domain completed domain ownership verification. Not nullable. // returns a *bool when successful func (m *Domain) GetIsVerified()(*bool) { val, err := m.GetBackingStore().Get("isVerified") @@ -357,7 +367,7 @@ func (m *Domain) GetModel()(*string) { } return nil } -// GetPasswordNotificationWindowInDays gets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password will expire. If the property isn't set, a default value of 14 days is used. +// GetPasswordNotificationWindowInDays gets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password expires. If the property isn't set, a default value of 14 days is used. // returns a *int32 when successful func (m *Domain) GetPasswordNotificationWindowInDays()(*int32) { val, err := m.GetBackingStore().Get("passwordNotificationWindowInDays") @@ -381,7 +391,19 @@ func (m *Domain) GetPasswordValidityPeriodInDays()(*int32) { } return nil } -// GetServiceConfigurationRecords gets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. +// GetRootDomain gets the rootDomain property value. The rootDomain property +// returns a Domainable when successful +func (m *Domain) GetRootDomain()(Domainable) { + val, err := m.GetBackingStore().Get("rootDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(Domainable) + } + return nil +} +// GetServiceConfigurationRecords gets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand. // returns a []DomainDnsRecordable when successful func (m *Domain) GetServiceConfigurationRecords()([]DomainDnsRecordable) { val, err := m.GetBackingStore().Get("serviceConfigurationRecords") @@ -417,7 +439,7 @@ func (m *Domain) GetSupportedServices()([]string) { } return nil } -// GetVerificationDnsRecords gets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. +// GetVerificationDnsRecords gets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand. // returns a []DomainDnsRecordable when successful func (m *Domain) GetVerificationDnsRecords()([]DomainDnsRecordable) { val, err := m.GetBackingStore().Get("verificationDnsRecords") @@ -525,6 +547,12 @@ func (m *Domain) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + { + err = writer.WriteObjectValue("rootDomain", m.GetRootDomain()) + if err != nil { + return err + } + } if m.GetServiceConfigurationRecords() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetServiceConfigurationRecords())) for i, v := range m.GetServiceConfigurationRecords() { @@ -577,14 +605,14 @@ func (m *Domain) SetAvailabilityStatus(value *string)() { panic(err) } } -// SetDomainNameReferences sets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. +// SetDomainNameReferences sets the domainNameReferences property value. The objects such as users and groups that reference the domain ID. Read-only, Nullable. Doesn't support $expand. Supports $filter by the OData type of objects returned. For example, /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. func (m *Domain) SetDomainNameReferences(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("domainNameReferences", value) if err != nil { panic(err) } } -// SetFederationConfiguration sets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Supports $expand. +// SetFederationConfiguration sets the federationConfiguration property value. Domain settings configured by a customer when federated with Microsoft Entra ID. Doesn't support $expand. func (m *Domain) SetFederationConfiguration(value []InternalDomainFederationable)() { err := m.GetBackingStore().Set("federationConfiguration", value) if err != nil { @@ -598,7 +626,7 @@ func (m *Domain) SetIsAdminManaged(value *bool)() { panic(err) } } -// SetIsDefault sets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable +// SetIsDefault sets the isDefault property value. true if this is the default domain that is used for user creation. There's only one default domain per company. Not nullable. func (m *Domain) SetIsDefault(value *bool)() { err := m.GetBackingStore().Set("isDefault", value) if err != nil { @@ -612,14 +640,14 @@ func (m *Domain) SetIsInitial(value *bool)() { panic(err) } } -// SetIsRoot sets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable +// SetIsRoot sets the isRoot property value. true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable. func (m *Domain) SetIsRoot(value *bool)() { err := m.GetBackingStore().Set("isRoot", value) if err != nil { panic(err) } } -// SetIsVerified sets the isVerified property value. true if the domain has completed domain ownership verification. Not nullable +// SetIsVerified sets the isVerified property value. true if the domain completed domain ownership verification. Not nullable. func (m *Domain) SetIsVerified(value *bool)() { err := m.GetBackingStore().Set("isVerified", value) if err != nil { @@ -640,7 +668,7 @@ func (m *Domain) SetModel(value *string)() { panic(err) } } -// SetPasswordNotificationWindowInDays sets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password will expire. If the property isn't set, a default value of 14 days is used. +// SetPasswordNotificationWindowInDays sets the passwordNotificationWindowInDays property value. Specifies the number of days before a user receives notification that their password expires. If the property isn't set, a default value of 14 days is used. func (m *Domain) SetPasswordNotificationWindowInDays(value *int32)() { err := m.GetBackingStore().Set("passwordNotificationWindowInDays", value) if err != nil { @@ -654,7 +682,14 @@ func (m *Domain) SetPasswordValidityPeriodInDays(value *int32)() { panic(err) } } -// SetServiceConfigurationRecords sets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. +// SetRootDomain sets the rootDomain property value. The rootDomain property +func (m *Domain) SetRootDomain(value Domainable)() { + err := m.GetBackingStore().Set("rootDomain", value) + if err != nil { + panic(err) + } +} +// SetServiceConfigurationRecords sets the serviceConfigurationRecords property value. DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Doesn't support $expand. func (m *Domain) SetServiceConfigurationRecords(value []DomainDnsRecordable)() { err := m.GetBackingStore().Set("serviceConfigurationRecords", value) if err != nil { @@ -675,7 +710,7 @@ func (m *Domain) SetSupportedServices(value []string)() { panic(err) } } -// SetVerificationDnsRecords sets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. +// SetVerificationDnsRecords sets the verificationDnsRecords property value. DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Doesn't support $expand. func (m *Domain) SetVerificationDnsRecords(value []DomainDnsRecordable)() { err := m.GetBackingStore().Set("verificationDnsRecords", value) if err != nil { @@ -698,6 +733,7 @@ type Domainable interface { GetModel()(*string) GetPasswordNotificationWindowInDays()(*int32) GetPasswordValidityPeriodInDays()(*int32) + GetRootDomain()(Domainable) GetServiceConfigurationRecords()([]DomainDnsRecordable) GetState()(DomainStateable) GetSupportedServices()([]string) @@ -715,6 +751,7 @@ type Domainable interface { SetModel(value *string)() SetPasswordNotificationWindowInDays(value *int32)() SetPasswordValidityPeriodInDays(value *int32)() + SetRootDomain(value Domainable)() SetServiceConfigurationRecords(value []DomainDnsRecordable)() SetState(value DomainStateable)() SetSupportedServices(value []string)() diff --git a/models/employee_experience.go b/models/employee_experience.go index 1527cac5ce..9c03afb8bf 100644 --- a/models/employee_experience.go +++ b/models/employee_experience.go @@ -5,6 +5,7 @@ import ( ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) +// EmployeeExperience represents a container that exposes navigation properties for employee experience resources. type EmployeeExperience struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore diff --git a/models/engagement_async_operation.go b/models/engagement_async_operation.go index 8f36a2949a..cbfb05c5dc 100644 --- a/models/engagement_async_operation.go +++ b/models/engagement_async_operation.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// EngagementAsyncOperation represents the status of a Viva Engage async operation that is an operation that transcends thelifetime of a single API request. These operations are long-running or too expensive to completewithin the time frame of their original request. type EngagementAsyncOperation struct { LongRunningOperation } diff --git a/models/engagement_async_operation_type.go b/models/engagement_async_operation_type.go index 0d6507bceb..b3489d770a 100644 --- a/models/engagement_async_operation_type.go +++ b/models/engagement_async_operation_type.go @@ -1,8 +1,11 @@ package models +// Types of engagementAsyncOperationType. Members will be added here as more async operations are supported. type EngagementAsyncOperationType int const ( + // Operation to create a Viva Engage community. CREATECOMMUNITY_ENGAGEMENTASYNCOPERATIONTYPE EngagementAsyncOperationType = iota + // A marker value for members added after the release of this API. UNKNOWNFUTUREVALUE_ENGAGEMENTASYNCOPERATIONTYPE ) diff --git a/models/file_storage_container.go b/models/file_storage_container.go index a893b425a0..5352c76c64 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -207,7 +207,7 @@ func (m *FileStorageContainer) GetPermissions()([]Permissionable) { } return nil } -// GetStatus gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. +// GetStatus gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. // returns a *FileStorageContainerStatus when successful func (m *FileStorageContainer) GetStatus()(*FileStorageContainerStatus) { val, err := m.GetBackingStore().Get("status") @@ -349,7 +349,7 @@ func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { panic(err) } } -// SetStatus sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. +// SetStatus sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. func (m *FileStorageContainer) SetStatus(value *FileStorageContainerStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/group.go b/models/group.go index c58271f97b..ae44b5faa6 100644 --- a/models/group.go +++ b/models/group.go @@ -5,6 +5,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// Group represents a Microsoft Entra group. type Group struct { DirectoryObject } @@ -580,6 +581,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["isManagementRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsManagementRestricted(val) + } + return nil + } res["isSubscribedByMail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -1166,6 +1177,18 @@ func (m *Group) GetIsAssignableToRole()(*bool) { } return nil } +// GetIsManagementRestricted gets the isManagementRestricted property value. The isManagementRestricted property +// returns a *bool when successful +func (m *Group) GetIsManagementRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isManagementRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsSubscribedByMail gets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). // returns a *bool when successful func (m *Group) GetIsSubscribedByMail()(*bool) { @@ -1382,7 +1405,7 @@ func (m *Group) GetOnPremisesSyncEnabled()(*bool) { } return nil } -// GetOwners gets the owners property value. The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). +// GetOwners gets the owners property value. The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). // returns a []DirectoryObjectable when successful func (m *Group) GetOwners()([]DirectoryObjectable) { val, err := m.GetBackingStore().Get("owners") @@ -1880,6 +1903,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("isManagementRestricted", m.GetIsManagementRestricted()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isSubscribedByMail", m.GetIsSubscribedByMail()) if err != nil { @@ -2394,6 +2423,13 @@ func (m *Group) SetIsAssignableToRole(value *bool)() { panic(err) } } +// SetIsManagementRestricted sets the isManagementRestricted property value. The isManagementRestricted property +func (m *Group) SetIsManagementRestricted(value *bool)() { + err := m.GetBackingStore().Set("isManagementRestricted", value) + if err != nil { + panic(err) + } +} // SetIsSubscribedByMail sets the isSubscribedByMail property value. Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). func (m *Group) SetIsSubscribedByMail(value *bool)() { err := m.GetBackingStore().Set("isSubscribedByMail", value) @@ -2520,7 +2556,7 @@ func (m *Group) SetOnPremisesSyncEnabled(value *bool)() { panic(err) } } -// SetOwners sets the owners property value. The owners of the group. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). +// SetOwners sets the owners property value. The owners of the group who can be users or service principals. Limited to 100 owners. Nullable. If this property isn't specified when creating a Microsoft 365 group the calling user (admin or non-admin) is automatically assigned as the group owner. A non-admin user can't explicitly add themselves to this collection when they're creating the group. For more information, see the related known issue. For security groups, the admin user isn't automatically added to this collection. For more information, see the related known issue. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). func (m *Group) SetOwners(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("owners", value) if err != nil { @@ -2710,6 +2746,7 @@ type Groupable interface { GetHideFromOutlookClients()(*bool) GetIsArchived()(*bool) GetIsAssignableToRole()(*bool) + GetIsManagementRestricted()(*bool) GetIsSubscribedByMail()(*bool) GetLicenseProcessingState()(LicenseProcessingStateable) GetMail()(*string) @@ -2777,6 +2814,7 @@ type Groupable interface { SetHideFromOutlookClients(value *bool)() SetIsArchived(value *bool)() SetIsAssignableToRole(value *bool)() + SetIsManagementRestricted(value *bool)() SetIsSubscribedByMail(value *bool)() SetLicenseProcessingState(value LicenseProcessingStateable)() SetMail(value *string)() diff --git a/models/key_credential.go b/models/key_credential.go index 079c128069..561cdd3688 100644 --- a/models/key_credential.go +++ b/models/key_credential.go @@ -54,7 +54,7 @@ func (m *KeyCredential) GetCustomKeyIdentifier()([]byte) { } return nil } -// GetDisplayName gets the displayName property value. Friendly name for the key. Optional. +// GetDisplayName gets the displayName property value. The friendly name for the key, with a maximum length of 90 characters. Longer values are accepted but shortened. Optional. // returns a *string when successful func (m *KeyCredential) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -174,7 +174,7 @@ func (m *KeyCredential) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return res } -// GetKey gets the key property value. The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. +// GetKey gets the key property value. The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it's always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. // returns a []byte when successful func (m *KeyCredential) GetKey()([]byte) { val, err := m.GetBackingStore().Get("key") @@ -328,7 +328,7 @@ func (m *KeyCredential) SetCustomKeyIdentifier(value []byte)() { panic(err) } } -// SetDisplayName sets the displayName property value. Friendly name for the key. Optional. +// SetDisplayName sets the displayName property value. The friendly name for the key, with a maximum length of 90 characters. Longer values are accepted but shortened. Optional. func (m *KeyCredential) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -342,7 +342,7 @@ func (m *KeyCredential) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a panic(err) } } -// SetKey sets the key property value. The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. +// SetKey sets the key property value. The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it's always null. From a .cer certificate, you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key. func (m *KeyCredential) SetKey(value []byte)() { err := m.GetBackingStore().Set("key", value) if err != nil { diff --git a/models/long_running_operation.go b/models/long_running_operation.go index 079eebbd6c..b65a926b09 100644 --- a/models/long_running_operation.go +++ b/models/long_running_operation.go @@ -5,6 +5,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// LongRunningOperation the status of a long-running operation. type LongRunningOperation struct { Entity } diff --git a/models/protection_rule_base.go b/models/protection_rule_base.go index 1c6a4b6e70..98d341c52f 100644 --- a/models/protection_rule_base.go +++ b/models/protection_rule_base.go @@ -154,7 +154,7 @@ func (m *ProtectionRuleBase) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIsAutoApplyEnabled gets the isAutoApplyEnabled property value. Indicates whether the protection rule is static or dynamic. +// GetIsAutoApplyEnabled gets the isAutoApplyEnabled property value. true indicates that the protection rule is dynamic; false that it's static. Currently, only static rules are supported. // returns a *bool when successful func (m *ProtectionRuleBase) GetIsAutoApplyEnabled()(*bool) { val, err := m.GetBackingStore().Get("isAutoApplyEnabled") @@ -274,7 +274,7 @@ func (m *ProtectionRuleBase) SetError(value PublicErrorable)() { panic(err) } } -// SetIsAutoApplyEnabled sets the isAutoApplyEnabled property value. Indicates whether the protection rule is static or dynamic. +// SetIsAutoApplyEnabled sets the isAutoApplyEnabled property value. true indicates that the protection rule is dynamic; false that it's static. Currently, only static rules are supported. func (m *ProtectionRuleBase) SetIsAutoApplyEnabled(value *bool)() { err := m.GetBackingStore().Set("isAutoApplyEnabled", value) if err != nil { diff --git a/models/rich_long_running_operation.go b/models/rich_long_running_operation.go index 0662c794bb..af21122b8e 100644 --- a/models/rich_long_running_operation.go +++ b/models/rich_long_running_operation.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// RichLongRunningOperation the status of a long-running operation. type RichLongRunningOperation struct { LongRunningOperation } diff --git a/models/schedule_information.go b/models/schedule_information.go index 6d5583d705..da299f2ea5 100644 --- a/models/schedule_information.go +++ b/models/schedule_information.go @@ -35,7 +35,7 @@ func (m *ScheduleInformation) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAvailabilityView gets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A. +// GetAvailabilityView gets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A and Exchange 2007 and Exchange 2010 do not use the WorkingElsewhere value. // returns a *string when successful func (m *ScheduleInformation) GetAvailabilityView()(*string) { val, err := m.GetBackingStore().Get("availabilityView") @@ -243,7 +243,7 @@ func (m *ScheduleInformation) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAvailabilityView sets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A. +// SetAvailabilityView sets the availabilityView property value. Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free or working elswhere, 1= tentative, 2= busy, 3= out of office.Note: Working elsewhere is set to 0 instead of 4 for backward compatibility. For details, see the Q&A and Exchange 2007 and Exchange 2010 do not use the WorkingElsewhere value. func (m *ScheduleInformation) SetAvailabilityView(value *string)() { err := m.GetBackingStore().Set("availabilityView", value) if err != nil { diff --git a/models/security/additional_options.go b/models/security/additional_options.go new file mode 100644 index 0000000000..b3ef7df671 --- /dev/null +++ b/models/security/additional_options.go @@ -0,0 +1,63 @@ +package security +import ( + "math" + "strings" +) +type AdditionalOptions int + +const ( + NONE_ADDITIONALOPTIONS = 1 + TEAMSANDYAMMERCONVERSATIONS_ADDITIONALOPTIONS = 2 + CLOUDATTACHMENTS_ADDITIONALOPTIONS = 4 + ALLDOCUMENTVERSIONS_ADDITIONALOPTIONS = 8 + SUBFOLDERCONTENTS_ADDITIONALOPTIONS = 16 + LISTATTACHMENTS_ADDITIONALOPTIONS = 32 + UNKNOWNFUTUREVALUE_ADDITIONALOPTIONS = 64 +) + +func (i AdditionalOptions) String() string { + var values []string + options := []string{"none", "teamsAndYammerConversations", "cloudAttachments", "allDocumentVersions", "subfolderContents", "listAttachments", "unknownFutureValue"} + for p := 0; p < 7; p++ { + mantis := AdditionalOptions(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseAdditionalOptions(v string) (any, error) { + var result AdditionalOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_ADDITIONALOPTIONS + case "teamsAndYammerConversations": + result |= TEAMSANDYAMMERCONVERSATIONS_ADDITIONALOPTIONS + case "cloudAttachments": + result |= CLOUDATTACHMENTS_ADDITIONALOPTIONS + case "allDocumentVersions": + result |= ALLDOCUMENTVERSIONS_ADDITIONALOPTIONS + case "subfolderContents": + result |= SUBFOLDERCONTENTS_ADDITIONALOPTIONS + case "listAttachments": + result |= LISTATTACHMENTS_ADDITIONALOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ADDITIONALOPTIONS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeAdditionalOptions(values []AdditionalOptions) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AdditionalOptions) isMultiValue() bool { + return true +} diff --git a/models/security/case_action.go b/models/security/case_action.go index 15bd9a493c..dfe53f35a5 100644 --- a/models/security/case_action.go +++ b/models/security/case_action.go @@ -11,10 +11,12 @@ const ( HOLDUPDATE_CASEACTION UNKNOWNFUTUREVALUE_CASEACTION PURGEDATA_CASEACTION + EXPORTREPORT_CASEACTION + EXPORTRESULT_CASEACTION ) func (i CaseAction) String() string { - return []string{"contentExport", "applyTags", "convertToPdf", "index", "estimateStatistics", "addToReviewSet", "holdUpdate", "unknownFutureValue", "purgeData"}[i] + return []string{"contentExport", "applyTags", "convertToPdf", "index", "estimateStatistics", "addToReviewSet", "holdUpdate", "unknownFutureValue", "purgeData", "exportReport", "exportResult"}[i] } func ParseCaseAction(v string) (any, error) { result := CONTENTEXPORT_CASEACTION @@ -37,6 +39,10 @@ func ParseCaseAction(v string) (any, error) { result = UNKNOWNFUTUREVALUE_CASEACTION case "purgeData": result = PURGEDATA_CASEACTION + case "exportReport": + result = EXPORTREPORT_CASEACTION + case "exportResult": + result = EXPORTRESULT_CASEACTION default: return nil, nil } diff --git a/models/security/case_operation.go b/models/security/case_operation.go index 336149e6f8..f9266fb289 100644 --- a/models/security/case_operation.go +++ b/models/security/case_operation.go @@ -43,6 +43,8 @@ func CreateCaseOperationFromDiscriminatorValue(parseNode i878a80d2330e89d2689638 return NewEdiscoveryIndexOperation(), nil case "#microsoft.graph.security.ediscoveryPurgeDataOperation": return NewEdiscoveryPurgeDataOperation(), nil + case "#microsoft.graph.security.ediscoverySearchExportOperation": + return NewEdiscoverySearchExportOperation(), nil case "#microsoft.graph.security.ediscoveryTagOperation": return NewEdiscoveryTagOperation(), nil } diff --git a/models/security/device_evidence.go b/models/security/device_evidence.go index 5b59c1ed6f..8e8cbdc75c 100644 --- a/models/security/device_evidence.go +++ b/models/security/device_evidence.go @@ -58,6 +58,18 @@ func (m *DeviceEvidence) GetDeviceDnsName()(*string) { } return nil } +// GetDnsDomain gets the dnsDomain property value. The DNS domain that this computer belongs to. A sequence of labels separated by dots. +// returns a *string when successful +func (m *DeviceEvidence) GetDnsDomain()(*string) { + val, err := m.GetBackingStore().Get("dnsDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *DeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -92,6 +104,16 @@ func (m *DeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["dnsDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDnsDomain(val) + } + return nil + } res["firstSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -112,6 +134,16 @@ func (m *DeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["hostName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHostName(val) + } + return nil + } res["ipInterfaces"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfPrimitiveValues("string") if err != nil { @@ -174,6 +206,16 @@ func (m *DeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["ntDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNtDomain(val) + } + return nil + } res["onboardingStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseOnboardingStatus) if err != nil { @@ -280,6 +322,18 @@ func (m *DeviceEvidence) GetHealthStatus()(*DeviceHealthStatus) { } return nil } +// GetHostName gets the hostName property value. The hostname without the domain suffix. +// returns a *string when successful +func (m *DeviceEvidence) GetHostName()(*string) { + val, err := m.GetBackingStore().Get("hostName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetIpInterfaces gets the ipInterfaces property value. Ip interfaces of the device during the time of the alert. // returns a []string when successful func (m *DeviceEvidence) GetIpInterfaces()([]string) { @@ -340,6 +394,18 @@ func (m *DeviceEvidence) GetMdeDeviceId()(*string) { } return nil } +// GetNtDomain gets the ntDomain property value. A logical grouping of computers within a Microsoft Windows network. +// returns a *string when successful +func (m *DeviceEvidence) GetNtDomain()(*string) { + val, err := m.GetBackingStore().Get("ntDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetOnboardingStatus gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. // returns a *OnboardingStatus when successful func (m *DeviceEvidence) GetOnboardingStatus()(*OnboardingStatus) { @@ -461,6 +527,12 @@ func (m *DeviceEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteStringValue("dnsDomain", m.GetDnsDomain()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("firstSeenDateTime", m.GetFirstSeenDateTime()) if err != nil { @@ -474,6 +546,12 @@ func (m *DeviceEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteStringValue("hostName", m.GetHostName()) + if err != nil { + return err + } + } if m.GetIpInterfaces() != nil { err = writer.WriteCollectionOfStringValues("ipInterfaces", m.GetIpInterfaces()) if err != nil { @@ -510,6 +588,12 @@ func (m *DeviceEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteStringValue("ntDomain", m.GetNtDomain()) + if err != nil { + return err + } + } if m.GetOnboardingStatus() != nil { cast := (*m.GetOnboardingStatus()).String() err = writer.WriteStringValue("onboardingStatus", &cast) @@ -583,6 +667,13 @@ func (m *DeviceEvidence) SetDeviceDnsName(value *string)() { panic(err) } } +// SetDnsDomain sets the dnsDomain property value. The DNS domain that this computer belongs to. A sequence of labels separated by dots. +func (m *DeviceEvidence) SetDnsDomain(value *string)() { + err := m.GetBackingStore().Set("dnsDomain", value) + if err != nil { + panic(err) + } +} // SetFirstSeenDateTime sets the firstSeenDateTime property value. The date and time when the device was first seen. func (m *DeviceEvidence) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) @@ -597,6 +688,13 @@ func (m *DeviceEvidence) SetHealthStatus(value *DeviceHealthStatus)() { panic(err) } } +// SetHostName sets the hostName property value. The hostname without the domain suffix. +func (m *DeviceEvidence) SetHostName(value *string)() { + err := m.GetBackingStore().Set("hostName", value) + if err != nil { + panic(err) + } +} // SetIpInterfaces sets the ipInterfaces property value. Ip interfaces of the device during the time of the alert. func (m *DeviceEvidence) SetIpInterfaces(value []string)() { err := m.GetBackingStore().Set("ipInterfaces", value) @@ -632,6 +730,13 @@ func (m *DeviceEvidence) SetMdeDeviceId(value *string)() { panic(err) } } +// SetNtDomain sets the ntDomain property value. A logical grouping of computers within a Microsoft Windows network. +func (m *DeviceEvidence) SetNtDomain(value *string)() { + err := m.GetBackingStore().Set("ntDomain", value) + if err != nil { + panic(err) + } +} // SetOnboardingStatus sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. func (m *DeviceEvidence) SetOnboardingStatus(value *OnboardingStatus)() { err := m.GetBackingStore().Set("onboardingStatus", value) @@ -694,13 +799,16 @@ type DeviceEvidenceable interface { GetAzureAdDeviceId()(*string) GetDefenderAvStatus()(*DefenderAvStatus) GetDeviceDnsName()(*string) + GetDnsDomain()(*string) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetHealthStatus()(*DeviceHealthStatus) + GetHostName()(*string) GetIpInterfaces()([]string) GetLastExternalIpAddress()(*string) GetLastIpAddress()(*string) GetLoggedOnUsers()([]LoggedOnUserable) GetMdeDeviceId()(*string) + GetNtDomain()(*string) GetOnboardingStatus()(*OnboardingStatus) GetOsBuild()(*int64) GetOsPlatform()(*string) @@ -712,13 +820,16 @@ type DeviceEvidenceable interface { SetAzureAdDeviceId(value *string)() SetDefenderAvStatus(value *DefenderAvStatus)() SetDeviceDnsName(value *string)() + SetDnsDomain(value *string)() SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetHealthStatus(value *DeviceHealthStatus)() + SetHostName(value *string)() SetIpInterfaces(value []string)() SetLastExternalIpAddress(value *string)() SetLastIpAddress(value *string)() SetLoggedOnUsers(value []LoggedOnUserable)() SetMdeDeviceId(value *string)() + SetNtDomain(value *string)() SetOnboardingStatus(value *OnboardingStatus)() SetOsBuild(value *int64)() SetOsPlatform(value *string)() diff --git a/models/security/ediscovery_search_export_operation.go b/models/security/ediscovery_search_export_operation.go new file mode 100644 index 0000000000..df6c209fbd --- /dev/null +++ b/models/security/ediscovery_search_export_operation.go @@ -0,0 +1,388 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EdiscoverySearchExportOperation struct { + CaseOperation +} +// NewEdiscoverySearchExportOperation instantiates a new EdiscoverySearchExportOperation and sets the default values. +func NewEdiscoverySearchExportOperation()(*EdiscoverySearchExportOperation) { + m := &EdiscoverySearchExportOperation{ + CaseOperation: *NewCaseOperation(), + } + return m +} +// CreateEdiscoverySearchExportOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEdiscoverySearchExportOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEdiscoverySearchExportOperation(), nil +} +// GetAdditionalOptions gets the additionalOptions property value. The additionalOptions property +// returns a *AdditionalOptions when successful +func (m *EdiscoverySearchExportOperation) GetAdditionalOptions()(*AdditionalOptions) { + val, err := m.GetBackingStore().Get("additionalOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AdditionalOptions) + } + return nil +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *EdiscoverySearchExportOperation) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *EdiscoverySearchExportOperation) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExportCriteria gets the exportCriteria property value. The exportCriteria property +// returns a *ExportCriteria when successful +func (m *EdiscoverySearchExportOperation) GetExportCriteria()(*ExportCriteria) { + val, err := m.GetBackingStore().Get("exportCriteria") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ExportCriteria) + } + return nil +} +// GetExportFileMetadata gets the exportFileMetadata property value. The exportFileMetadata property +// returns a []ExportFileMetadataable when successful +func (m *EdiscoverySearchExportOperation) GetExportFileMetadata()([]ExportFileMetadataable) { + val, err := m.GetBackingStore().Get("exportFileMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExportFileMetadataable) + } + return nil +} +// GetExportFormat gets the exportFormat property value. The exportFormat property +// returns a *ExportFormat when successful +func (m *EdiscoverySearchExportOperation) GetExportFormat()(*ExportFormat) { + val, err := m.GetBackingStore().Get("exportFormat") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ExportFormat) + } + return nil +} +// GetExportLocation gets the exportLocation property value. The exportLocation property +// returns a *ExportLocation when successful +func (m *EdiscoverySearchExportOperation) GetExportLocation()(*ExportLocation) { + val, err := m.GetBackingStore().Get("exportLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ExportLocation) + } + return nil +} +// GetExportSingleItems gets the exportSingleItems property value. The exportSingleItems property +// returns a *bool when successful +func (m *EdiscoverySearchExportOperation) GetExportSingleItems()(*bool) { + val, err := m.GetBackingStore().Get("exportSingleItems") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EdiscoverySearchExportOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CaseOperation.GetFieldDeserializers() + res["additionalOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAdditionalOptions) + if err != nil { + return err + } + if val != nil { + m.SetAdditionalOptions(val.(*AdditionalOptions)) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["exportCriteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseExportCriteria) + if err != nil { + return err + } + if val != nil { + m.SetExportCriteria(val.(*ExportCriteria)) + } + return nil + } + res["exportFileMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExportFileMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExportFileMetadataable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExportFileMetadataable) + } + } + m.SetExportFileMetadata(res) + } + return nil + } + res["exportFormat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseExportFormat) + if err != nil { + return err + } + if val != nil { + m.SetExportFormat(val.(*ExportFormat)) + } + return nil + } + res["exportLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseExportLocation) + if err != nil { + return err + } + if val != nil { + m.SetExportLocation(val.(*ExportLocation)) + } + return nil + } + res["exportSingleItems"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetExportSingleItems(val) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEdiscoverySearchFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSearch(val.(EdiscoverySearchable)) + } + return nil + } + return res +} +// GetSearch gets the search property value. The search property +// returns a EdiscoverySearchable when successful +func (m *EdiscoverySearchExportOperation) GetSearch()(EdiscoverySearchable) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(EdiscoverySearchable) + } + return nil +} +// Serialize serializes information the current object +func (m *EdiscoverySearchExportOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CaseOperation.Serialize(writer) + if err != nil { + return err + } + if m.GetAdditionalOptions() != nil { + cast := (*m.GetAdditionalOptions()).String() + err = writer.WriteStringValue("additionalOptions", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetExportCriteria() != nil { + cast := (*m.GetExportCriteria()).String() + err = writer.WriteStringValue("exportCriteria", &cast) + if err != nil { + return err + } + } + if m.GetExportFileMetadata() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExportFileMetadata())) + for i, v := range m.GetExportFileMetadata() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("exportFileMetadata", cast) + if err != nil { + return err + } + } + if m.GetExportFormat() != nil { + cast := (*m.GetExportFormat()).String() + err = writer.WriteStringValue("exportFormat", &cast) + if err != nil { + return err + } + } + if m.GetExportLocation() != nil { + cast := (*m.GetExportLocation()).String() + err = writer.WriteStringValue("exportLocation", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("exportSingleItems", m.GetExportSingleItems()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("search", m.GetSearch()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalOptions sets the additionalOptions property value. The additionalOptions property +func (m *EdiscoverySearchExportOperation) SetAdditionalOptions(value *AdditionalOptions)() { + err := m.GetBackingStore().Set("additionalOptions", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The description property +func (m *EdiscoverySearchExportOperation) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *EdiscoverySearchExportOperation) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetExportCriteria sets the exportCriteria property value. The exportCriteria property +func (m *EdiscoverySearchExportOperation) SetExportCriteria(value *ExportCriteria)() { + err := m.GetBackingStore().Set("exportCriteria", value) + if err != nil { + panic(err) + } +} +// SetExportFileMetadata sets the exportFileMetadata property value. The exportFileMetadata property +func (m *EdiscoverySearchExportOperation) SetExportFileMetadata(value []ExportFileMetadataable)() { + err := m.GetBackingStore().Set("exportFileMetadata", value) + if err != nil { + panic(err) + } +} +// SetExportFormat sets the exportFormat property value. The exportFormat property +func (m *EdiscoverySearchExportOperation) SetExportFormat(value *ExportFormat)() { + err := m.GetBackingStore().Set("exportFormat", value) + if err != nil { + panic(err) + } +} +// SetExportLocation sets the exportLocation property value. The exportLocation property +func (m *EdiscoverySearchExportOperation) SetExportLocation(value *ExportLocation)() { + err := m.GetBackingStore().Set("exportLocation", value) + if err != nil { + panic(err) + } +} +// SetExportSingleItems sets the exportSingleItems property value. The exportSingleItems property +func (m *EdiscoverySearchExportOperation) SetExportSingleItems(value *bool)() { + err := m.GetBackingStore().Set("exportSingleItems", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *EdiscoverySearchExportOperation) SetSearch(value EdiscoverySearchable)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +type EdiscoverySearchExportOperationable interface { + CaseOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdditionalOptions()(*AdditionalOptions) + GetDescription()(*string) + GetDisplayName()(*string) + GetExportCriteria()(*ExportCriteria) + GetExportFileMetadata()([]ExportFileMetadataable) + GetExportFormat()(*ExportFormat) + GetExportLocation()(*ExportLocation) + GetExportSingleItems()(*bool) + GetSearch()(EdiscoverySearchable) + SetAdditionalOptions(value *AdditionalOptions)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetExportCriteria(value *ExportCriteria)() + SetExportFileMetadata(value []ExportFileMetadataable)() + SetExportFormat(value *ExportFormat)() + SetExportLocation(value *ExportLocation)() + SetExportSingleItems(value *bool)() + SetSearch(value EdiscoverySearchable)() +} diff --git a/models/security/export_criteria.go b/models/security/export_criteria.go new file mode 100644 index 0000000000..7d24208f87 --- /dev/null +++ b/models/security/export_criteria.go @@ -0,0 +1,51 @@ +package security +import ( + "math" + "strings" +) +type ExportCriteria int + +const ( + SEARCHHITS_EXPORTCRITERIA = 1 + PARTIALLYINDEXED_EXPORTCRITERIA = 2 + UNKNOWNFUTUREVALUE_EXPORTCRITERIA = 4 +) + +func (i ExportCriteria) String() string { + var values []string + options := []string{"searchHits", "partiallyIndexed", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := ExportCriteria(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseExportCriteria(v string) (any, error) { + var result ExportCriteria + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "searchHits": + result |= SEARCHHITS_EXPORTCRITERIA + case "partiallyIndexed": + result |= PARTIALLYINDEXED_EXPORTCRITERIA + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_EXPORTCRITERIA + default: + return nil, nil + } + } + return &result, nil +} +func SerializeExportCriteria(values []ExportCriteria) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ExportCriteria) isMultiValue() bool { + return true +} diff --git a/models/security/export_format.go b/models/security/export_format.go new file mode 100644 index 0000000000..4f58070fc6 --- /dev/null +++ b/models/security/export_format.go @@ -0,0 +1,39 @@ +package security +type ExportFormat int + +const ( + PST_EXPORTFORMAT ExportFormat = iota + MSG_EXPORTFORMAT + EML_EXPORTFORMAT + UNKNOWNFUTUREVALUE_EXPORTFORMAT +) + +func (i ExportFormat) String() string { + return []string{"pst", "msg", "eml", "unknownFutureValue"}[i] +} +func ParseExportFormat(v string) (any, error) { + result := PST_EXPORTFORMAT + switch v { + case "pst": + result = PST_EXPORTFORMAT + case "msg": + result = MSG_EXPORTFORMAT + case "eml": + result = EML_EXPORTFORMAT + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_EXPORTFORMAT + default: + return nil, nil + } + return &result, nil +} +func SerializeExportFormat(values []ExportFormat) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ExportFormat) isMultiValue() bool { + return false +} diff --git a/models/security/export_location.go b/models/security/export_location.go new file mode 100644 index 0000000000..2a33bb87ec --- /dev/null +++ b/models/security/export_location.go @@ -0,0 +1,51 @@ +package security +import ( + "math" + "strings" +) +type ExportLocation int + +const ( + RESPONSIVELOCATIONS_EXPORTLOCATION = 1 + NONRESPONSIVELOCATIONS_EXPORTLOCATION = 2 + UNKNOWNFUTUREVALUE_EXPORTLOCATION = 4 +) + +func (i ExportLocation) String() string { + var values []string + options := []string{"responsiveLocations", "nonresponsiveLocations", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := ExportLocation(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseExportLocation(v string) (any, error) { + var result ExportLocation + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "responsiveLocations": + result |= RESPONSIVELOCATIONS_EXPORTLOCATION + case "nonresponsiveLocations": + result |= NONRESPONSIVELOCATIONS_EXPORTLOCATION + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_EXPORTLOCATION + default: + return nil, nil + } + } + return &result, nil +} +func SerializeExportLocation(values []ExportLocation) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ExportLocation) isMultiValue() bool { + return true +} diff --git a/models/security/health_issue.go b/models/security/health_issue.go index 17170cf0ba..0b117bd261 100644 --- a/models/security/health_issue.go +++ b/models/security/health_issue.go @@ -21,7 +21,7 @@ func NewHealthIssue()(*HealthIssue) { func CreateHealthIssueFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewHealthIssue(), nil } -// GetAdditionalInformation gets the additionalInformation property value. The additionalInformation property +// GetAdditionalInformation gets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix. // returns a []string when successful func (m *HealthIssue) GetAdditionalInformation()([]string) { val, err := m.GetBackingStore().Get("additionalInformation") @@ -33,7 +33,7 @@ func (m *HealthIssue) GetAdditionalInformation()([]string) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the health issue was generated. 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. // returns a *Time when successful func (m *HealthIssue) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -45,7 +45,7 @@ func (m *HealthIssue) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. Contains more detailed information about the health issue. // returns a *string when successful func (m *HealthIssue) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -57,7 +57,7 @@ func (m *HealthIssue) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the health issue. // returns a *string when successful func (m *HealthIssue) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -69,7 +69,7 @@ func (m *HealthIssue) GetDisplayName()(*string) { } return nil } -// GetDomainNames gets the domainNames property value. The domainNames property +// GetDomainNames gets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to. // returns a []string when successful func (m *HealthIssue) GetDomainNames()([]string) { val, err := m.GetBackingStore().Get("domainNames") @@ -247,7 +247,7 @@ func (m *HealthIssue) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetHealthIssueType gets the healthIssueType property value. The healthIssueType property +// GetHealthIssueType gets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. // returns a *HealthIssueType when successful func (m *HealthIssue) GetHealthIssueType()(*HealthIssueType) { val, err := m.GetBackingStore().Get("healthIssueType") @@ -259,7 +259,7 @@ func (m *HealthIssue) GetHealthIssueType()(*HealthIssueType) { } return nil } -// GetIssueTypeId gets the issueTypeId property value. The issueTypeId property +// GetIssueTypeId gets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. // returns a *string when successful func (m *HealthIssue) GetIssueTypeId()(*string) { val, err := m.GetBackingStore().Get("issueTypeId") @@ -271,7 +271,7 @@ func (m *HealthIssue) GetIssueTypeId()(*string) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when the health issue was last updated. 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. // returns a *Time when successful func (m *HealthIssue) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -283,7 +283,7 @@ func (m *HealthIssue) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } -// GetRecommendations gets the recommendations property value. The recommendations property +// GetRecommendations gets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. // returns a []string when successful func (m *HealthIssue) GetRecommendations()([]string) { val, err := m.GetBackingStore().Get("recommendations") @@ -295,7 +295,7 @@ func (m *HealthIssue) GetRecommendations()([]string) { } return nil } -// GetRecommendedActionCommands gets the recommendedActionCommands property value. The recommendedActionCommands property +// GetRecommendedActionCommands gets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. // returns a []string when successful func (m *HealthIssue) GetRecommendedActionCommands()([]string) { val, err := m.GetBackingStore().Get("recommendedActionCommands") @@ -307,7 +307,7 @@ func (m *HealthIssue) GetRecommendedActionCommands()([]string) { } return nil } -// GetSensorDNSNames gets the sensorDNSNames property value. The sensorDNSNames property +// GetSensorDNSNames gets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to. // returns a []string when successful func (m *HealthIssue) GetSensorDNSNames()([]string) { val, err := m.GetBackingStore().Get("sensorDNSNames") @@ -319,7 +319,7 @@ func (m *HealthIssue) GetSensorDNSNames()([]string) { } return nil } -// GetSeverity gets the severity property value. The severity property +// GetSeverity gets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue. // returns a *HealthIssueSeverity when successful func (m *HealthIssue) GetSeverity()(*HealthIssueSeverity) { val, err := m.GetBackingStore().Get("severity") @@ -331,7 +331,7 @@ func (m *HealthIssue) GetSeverity()(*HealthIssueSeverity) { } return nil } -// GetStatus gets the status property value. The status property +// GetStatus gets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue. // returns a *HealthIssueStatus when successful func (m *HealthIssue) GetStatus()(*HealthIssueStatus) { val, err := m.GetBackingStore().Get("status") @@ -432,91 +432,91 @@ func (m *HealthIssue) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetAdditionalInformation sets the additionalInformation property value. The additionalInformation property +// SetAdditionalInformation sets the additionalInformation property value. Contains additional information about the issue, such as a list of items to fix. func (m *HealthIssue) SetAdditionalInformation(value []string)() { err := m.GetBackingStore().Set("additionalInformation", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the health issue was generated. 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. func (m *HealthIssue) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. Contains more detailed information about the health issue. func (m *HealthIssue) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the health issue. func (m *HealthIssue) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetDomainNames sets the domainNames property value. The domainNames property +// SetDomainNames sets the domainNames property value. A list of the fully qualified domain names of the domains or the sensors the health issue is related to. func (m *HealthIssue) SetDomainNames(value []string)() { err := m.GetBackingStore().Set("domainNames", value) if err != nil { panic(err) } } -// SetHealthIssueType sets the healthIssueType property value. The healthIssueType property +// SetHealthIssueType sets the healthIssueType property value. The type of the health issue. The possible values are: sensor, global, unknownFutureValue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. func (m *HealthIssue) SetHealthIssueType(value *HealthIssueType)() { err := m.GetBackingStore().Set("healthIssueType", value) if err != nil { panic(err) } } -// SetIssueTypeId sets the issueTypeId property value. The issueTypeId property +// SetIssueTypeId sets the issueTypeId property value. The type identifier of the health issue. For a list of all health issues and their identifiers, see Microsoft Defender for Identity health issues. func (m *HealthIssue) SetIssueTypeId(value *string)() { err := m.GetBackingStore().Set("issueTypeId", value) if err != nil { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when the health issue was last updated. 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. func (m *HealthIssue) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { panic(err) } } -// SetRecommendations sets the recommendations property value. The recommendations property +// SetRecommendations sets the recommendations property value. A list of recommended actions that can be taken to resolve the issue effectively and efficiently. These actions might include instructions for further investigation and aren't limited to prewritten responses. func (m *HealthIssue) SetRecommendations(value []string)() { err := m.GetBackingStore().Set("recommendations", value) if err != nil { panic(err) } } -// SetRecommendedActionCommands sets the recommendedActionCommands property value. The recommendedActionCommands property +// SetRecommendedActionCommands sets the recommendedActionCommands property value. A list of commands from the PowerShell module for the product that can be used to resolve the issue, if available. If no commands can be used to solve the issue, this property is empty. The commands, if present, provide a quick and efficient way to address the issue. These commands run in sequence for the single recommended fix. func (m *HealthIssue) SetRecommendedActionCommands(value []string)() { err := m.GetBackingStore().Set("recommendedActionCommands", value) if err != nil { panic(err) } } -// SetSensorDNSNames sets the sensorDNSNames property value. The sensorDNSNames property +// SetSensorDNSNames sets the sensorDNSNames property value. A list of the DNS names of the sensors the health issue is related to. func (m *HealthIssue) SetSensorDNSNames(value []string)() { err := m.GetBackingStore().Set("sensorDNSNames", value) if err != nil { panic(err) } } -// SetSeverity sets the severity property value. The severity property +// SetSeverity sets the severity property value. The severity of the health issue. The possible values are: low, medium, high, unknownFutureValue. func (m *HealthIssue) SetSeverity(value *HealthIssueSeverity)() { err := m.GetBackingStore().Set("severity", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. The status property +// SetStatus sets the status property value. The status of the health issue. The possible values are: open, closed, suppressed, unknownFutureValue. func (m *HealthIssue) SetStatus(value *HealthIssueStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/security/identity_container.go b/models/security/identity_container.go index eecbe67094..3edbbcd674 100644 --- a/models/security/identity_container.go +++ b/models/security/identity_container.go @@ -42,7 +42,7 @@ func (m *IdentityContainer) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetHealthIssues gets the healthIssues property value. The healthIssues property +// GetHealthIssues gets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. // returns a []HealthIssueable when successful func (m *IdentityContainer) GetHealthIssues()([]HealthIssueable) { val, err := m.GetBackingStore().Get("healthIssues") @@ -74,7 +74,7 @@ func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } return nil } -// SetHealthIssues sets the healthIssues property value. The healthIssues property +// SetHealthIssues sets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. func (m *IdentityContainer) SetHealthIssues(value []HealthIssueable)() { err := m.GetBackingStore().Set("healthIssues", value) if err != nil { diff --git a/models/user.go b/models/user.go index 0d41120528..eabde5446a 100644 --- a/models/user.go +++ b/models/user.go @@ -5,6 +5,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// User represents a Microsoft Entra user account. type User struct { DirectoryObject } @@ -1250,6 +1251,16 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["isManagementRestricted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsManagementRestricted(val) + } + return nil + } res["isResourceAccount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -2256,6 +2267,18 @@ func (m *User) GetInterests()([]string) { } return nil } +// GetIsManagementRestricted gets the isManagementRestricted property value. The isManagementRestricted property +// returns a *bool when successful +func (m *User) GetIsManagementRestricted()(*bool) { + val, err := m.GetBackingStore().Get("isManagementRestricted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsResourceAccount gets the isResourceAccount property value. Don't use – reserved for future use. // returns a *bool when successful func (m *User) GetIsResourceAccount()(*bool) { @@ -2700,7 +2723,7 @@ func (m *User) GetPasswordPolicies()(*string) { } return nil } -// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). +// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the Directory.AccessAsUser.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User.ReadWrite.All (least privilege) or Directory.ReadWrite.All (higher privilege) application permission and at least the User Administrator Microsoft Entra role. // returns a PasswordProfileable when successful func (m *User) GetPasswordProfile()(PasswordProfileable) { val, err := m.GetBackingStore().Get("passwordProfile") @@ -3012,7 +3035,7 @@ func (m *User) GetSkills()([]string) { } return nil } -// GetSolutions gets the solutions property value. The solutions property +// GetSolutions gets the solutions property value. The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable // returns a UserSolutionRootable when successful func (m *User) GetSolutions()(UserSolutionRootable) { val, err := m.GetBackingStore().Get("solutions") @@ -3588,6 +3611,12 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteBoolValue("isManagementRestricted", m.GetIsManagementRestricted()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isResourceAccount", m.GetIsResourceAccount()) if err != nil { @@ -4544,6 +4573,13 @@ func (m *User) SetInterests(value []string)() { panic(err) } } +// SetIsManagementRestricted sets the isManagementRestricted property value. The isManagementRestricted property +func (m *User) SetIsManagementRestricted(value *bool)() { + err := m.GetBackingStore().Set("isManagementRestricted", value) + if err != nil { + panic(err) + } +} // SetIsResourceAccount sets the isResourceAccount property value. Don't use – reserved for future use. func (m *User) SetIsResourceAccount(value *bool)() { err := m.GetBackingStore().Set("isResourceAccount", value) @@ -4803,7 +4839,7 @@ func (m *User) SetPasswordPolicies(value *string)() { panic(err) } } -// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). +// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: In delegated access, the calling app must be assigned the Directory.AccessAsUser.All delegated permission on behalf of the signed-in user. In application-only access, the calling app must be assigned the User.ReadWrite.All (least privilege) or Directory.ReadWrite.All (higher privilege) application permission and at least the User Administrator Microsoft Entra role. func (m *User) SetPasswordProfile(value PasswordProfileable)() { err := m.GetBackingStore().Set("passwordProfile", value) if err != nil { @@ -4985,7 +5021,7 @@ func (m *User) SetSkills(value []string)() { panic(err) } } -// SetSolutions sets the solutions property value. The solutions property +// SetSolutions sets the solutions property value. The identifier that relates the user to the working time schedule triggers. Read-Only. Nullable func (m *User) SetSolutions(value UserSolutionRootable)() { err := m.GetBackingStore().Set("solutions", value) if err != nil { @@ -5119,6 +5155,7 @@ type Userable interface { GetInferenceClassification()(InferenceClassificationable) GetInsights()(ItemInsightsable) GetInterests()([]string) + GetIsManagementRestricted()(*bool) GetIsResourceAccount()(*bool) GetJobTitle()(*string) GetJoinedTeams()([]Teamable) @@ -5247,6 +5284,7 @@ type Userable interface { SetInferenceClassification(value InferenceClassificationable)() SetInsights(value ItemInsightsable)() SetInterests(value []string)() + SetIsManagementRestricted(value *bool)() SetIsResourceAccount(value *bool)() SetJobTitle(value *string)() SetJoinedTeams(value []Teamable)() diff --git a/models/user_solution_root.go b/models/user_solution_root.go index e61b9d2de6..af59100f7e 100644 --- a/models/user_solution_root.go +++ b/models/user_solution_root.go @@ -35,7 +35,7 @@ func (m *UserSolutionRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetWorkingTimeSchedule gets the workingTimeSchedule property value. The workingTimeSchedule property +// GetWorkingTimeSchedule gets the workingTimeSchedule property value. The working time schedule entity associated with the solution. // returns a WorkingTimeScheduleable when successful func (m *UserSolutionRoot) GetWorkingTimeSchedule()(WorkingTimeScheduleable) { val, err := m.GetBackingStore().Get("workingTimeSchedule") @@ -61,7 +61,7 @@ func (m *UserSolutionRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b } return nil } -// SetWorkingTimeSchedule sets the workingTimeSchedule property value. The workingTimeSchedule property +// SetWorkingTimeSchedule sets the workingTimeSchedule property value. The working time schedule entity associated with the solution. func (m *UserSolutionRoot) SetWorkingTimeSchedule(value WorkingTimeScheduleable)() { err := m.GetBackingStore().Set("workingTimeSchedule", value) if err != nil { diff --git a/models/workbook_worksheet_protection_options.go b/models/workbook_worksheet_protection_options.go index 84df562c76..5de76546f5 100644 --- a/models/workbook_worksheet_protection_options.go +++ b/models/workbook_worksheet_protection_options.go @@ -35,7 +35,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAdditionalData()(map[string]any) } return val.(map[string]any) } -// GetAllowAutoFilter gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. +// GetAllowAutoFilter gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { val, err := m.GetBackingStore().Get("allowAutoFilter") @@ -47,7 +47,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { } return nil } -// GetAllowDeleteColumns gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. +// GetAllowDeleteColumns gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteColumns") @@ -59,7 +59,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { } return nil } -// GetAllowDeleteRows gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. +// GetAllowDeleteRows gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteRows") @@ -71,7 +71,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { } return nil } -// GetAllowFormatCells gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. +// GetAllowFormatCells gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { val, err := m.GetBackingStore().Get("allowFormatCells") @@ -83,7 +83,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { } return nil } -// GetAllowFormatColumns gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. +// GetAllowFormatColumns gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { val, err := m.GetBackingStore().Get("allowFormatColumns") @@ -95,7 +95,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { } return nil } -// GetAllowFormatRows gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. +// GetAllowFormatRows gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { val, err := m.GetBackingStore().Get("allowFormatRows") @@ -107,7 +107,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { } return nil } -// GetAllowInsertColumns gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. +// GetAllowInsertColumns gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { val, err := m.GetBackingStore().Get("allowInsertColumns") @@ -119,7 +119,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { } return nil } -// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. +// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { val, err := m.GetBackingStore().Get("allowInsertHyperlinks") @@ -131,7 +131,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { } return nil } -// GetAllowInsertRows gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. +// GetAllowInsertRows gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { val, err := m.GetBackingStore().Get("allowInsertRows") @@ -143,7 +143,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { } return nil } -// GetAllowPivotTables gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. +// GetAllowPivotTables gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { val, err := m.GetBackingStore().Get("allowPivotTables") @@ -155,7 +155,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { } return nil } -// GetAllowSort gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. +// GetAllowSort gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowSort()(*bool) { val, err := m.GetBackingStore().Get("allowSort") @@ -399,77 +399,77 @@ func (m *WorkbookWorksheetProtectionOptions) SetAdditionalData(value map[string] panic(err) } } -// SetAllowAutoFilter sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. +// SetAllowAutoFilter sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. func (m *WorkbookWorksheetProtectionOptions) SetAllowAutoFilter(value *bool)() { err := m.GetBackingStore().Set("allowAutoFilter", value) if err != nil { panic(err) } } -// SetAllowDeleteColumns sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. +// SetAllowDeleteColumns sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteColumns(value *bool)() { err := m.GetBackingStore().Set("allowDeleteColumns", value) if err != nil { panic(err) } } -// SetAllowDeleteRows sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. +// SetAllowDeleteRows sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteRows(value *bool)() { err := m.GetBackingStore().Set("allowDeleteRows", value) if err != nil { panic(err) } } -// SetAllowFormatCells sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. +// SetAllowFormatCells sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatCells(value *bool)() { err := m.GetBackingStore().Set("allowFormatCells", value) if err != nil { panic(err) } } -// SetAllowFormatColumns sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. +// SetAllowFormatColumns sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatColumns(value *bool)() { err := m.GetBackingStore().Set("allowFormatColumns", value) if err != nil { panic(err) } } -// SetAllowFormatRows sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. +// SetAllowFormatRows sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatRows(value *bool)() { err := m.GetBackingStore().Set("allowFormatRows", value) if err != nil { panic(err) } } -// SetAllowInsertColumns sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. +// SetAllowInsertColumns sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertColumns(value *bool)() { err := m.GetBackingStore().Set("allowInsertColumns", value) if err != nil { panic(err) } } -// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. +// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertHyperlinks(value *bool)() { err := m.GetBackingStore().Set("allowInsertHyperlinks", value) if err != nil { panic(err) } } -// SetAllowInsertRows sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. +// SetAllowInsertRows sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertRows(value *bool)() { err := m.GetBackingStore().Set("allowInsertRows", value) if err != nil { panic(err) } } -// SetAllowPivotTables sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. +// SetAllowPivotTables sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. func (m *WorkbookWorksheetProtectionOptions) SetAllowPivotTables(value *bool)() { err := m.GetBackingStore().Set("allowPivotTables", value) if err != nil { panic(err) } } -// SetAllowSort sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. +// SetAllowSort sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. func (m *WorkbookWorksheetProtectionOptions) SetAllowSort(value *bool)() { err := m.GetBackingStore().Set("allowSort", value) if err != nil { diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index 1d12df19d1..387fd0524f 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -60,12 +60,12 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// Get retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // 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/organizationalbrandinglocalization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ToGetRequestInformation retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index 59ddc8e9c2..9cbeba321f 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 342f99d404..df8c286116 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -18,7 +18,7 @@ type OrganizationItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OrganizationItemRequestBuilderGetQueryParameters read properties and relationships of the organization object. +// OrganizationItemRequestBuilderGetQueryParameters get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. type OrganizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,12 @@ func (m *OrganizationItemRequestBuilder) Delete(ctx context.Context, requestConf func (m *OrganizationItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { return NewItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the organization object. +// Get get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. // returns a Organizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 func (m *OrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -172,7 +172,7 @@ func (m *OrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the organization object. +// ToGetRequestInformation get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. // returns a *RequestInformation when successful func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index 6cc8586b16..03c38d0a92 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go b/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go new file mode 100644 index 0000000000..c9303a66de --- /dev/null +++ b/security/b0fee81224494425ca475ab773280f54b1958842efdfc22e5b020d3af8d1f771.go @@ -0,0 +1,340 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) { + m := &CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAdditionalOptions gets the additionalOptions property value. The additionalOptions property +// returns a *AdditionalOptions when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetAdditionalOptions()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) { + val, err := m.GetBackingStore().Get("additionalOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExportCriteria gets the exportCriteria property value. The exportCriteria property +// returns a *ExportCriteria when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetExportCriteria()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) { + val, err := m.GetBackingStore().Get("exportCriteria") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) + } + return nil +} +// GetExportFormat gets the exportFormat property value. The exportFormat property +// returns a *ExportFormat when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetExportFormat()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat) { + val, err := m.GetBackingStore().Get("exportFormat") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat) + } + return nil +} +// GetExportLocation gets the exportLocation property value. The exportLocation property +// returns a *ExportLocation when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetExportLocation()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) { + val, err := m.GetBackingStore().Get("exportLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) + } + return nil +} +// GetExportSingleItems gets the exportSingleItems property value. The exportSingleItems property +// returns a *bool when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetExportSingleItems()(*bool) { + val, err := m.GetBackingStore().Get("exportSingleItems") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["additionalOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseAdditionalOptions) + if err != nil { + return err + } + if val != nil { + m.SetAdditionalOptions(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["exportCriteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseExportCriteria) + if err != nil { + return err + } + if val != nil { + m.SetExportCriteria(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)) + } + return nil + } + res["exportFormat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseExportFormat) + if err != nil { + return err + } + if val != nil { + m.SetExportFormat(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat)) + } + return nil + } + res["exportLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseExportLocation) + if err != nil { + return err + } + if val != nil { + m.SetExportLocation(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)) + } + return nil + } + res["exportSingleItems"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetExportSingleItems(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAdditionalOptions() != nil { + cast := (*m.GetAdditionalOptions()).String() + err := writer.WriteStringValue("additionalOptions", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetExportCriteria() != nil { + cast := (*m.GetExportCriteria()).String() + err := writer.WriteStringValue("exportCriteria", &cast) + if err != nil { + return err + } + } + if m.GetExportFormat() != nil { + cast := (*m.GetExportFormat()).String() + err := writer.WriteStringValue("exportFormat", &cast) + if err != nil { + return err + } + } + if m.GetExportLocation() != nil { + cast := (*m.GetExportLocation()).String() + err := writer.WriteStringValue("exportLocation", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("exportSingleItems", m.GetExportSingleItems()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAdditionalOptions sets the additionalOptions property value. The additionalOptions property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetAdditionalOptions(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)() { + err := m.GetBackingStore().Set("additionalOptions", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDescription sets the description property value. The description property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetExportCriteria sets the exportCriteria property value. The exportCriteria property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetExportCriteria(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)() { + err := m.GetBackingStore().Set("exportCriteria", value) + if err != nil { + panic(err) + } +} +// SetExportFormat sets the exportFormat property value. The exportFormat property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetExportFormat(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat)() { + err := m.GetBackingStore().Set("exportFormat", value) + if err != nil { + panic(err) + } +} +// SetExportLocation sets the exportLocation property value. The exportLocation property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetExportLocation(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)() { + err := m.GetBackingStore().Set("exportLocation", value) + if err != nil { + panic(err) + } +} +// SetExportSingleItems sets the exportSingleItems property value. The exportSingleItems property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBody) SetExportSingleItems(value *bool)() { + err := m.GetBackingStore().Set("exportSingleItems", value) + if err != nil { + panic(err) + } +} +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdditionalOptions()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDescription()(*string) + GetDisplayName()(*string) + GetExportCriteria()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) + GetExportFormat()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat) + GetExportLocation()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) + GetExportSingleItems()(*bool) + SetAdditionalOptions(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetExportCriteria(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)() + SetExportFormat(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportFormat)() + SetExportLocation(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)() + SetExportSingleItems(value *bool)() +} diff --git a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go index 0a54853299..9e5b5907df 100644 --- a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go @@ -121,6 +121,16 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Las func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) MicrosoftGraphSecurityEstimateStatistics()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphSecurityExportReport provides operations to call the exportReport method. +// returns a *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) MicrosoftGraphSecurityExportReport()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphSecurityExportResult provides operations to call the exportResult method. +// returns a *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) MicrosoftGraphSecurityExportResult()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // MicrosoftGraphSecurityPurgeData provides operations to call the purgeData method. // returns a *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder when successful func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) MicrosoftGraphSecurityPurgeData()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder) { diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go new file mode 100644 index 0000000000..9b1296ef7b --- /dev/null +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go @@ -0,0 +1,68 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder provides operations to call the exportReport method. +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderInternal instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) { + m := &CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/searches/{ediscoverySearch%2Did}/microsoft.graph.security.exportReport", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action exportReport +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action exportReport +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go new file mode 100644 index 0000000000..2aac5cd266 --- /dev/null +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go @@ -0,0 +1,68 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder provides operations to call the exportResult method. +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderInternal instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) { + m := &CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/searches/{ediscoverySearch%2Did}/microsoft.graph.security.exportResult", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action exportResult +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action exportResult +// returns a *RequestInformation when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultExportResultPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ff2b26c2a740022ecfe27e2943087a3893db84a827a43890b7c3bea3d8f4d3e1.go b/security/ff2b26c2a740022ecfe27e2943087a3893db84a827a43890b7c3bea3d8f4d3e1.go new file mode 100644 index 0000000000..6fbdf5886c --- /dev/null +++ b/security/ff2b26c2a740022ecfe27e2943087a3893db84a827a43890b7c3bea3d8f4d3e1.go @@ -0,0 +1,265 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody instantiates a new CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody and sets the default values. +func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody()(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) { + m := &CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAdditionalOptions gets the additionalOptions property value. The additionalOptions property +// returns a *AdditionalOptions when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetAdditionalOptions()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) { + val, err := m.GetBackingStore().Get("additionalOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExportCriteria gets the exportCriteria property value. The exportCriteria property +// returns a *ExportCriteria when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetExportCriteria()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) { + val, err := m.GetBackingStore().Get("exportCriteria") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) + } + return nil +} +// GetExportLocation gets the exportLocation property value. The exportLocation property +// returns a *ExportLocation when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetExportLocation()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) { + val, err := m.GetBackingStore().Get("exportLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["additionalOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseAdditionalOptions) + if err != nil { + return err + } + if val != nil { + m.SetAdditionalOptions(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["exportCriteria"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseExportCriteria) + if err != nil { + return err + } + if val != nil { + m.SetExportCriteria(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)) + } + return nil + } + res["exportLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseExportLocation) + if err != nil { + return err + } + if val != nil { + m.SetExportLocation(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAdditionalOptions() != nil { + cast := (*m.GetAdditionalOptions()).String() + err := writer.WriteStringValue("additionalOptions", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetExportCriteria() != nil { + cast := (*m.GetExportCriteria()).String() + err := writer.WriteStringValue("exportCriteria", &cast) + if err != nil { + return err + } + } + if m.GetExportLocation() != nil { + cast := (*m.GetExportLocation()).String() + err := writer.WriteStringValue("exportLocation", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAdditionalOptions sets the additionalOptions property value. The additionalOptions property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetAdditionalOptions(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)() { + err := m.GetBackingStore().Set("additionalOptions", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDescription sets the description property value. The description property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetExportCriteria sets the exportCriteria property value. The exportCriteria property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetExportCriteria(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)() { + err := m.GetBackingStore().Set("exportCriteria", value) + if err != nil { + panic(err) + } +} +// SetExportLocation sets the exportLocation property value. The exportLocation property +func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBody) SetExportLocation(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)() { + err := m.GetBackingStore().Set("exportLocation", value) + if err != nil { + panic(err) + } +} +type CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportExportReportPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdditionalOptions()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDescription()(*string) + GetDisplayName()(*string) + GetExportCriteria()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria) + GetExportLocation()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation) + SetAdditionalOptions(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.AdditionalOptions)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetExportCriteria(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportCriteria)() + SetExportLocation(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ExportLocation)() +} diff --git a/security/identities_health_issues_health_issue_item_request_builder.go b/security/identities_health_issues_health_issue_item_request_builder.go index 079ec3d07a..7219c1c091 100644 --- a/security/identities_health_issues_health_issue_item_request_builder.go +++ b/security/identities_health_issues_health_issue_item_request_builder.go @@ -18,7 +18,7 @@ type IdentitiesHealthIssuesHealthIssueItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters get healthIssues from security +// IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters read the properties and relationships of a healthIssue object. type IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Delete(ctx context } return nil } -// Get get healthIssues from security +// Get read the properties and relationships of a healthIssue object. // returns a HealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-healthissue-get?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,9 +93,12 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Get(ctx context.Co } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable), nil } -// Patch update the navigation property healthIssues in security +// Patch update the properties of a healthIssue object. // returns a HealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-healthissue-update?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +127,7 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get healthIssues from security +// ToGetRequestInformation read the properties and relationships of a healthIssue object. // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +141,7 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property healthIssues in security +// ToPatchRequestInformation update the properties of a healthIssue object. // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_health_issues_request_builder.go b/security/identities_health_issues_request_builder.go index 9a18c61db1..13e43917f8 100644 --- a/security/identities_health_issues_request_builder.go +++ b/security/identities_health_issues_request_builder.go @@ -11,7 +11,7 @@ import ( type IdentitiesHealthIssuesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IdentitiesHealthIssuesRequestBuilderGetQueryParameters get healthIssues from security +// IdentitiesHealthIssuesRequestBuilderGetQueryParameters get a list of healthIssue objects and their properties. type IdentitiesHealthIssuesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewIdentitiesHealthIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *IdentitiesHealthIssuesRequestBuilder) Count()(*IdentitiesHealthIssuesCountRequestBuilder) { return NewIdentitiesHealthIssuesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get healthIssues from security +// Get get a list of healthIssue objects and their properties. // returns a HealthIssueCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identitycontainer-list-healthissues?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +119,7 @@ func (m *IdentitiesHealthIssuesRequestBuilder) Post(ctx context.Context, body id } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable), nil } -// ToGetRequestInformation get healthIssues from security +// ToGetRequestInformation get a list of healthIssue objects and their properties. // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_request_builder.go b/security/identities_request_builder.go index 958ccb616c..060b9418ac 100644 --- a/security/identities_request_builder.go +++ b/security/identities_request_builder.go @@ -18,7 +18,7 @@ type IdentitiesRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesRequestBuilderGetQueryParameters get identities from security +// IdentitiesRequestBuilderGetQueryParameters a container for security identities APIs. type IdentitiesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *IdentitiesRequestBuilder) Delete(ctx context.Context, requestConfigurat } return nil } -// Get get identities from security +// Get a container for security identities APIs. // returns a IdentityContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IdentitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable, error) { @@ -126,7 +126,7 @@ func (m *IdentitiesRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get identities from security +// ToGetRequestInformation a container for security identities APIs. // returns a *RequestInformation when successful func (m *IdentitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesRequestBuilderGetRequestConfiguration)(*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 792cbe6390..167af87578 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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 788f10c0fa..ea2f72cc41 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters get a list of rich long-running operations associated with a list. +// ItemListsListItemRequestBuilderGetQueryParameters returns the metadata for a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of rich long-running operations associated with a list. +// Get returns 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +164,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a list of rich long-running operations associated with a list. +// ToGetRequestInformation returns the metadata for a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index fc6bc5ae51..dbda4c953a 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -11,7 +11,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// SitesRequestBuilderGetQueryParameters list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// Get list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetAllSitesRequestBuilder) { func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// ToGetRequestInformation list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_enable_request_builder.go b/solutions/backup_restore_enable_request_builder.go index c41b040b7a..e07d4a1b3c 100644 --- a/solutions/backup_restore_enable_request_builder.go +++ b/solutions/backup_restore_enable_request_builder.go @@ -31,7 +31,7 @@ func NewBackupRestoreEnableRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewBackupRestoreEnableRequestBuilderInternal(urlParams, requestAdapter) } -// Post enable the Microsoft 365 Backup Storage service for a tenant. Before you call this API, call List protection policies to initialize the data store in the tenant. Data store initialization takes about 5 minutes. If you call this API before the data store is initialized, the call results in an error. +// Post enable the Microsoft 365 Backup Storage service for a tenant. // returns a ServiceStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *BackupRestoreEnableRequestBuilder) Post(ctx context.Context, body Backu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceStatusable), nil } -// ToPostRequestInformation enable the Microsoft 365 Backup Storage service for a tenant. Before you call this API, call List protection policies to initialize the data store in the tenant. Data store initialization takes about 5 minutes. If you call this API before the data store is initialized, the call results in an error. +// ToPostRequestInformation enable the Microsoft 365 Backup Storage service for a tenant. // returns a *RequestInformation when successful func (m *BackupRestoreEnableRequestBuilder) ToPostRequestInformation(ctx context.Context, body BackupRestoreEnablePostRequestBodyable, requestConfiguration *BackupRestoreEnableRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_request_builder.go b/storage/file_storage_containers_request_builder.go index 3f6bcfdedb..43f85f31fb 100644 --- a/storage/file_storage_containers_request_builder.go +++ b/storage/file_storage_containers_request_builder.go @@ -99,7 +99,7 @@ func (m *FileStorageContainersRequestBuilder) Get(ctx context.Context, requestCo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerCollectionResponseable), nil } -// Post create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. +// Post create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *FileStorageContainersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new fileStorageContainer object. The respective container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. +// ToPostRequestInformation create a new fileStorageContainer object. The container type identified by containerTypeId must be enabled in the tenant. For delegated calls, the calling user is set as the owner of the fileStorageContainer. // returns a *RequestInformation when successful func (m *FileStorageContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable, requestConfiguration *FileStorageContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_get_all_retained_messages_request_builder.go b/teams/item_channels_get_all_retained_messages_request_builder.go index 11b7e771dc..30e58b0b4d 100644 --- a/teams/item_channels_get_all_retained_messages_request_builder.go +++ b/teams/item_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChannelsGetAllRetainedMessagesRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Conte } return res.(ItemChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMe } return res.(ItemChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 3fdaeafcd1..3a1ee4dc79 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Patch update the role of a conversationMember in a team or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPatchRequestInformation update the role of a conversationMember in a team or channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index fdbd16af44..2a50482216 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, request } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post add a conversationMember to a channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 func (m *ItemChannelsItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation add a conversationMember to a channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index c30e9e2053..30a8a46ab2 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// 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/channel-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go b/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go index 369fc9d80e..592618c1cf 100644 --- a/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx c } return res.(DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetA } return res.(DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_assign_license_request_builder.go b/users/item_assign_license_request_builder.go index a50a0fd753..76bc1565ca 100644 --- a/users/item_assign_license_request_builder.go +++ b/users/item_assign_license_request_builder.go @@ -31,7 +31,7 @@ func NewItemAssignLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemAssignLicenseRequestBuilderInternal(urlParams, requestAdapter) } -// Post add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. +// Post add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ItemAssignLicenseRequestBuilder) Post(ctx context.Context, body ItemAss } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToPostRequestInformation add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. +// ToPostRequestInformation add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings that the company has licenses to. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. Direct user licensing method is an alternative to group-based licensing. // returns a *RequestInformation when successful func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAssignLicensePostRequestBodyable, requestConfiguration *ItemAssignLicenseRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_get_all_retained_messages_request_builder.go b/users/item_chats_get_all_retained_messages_request_builder.go index a511a5d751..455d42fb9a 100644 --- a/users/item_chats_get_all_retained_messages_request_builder.go +++ b/users/item_chats_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChatsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChatsGetAllRetainedMessagesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemChatsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemChatsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-1.0 func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, } return res.(ItemChatsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemChatsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-1.0 func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessa } return res.(ItemChatsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_joined_teams_item_channels_get_all_retained_messages_request_builder.go b/users/item_joined_teams_item_channels_get_all_retained_messages_request_builder.go index 6f25a51040..682681a018 100644 --- a/users/item_joined_teams_item_channels_get_all_retained_messages_request_builder.go +++ b/users/item_joined_teams_item_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemJoinedTeamsItemChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemJoinedTeamsItemChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ct } return res.(ItemJoinedTeamsItemChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemJoinedTeamsItemChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-getallretainedmessages?view=graph-rest-1.0 func (m *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemJoinedTeamsItemChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsG } return res.(ItemJoinedTeamsItemChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index 89f0f8a1c3..20266f8466 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -31,7 +31,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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] @@ -54,7 +54,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. 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. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. 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/users/item_solutions_request_builder.go b/users/item_solutions_request_builder.go index a228807e96..997e0e1bf2 100644 --- a/users/item_solutions_request_builder.go +++ b/users/item_solutions_request_builder.go @@ -18,7 +18,7 @@ type ItemSolutionsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSolutionsRequestBuilderGetQueryParameters get solutions from users +// ItemSolutionsRequestBuilderGetQueryParameters the identifier that relates the user to the working time schedule triggers. Read-Only. Nullable type ItemSolutionsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemSolutionsRequestBuilder) Delete(ctx context.Context, requestConfigu } return nil } -// Get get solutions from users +// Get the identifier that relates the user to the working time schedule triggers. Read-Only. Nullable // returns a UserSolutionRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSolutionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSolutionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserSolutionRootable, error) { @@ -121,7 +121,7 @@ func (m *ItemSolutionsRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get solutions from users +// ToGetRequestInformation the identifier that relates the user to the working time schedule triggers. Read-Only. Nullable // returns a *RequestInformation when successful func (m *ItemSolutionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSolutionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_solutions_working_time_schedule_end_working_time_request_builder.go b/users/item_solutions_working_time_schedule_end_working_time_request_builder.go index 481687d36c..303029ff21 100644 --- a/users/item_solutions_working_time_schedule_end_working_time_request_builder.go +++ b/users/item_solutions_working_time_schedule_end_working_time_request_builder.go @@ -30,8 +30,11 @@ func NewItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilderInternal(urlParams, requestAdapter) } -// Post triggers the policies associated with the end of working hours for user. +// Post trigger the policies associated with the end of working hours for a specific user. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/workingtimeschedule-endworkingtime?view=graph-rest-1.0 func (m *ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilder) Post(ctx } return nil } -// ToPostRequestInformation triggers the policies associated with the end of working hours for user. +// ToPostRequestInformation trigger the policies associated with the end of working hours for a specific user. // returns a *RequestInformation when successful func (m *ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_solutions_working_time_schedule_request_builder.go b/users/item_solutions_working_time_schedule_request_builder.go index dfe10f78ba..7da692da6f 100644 --- a/users/item_solutions_working_time_schedule_request_builder.go +++ b/users/item_solutions_working_time_schedule_request_builder.go @@ -18,7 +18,7 @@ type ItemSolutionsWorkingTimeScheduleRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSolutionsWorkingTimeScheduleRequestBuilderGetQueryParameters get workingTimeSchedule from users +// ItemSolutionsWorkingTimeScheduleRequestBuilderGetQueryParameters the working time schedule entity associated with the solution. type ItemSolutionsWorkingTimeScheduleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemSolutionsWorkingTimeScheduleRequestBuilder) Delete(ctx context.Cont func (m *ItemSolutionsWorkingTimeScheduleRequestBuilder) EndWorkingTime()(*ItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilder) { return NewItemSolutionsWorkingTimeScheduleEndWorkingTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get workingTimeSchedule from users +// Get the working time schedule entity associated with the solution. // returns a WorkingTimeScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSolutionsWorkingTimeScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkingTimeScheduleable, error) { @@ -131,7 +131,7 @@ func (m *ItemSolutionsWorkingTimeScheduleRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get workingTimeSchedule from users +// ToGetRequestInformation the working time schedule entity associated with the solution. // returns a *RequestInformation when successful func (m *ItemSolutionsWorkingTimeScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_solutions_working_time_schedule_start_working_time_request_builder.go b/users/item_solutions_working_time_schedule_start_working_time_request_builder.go index 5c68515d35..d67ae10232 100644 --- a/users/item_solutions_working_time_schedule_start_working_time_request_builder.go +++ b/users/item_solutions_working_time_schedule_start_working_time_request_builder.go @@ -30,8 +30,11 @@ func NewItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilderInternal(urlParams, requestAdapter) } -// Post triggers the policies associated with the start of working hours for user. +// Post trigger the policies associated with the start of working hours for a specific user. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/workingtimeschedule-startworkingtime?view=graph-rest-1.0 func (m *ItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilder) Post(ct } return nil } -// ToPostRequestInformation triggers the policies associated with the start of working hours for user. +// ToPostRequestInformation trigger the policies associated with the start of working hours for a specific user. // returns a *RequestInformation when successful func (m *ItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemSolutionsWorkingTimeScheduleStartWorkingTimeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 3b1594e917..86f6967155 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -18,7 +18,7 @@ type UserItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserItemRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UserItemRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -139,11 +139,11 @@ func (m *UserItemRequestBuilder) Contacts()(*ItemContactsRequestBuilder) { func (m *UserItemRequestBuilder) CreatedObjects()(*ItemCreatedObjectsRequestBuilder) { return NewItemCreatedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// Delete deletes a user. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -218,12 +218,12 @@ func (m *UserItemRequestBuilder) FindMeetingTimes()(*ItemFindMeetingTimesRequest func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilder) { return NewItemFollowedSitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -361,7 +361,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -479,7 +479,7 @@ func (m *UserItemRequestBuilder) Sponsors()(*ItemSponsorsRequestBuilder) { func (m *UserItemRequestBuilder) Teamwork()(*ItemTeamworkRequestBuilder) { return NewItemTeamworkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// ToDeleteRequestInformation deletes a user. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -495,7 +495,7 @@ func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, func (m *UserItemRequestBuilder) Todo()(*ItemTodoRequestBuilder) { return NewItemTodoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 25d51dcb6b..a4aedd3689 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters list properties and relationships of the user objects. +// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *UsersRequestBuilder) Count()(*CountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the user objects. +// Get retrieve a list of user objects. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *UsersRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e64 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToGetRequestInformation list properties and relationships of the user objects. +// ToGetRequestInformation retrieve a list of user objects. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)