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 8e9f0d47e8..83d424a2a4 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 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. +// Post send a new chatMessage in the specified channel or a chat. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?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 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. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body 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/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index 106bf36130..0d1094dedf 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -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-unlock-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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 d052b75590..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-managedappprotection-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_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index 6c86b16a50..3ef9d180eb 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the managedAppProtection objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtection objects. type ManagedAppPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppPoliciesRequestBuilder) Count()(*ManagedAppPoliciesCountRequestBuilder) { return NewManagedAppPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppProtection objects. +// Get list properties and relationships of the windowsInformationProtection objects. // returns a ManagedAppPolicyCollectionResponseable when successful // returns a ODataError error 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-managedappprotection-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 func (m *ManagedAppPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ManagedAppPoliciesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppProtection objects. +// ToGetRequestInformation list properties and relationships of the windowsInformationProtection objects. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(*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 936e9913e5..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-managedappprotection-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 2013f7ca57..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-managedappprotection-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 c57ced9cbc..1ea07360da 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 androidManagedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the iosManagedAppRegistration 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 androidManagedAppRegistration object. +// Get read properties and relationships of the iosManagedAppRegistration 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-androidmanagedappregistration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-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 androidManagedAppRegistration object. +// ToGetRequestInformation read properties and relationships of the iosManagedAppRegistration 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_registrations_request_builder.go b/deviceappmanagement/managed_app_registrations_request_builder.go index 0c0254e93d..8ad44f05a5 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the managedAppRegistration objects. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) { return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosManagedAppRegistration objects. +// Get list properties and relationships of the managedAppRegistration objects. // returns a ManagedAppRegistrationCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil } -// ToGetRequestInformation list properties and relationships of the iosManagedAppRegistration objects. +// ToGetRequestInformation list properties and relationships of the managedAppRegistration objects. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_statuses_request_builder.go b/deviceappmanagement/managed_app_statuses_request_builder.go index 1d0ac0f5ab..ba029949f1 100644 --- a/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatus objects. +// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatusRaw objects. type ManagedAppStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppStatusesRequestBuilder) Count()(*ManagedAppStatusesCountRequestBuilder) { return NewManagedAppStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppStatus objects. +// Get list properties and relationships of the managedAppStatusRaw objects. // returns a ManagedAppStatusCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 func (m *ManagedAppStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ManagedAppStatusesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppStatus objects. +// ToGetRequestInformation list properties and relationships of the managedAppStatusRaw objects. // returns a *RequestInformation when successful func (m *ManagedAppStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(*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 8304524f3e..60eda4c116 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 iosVppEBookAssignment object. +// Patch update the properties of a managedEBookAssignment 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-iosvppebookassignment-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 iosVppEBookAssignment object. +// ToPatchRequestInformation update the properties of a managedEBookAssignment 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 1705dbae5e..8e5b2bc035 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_managed_device_mobile_app_configuration_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index fd7fe89944..7c88ee9e72 100644 --- a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosMobileAppConfiguration object. +// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfiguration object. type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,12 +93,12 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) DeviceStatusSummary()(*MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) { return NewMobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosMobileAppConfiguration object. +// Get read properties and relationships of the managedDeviceMobileAppConfiguration object. // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -150,7 +150,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosMobileAppConfiguration object. +// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfiguration object. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(*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 ea20d950b7..dee45d4f8f 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 managedAndroidLobApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the macOSOfficeSuiteApp 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 windowsUniversalAppX. +// Delete deletes a windowsMobileMSI. // returns a ODataError error 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-windowsuniversalappx-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-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 managedAndroidLobApp object. +// Get read properties and relationships of the macOSOfficeSuiteApp 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-managedandroidlobapp-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-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 windowsMicrosoftEdgeApp object. +// Patch update the properties of a windowsWebApp 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-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-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 windowsUniversalAppX. +// ToDeleteRequestInformation deletes a windowsMobileMSI. // 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 managedAndroidLobApp object. +// ToGetRequestInformation read properties and relationships of the macOSOfficeSuiteApp 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 windowsMicrosoftEdgeApp object. +// ToPatchRequestInformation update the properties of a windowsWebApp 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 43de0512ae..2f6a29ba93 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 iosiPadOSWebClip objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the androidStoreApp 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 iosiPadOSWebClip objects. +// Get list properties and relationships of the androidStoreApp 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-iosipadoswebclip-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-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 iosStoreApp 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-iosstoreapp-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 iosiPadOSWebClip objects. +// ToGetRequestInformation list properties and relationships of the androidStoreApp 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 iosStoreApp 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 bbd7cd4f2e..97d8fcdb61 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 windowsPhone81CompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windows10CompliancePolicy 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 windowsPhone81CompliancePolicy. +// Delete deletes a androidCompliancePolicy. // returns a ODataError error 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-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 windowsPhone81CompliancePolicy object. +// Get read properties and relationships of the 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-windowsphone81compliancepolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-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 iosCompliancePolicy object. +// Patch update the properties of a windowsPhone81CompliancePolicy 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-ioscompliancepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-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 windowsPhone81CompliancePolicy. +// ToDeleteRequestInformation deletes a androidCompliancePolicy. // 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 windowsPhone81CompliancePolicy object. +// ToGetRequestInformation read properties and relationships of the windows10CompliancePolicy 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 iosCompliancePolicy object. +// ToPatchRequestInformation update the properties of a windowsPhone81CompliancePolicy 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 b5215f8eae..ef565b516b 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 macOSCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the windows81CompliancePolicy 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 macOSCompliancePolicy objects. +// Get list properties and relationships of the windows81CompliancePolicy 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-macoscompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-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 androidWorkProfileCompliancePolicy object. +// Post create a new windows81CompliancePolicy 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-androidworkprofilecompliancepolicy-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-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 macOSCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the windows81CompliancePolicy 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 androidWorkProfileCompliancePolicy object. +// ToPostRequestInformation create a new windows81CompliancePolicy 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 f56c0dd5bc..b20d3b8cc2 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 sharedPCConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosCertificateProfile 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 iosUpdateConfiguration. +// 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-iosupdateconfiguration-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 sharedPCConfiguration object. +// Get read properties and relationships of the iosCertificateProfile 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-sharedpcconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-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 windows10SecureAssessmentConfiguration 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-windows10secureassessmentconfiguration-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 iosUpdateConfiguration. +// 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 sharedPCConfiguration object. +// ToGetRequestInformation read properties and relationships of the iosCertificateProfile 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 windows10SecureAssessmentConfiguration 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 d0287177e3..fa37381075 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 windows10GeneralConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the androidGeneralDeviceConfiguration 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 windows10GeneralConfiguration objects. +// Get list properties and relationships of the androidGeneralDeviceConfiguration 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-windows10generalconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidgeneraldeviceconfiguration-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 iosCustomConfiguration object. +// Post create a new windows10EnterpriseModernAppManagementConfiguration 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-ioscustomconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-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 windows10GeneralConfiguration objects. +// ToGetRequestInformation list properties and relationships of the androidGeneralDeviceConfiguration 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 iosCustomConfiguration object. +// ToPostRequestInformation create a new windows10EnterpriseModernAppManagementConfiguration 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 0e2701db5e..2f1ae92955 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 @@ -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 { @@ -106,12 +106,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Patch update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-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) @@ -159,7 +159,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToPatchRequestInformation update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration 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 3e43eb19e4..c16d0ef78b 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 deviceEnrollmentConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-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 deviceEnrollmentConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 ba7c75bbdd..c29bc37f5d 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-reporting-devicemanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-companyterms-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-auditing-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-remoteassistance-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 ec677498e8..fb4b0a56ff 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 deviceAndAppManagementRoleDefinition objects. +// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the roleDefinition 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 deviceAndAppManagementRoleDefinition objects. +// Get list properties and relationships of the roleDefinition 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-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-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 { @@ -99,12 +99,12 @@ func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable), nil } -// Post create a new deviceAndAppManagementRoleDefinition object. +// Post create a new 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-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 deviceAndAppManagementRoleDefinition objects. +// ToGetRequestInformation list properties and relationships of the roleDefinition 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) @@ -136,7 +136,7 @@ func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceAndAppManagementRoleDefinition object. +// ToPostRequestInformation create a new roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 399b601647..7bf6297f5c 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 { @@ -96,12 +96,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// Patch update the properties of a deviceAndAppManagementRoleDefinition object. +// Patch update the properties of a 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-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, 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) @@ -149,7 +149,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceAndAppManagementRoleDefinition object. +// ToPatchRequestInformation update the properties of a roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index b1eb8a65bb..808418034c 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index cfd54936ce..5f903bd102 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/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_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index ef131d329a..b2a85e78ab 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters the group's conversations. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -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/conversation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +66,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of conversation object. +// Get the group's conversations. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,7 +105,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of conversation object. +// ToGetRequestInformation the group's conversations. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 292212aabe..3ebc7a8359 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -99,12 +99,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post use reply thread or reply post to further post to that conversation. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation use reply thread or reply post to further post to that conversation. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index be821a0db8..1a5ca88af1 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -58,7 +58,7 @@ func NewItemThreadsConversationThreadItemRequestBuilder(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-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index cfa90f08ca..f92d9b7a91 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 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. +// 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. 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 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. +// 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. // 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/conversationthread-list-posts?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?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 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. +// 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. // 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/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index b2826c3ece..21786c2513 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -54,11 +54,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a countryNamedLocation object. +// Delete delete an ipNamedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +96,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// Patch update the properties of a countryNamedLocation object. +// Patch update the properties of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// ToDeleteRequestInformation delete a countryNamedLocation object. +// ToDeleteRequestInformation delete an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +144,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a countryNamedLocation object. +// ToPatchRequestInformation update the properties of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index b811636392..623afecb77 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index e638276ce5..634b42e719 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an agreement object. +// Get retrieve all files related to an agreement. This includes the default file and all localized files. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an agreement object. +// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index f56c6e8f6e..dcde52e79c 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -121482,6 +121482,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementPolicyCollectionRe github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementPolicyCollectionResponseable::|public|GetValue():[]AppManagementPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementPolicyCollectionResponseable::|public|SetValue(value:[]AppManagementPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementPolicyCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementRestrictionState::0000-enabled +github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementRestrictionState::0001-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementRestrictionState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementServicePrincipalConfiguration-->*AppManagementConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementServicePrincipalConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.appManagementServicePrincipalConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -130900,6 +130903,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessApplicationsab github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessApplicationsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessApplicationsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessApplications~~>ConditionalAccessApplicationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|GetTransferMethods():*ConditionalAccessTransferMethods +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|public|SetTransferMethods(value:*ConditionalAccessTransferMethods):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|GetTransferMethods():*ConditionalAccessTransferMethods +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable::|public|SetTransferMethods(value:*ConditionalAccessTransferMethods):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlowsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessAuthenticationFlows~~>ConditionalAccessAuthenticationFlowsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessClientApp::0000-all github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessClientApp::0001-browser github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessClientApp::0002-mobileAppsAndDesktopClients @@ -130938,6 +130961,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessClientApplicat github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetApplications():ConditionalAccessApplicationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetAuthenticationFlows():ConditionalAccessAuthenticationFlowsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetClientApplications():ConditionalAccessClientApplicationsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|GetClientAppTypes():[]ConditionalAccessClientApp @@ -130954,6 +130978,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet:: github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetApplications(value:ConditionalAccessApplicationsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetAuthenticationFlows(value:ConditionalAccessAuthenticationFlowsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetClientApplications(value:ConditionalAccessClientApplicationsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetClientAppTypes(value:[]ConditionalAccessClientApp):void @@ -130968,6 +130993,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet:: github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|public|SetUsers(value:ConditionalAccessUsersable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetApplications():ConditionalAccessApplicationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetAuthenticationFlows():ConditionalAccessAuthenticationFlowsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetClientApplications():ConditionalAccessClientApplicationsable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetClientAppTypes():[]ConditionalAccessClientApp @@ -130981,6 +131007,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetab github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetUserRiskLevels():[]RiskLevel github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|GetUsers():ConditionalAccessUsersable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|SetApplications(value:ConditionalAccessApplicationsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|SetAuthenticationFlows(value:ConditionalAccessAuthenticationFlowsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|SetClientApplications(value:ConditionalAccessClientApplicationsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessConditionSetable::|public|SetClientAppTypes(value:[]ConditionalAccessClientApp):void @@ -131413,6 +131440,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTemplateCollec github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTemplateCollectionResponseable::|public|GetValue():[]ConditionalAccessTemplateable github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTemplateCollectionResponseable::|public|SetValue(value:[]ConditionalAccessTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTemplateCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTransferMethods::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTransferMethods::0001-deviceCodeFlow +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTransferMethods::0002-authenticationTransfer +github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessTransferMethods::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessUsers::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessUsers::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.conditionalAccessUsers::|public|GetBackingStore():BackingStore @@ -147087,6 +147118,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|GetRestrictionType():*AppKeyCredentialRestrictionType +github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|GetState():*AppManagementRestrictionState github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetBackingStore(value:BackingStore):void @@ -147094,17 +147126,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetRestrictionType(value:*AppKeyCredentialRestrictionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|public|SetState(value:*AppManagementRestrictionState):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetMaxLifetime():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetRestrictionType():*AppKeyCredentialRestrictionType +github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|GetState():*AppManagementRestrictionState github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetMaxLifetime(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetRestrictionType(value:*AppKeyCredentialRestrictionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredentialConfiguration~~>KeyCredentialConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.keyCredential~~>KeyCredentialable @@ -155781,6 +155816,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|GetRestrictionType():*AppCredentialRestrictionType +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|GetState():*AppManagementRestrictionState github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetBackingStore(value:BackingStore):void @@ -155788,17 +155824,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetRestrictionType(value:*AppCredentialRestrictionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|public|SetState(value:*AppManagementRestrictionState):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetMaxLifetime():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetRestrictionType():*AppCredentialRestrictionType +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|GetState():*AppManagementRestrictionState github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetMaxLifetime(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetRestrictionType(value:*AppCredentialRestrictionType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredentialConfiguration~~>PasswordCredentialConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.passwordCredential~~>PasswordCredentialable @@ -166008,6 +166047,36 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplateColl github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplateCollectionResponseable::|public|GetValue():[]DepartmentTemplateable github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplateCollectionResponseable::|public|SetValue(value:[]DepartmentTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.departmentTemplateCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|GetDeploymentAccessKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|SetDeploymentAccessKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|GetDeploymentAccessKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|SetDeploymentAccessKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyTypeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentAccessKeyType~~>DeploymentAccessKeyTypeable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0000-upToDate +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0001-outdated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0002-updating +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0003-updateFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0004-notConfigured +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0005-unreachable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0006-disconnected +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0007-startFailure +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0008-syncing +github.com/microsoftgraph/msgraph-sdk-go/.models.security.deploymentStatus::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0001-microsoftDefenderForEndpoint github.com/microsoftgraph/msgraph-sdk-go/.models.security.detectionSource::0002-antivirus @@ -166726,6 +166795,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationSta github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0003-blocked github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0004-notFound github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0006-active +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0007-pendingApproval +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0008-declined +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0009-unremediated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0010-running +github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRemediationStatus::0011-partiallyRemediated github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRole::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRole::0001-contextual github.com/microsoftgraph/msgraph-sdk-go/.models.security.evidenceRole::0002-scanned @@ -167929,12 +168004,16 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer-->*i github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|constructor():void @@ -168727,6 +168806,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::| github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::|public|SetName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable::|public|SetProcesses(value:[]ProcessEvidenceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.malwareEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapter::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapterable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapterable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapterable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapterable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkAdapterable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkConnectionEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkConnectionEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.networkConnectionEvidence::|public|GetDestinationAddress():IpEvidenceable @@ -169358,6 +169452,130 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidencea github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetSecurityGroupId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetDeploymentStatus():*DeploymentStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetHealthStatus():*SensorHealthStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetOpenHealthIssuesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetSensorType():*SensorType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetSettings():SensorSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetDeploymentStatus(value:*DeploymentStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetHealthStatus(value:*SensorHealthStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetOpenHealthIssuesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetSensorType(value:*SensorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetSettings(value:SensorSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetDeploymentStatus():*DeploymentStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetDomainName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetHealthStatus():*SensorHealthStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetOpenHealthIssuesCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetSensorType():*SensorType +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetSettings():SensorSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetDeploymentStatus(value:*DeploymentStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetDomainName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetHealthStatus(value:*SensorHealthStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetOpenHealthIssuesCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetSensorType(value:*SensorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetSettings(value:SensorSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|GetValue():[]Sensorable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|public|SetValue(value:[]Sensorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponseable::|public|GetValue():[]Sensorable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponseable::|public|SetValue(value:[]Sensorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|GetDownloadUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|SetDownloadUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|GetDownloadUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|SetDownloadUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackageable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorDeploymentPackage~~>SensorDeploymentPackageable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorHealthStatus::0000-healthy +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorHealthStatus::0001-notHealthyLow +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorHealthStatus::0002-notHealthyMedium +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorHealthStatus::0003-notHealthyHigh +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorHealthStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetDomainControllerDnsNames():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetIsDelayedDeploymentEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetNetworkAdapters():[]NetworkAdapterable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetDomainControllerDnsNames(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetIsDelayedDeploymentEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetNetworkAdapters(value:[]NetworkAdapterable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetDomainControllerDnsNames():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetIsDelayedDeploymentEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetNetworkAdapters():[]NetworkAdapterable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetDomainControllerDnsNames(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetIsDelayedDeploymentEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetNetworkAdapters(value:[]NetworkAdapterable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorSettings~~>SensorSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0000-adConnectIntegrated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0001-adcsIntegrated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0002-adfsIntegrated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0003-domainControllerIntegrated +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0004-domainControllerStandalone +github.com/microsoftgraph/msgraph-sdk-go/.models.security.sensorType::0005-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.servicePrincipalEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.servicePrincipalEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.servicePrincipalEvidence::|public|GetAppId():*string @@ -203980,11 +204198,161 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|pu github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|sensors():*IdentitiesSensorsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder.IdentitiesSensorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder.IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder.IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder.IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder.IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder.IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesCountRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsItemHealthIssuesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder.IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|ByHealthIssueId(healthIssueId:string):*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|Count():*IdentitiesSensorsItemHealthIssuesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsItemHealthIssuesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsItemHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorDeploymentPackageable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder.IdentitiesSensorsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|BySensorId(sensorId:string):*IdentitiesSensorsSensorItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|Count():*IdentitiesSensorsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|microsoftGraphSecurityGetDeploymentAccessKey():*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|microsoftGraphSecurityGetDeploymentPackageUri():*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|microsoftGraphSecurityRegenerateDeploymentAccessKey():*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder.IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|healthIssues():*IdentitiesSensorsItemHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsSensorItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsCountRequestBuilder.IncidentsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.security.IncidentsCountRequestBuilder.IncidentsCountRequestBuilderGetQueryParameters::|public|Search:*string diff --git a/kiota-lock.json b/kiota-lock.json index 2d2a9703a8..37c43afc50 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "909EF057E40AC744A18C7CD5455D660EFC55491D3B63C22323530B88453DF44C26EEF48273588B8EB1CF43487AADA87ECB563D1906AA06633040285E38DE5A3B", + "descriptionHash": "40F7E809DAB5A8CD74C54B0838FB352CC3CA08F14C087BCABEA87C73A3912985E5A29497367213728E27D7EE587297AA3C8BE29E13758F967F5AC2A1E568A4A9", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.21.0", diff --git a/models/app_management_restriction_state.go b/models/app_management_restriction_state.go new file mode 100644 index 0000000000..9c18110cc5 --- /dev/null +++ b/models/app_management_restriction_state.go @@ -0,0 +1,36 @@ +package models +type AppManagementRestrictionState int + +const ( + ENABLED_APPMANAGEMENTRESTRICTIONSTATE AppManagementRestrictionState = iota + DISABLED_APPMANAGEMENTRESTRICTIONSTATE + UNKNOWNFUTUREVALUE_APPMANAGEMENTRESTRICTIONSTATE +) + +func (i AppManagementRestrictionState) String() string { + return []string{"enabled", "disabled", "unknownFutureValue"}[i] +} +func ParseAppManagementRestrictionState(v string) (any, error) { + result := ENABLED_APPMANAGEMENTRESTRICTIONSTATE + switch v { + case "enabled": + result = ENABLED_APPMANAGEMENTRESTRICTIONSTATE + case "disabled": + result = DISABLED_APPMANAGEMENTRESTRICTIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPMANAGEMENTRESTRICTIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeAppManagementRestrictionState(values []AppManagementRestrictionState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppManagementRestrictionState) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_authentication_flows.go b/models/conditional_access_authentication_flows.go new file mode 100644 index 0000000000..37c6d9007d --- /dev/null +++ b/models/conditional_access_authentication_flows.go @@ -0,0 +1,151 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ConditionalAccessAuthenticationFlows struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewConditionalAccessAuthenticationFlows instantiates a new ConditionalAccessAuthenticationFlows and sets the default values. +func NewConditionalAccessAuthenticationFlows()(*ConditionalAccessAuthenticationFlows) { + m := &ConditionalAccessAuthenticationFlows{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateConditionalAccessAuthenticationFlowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateConditionalAccessAuthenticationFlowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewConditionalAccessAuthenticationFlows(), 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 *ConditionalAccessAuthenticationFlows) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ConditionalAccessAuthenticationFlows) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ConditionalAccessAuthenticationFlows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["transferMethods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseConditionalAccessTransferMethods) + if err != nil { + return err + } + if val != nil { + m.SetTransferMethods(val.(*ConditionalAccessTransferMethods)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ConditionalAccessAuthenticationFlows) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTransferMethods gets the transferMethods property value. The transferMethods property +// returns a *ConditionalAccessTransferMethods when successful +func (m *ConditionalAccessAuthenticationFlows) GetTransferMethods()(*ConditionalAccessTransferMethods) { + val, err := m.GetBackingStore().Get("transferMethods") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ConditionalAccessTransferMethods) + } + return nil +} +// Serialize serializes information the current object +func (m *ConditionalAccessAuthenticationFlows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetTransferMethods() != nil { + cast := (*m.GetTransferMethods()).String() + err := writer.WriteStringValue("transferMethods", &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 *ConditionalAccessAuthenticationFlows) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ConditionalAccessAuthenticationFlows) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ConditionalAccessAuthenticationFlows) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTransferMethods sets the transferMethods property value. The transferMethods property +func (m *ConditionalAccessAuthenticationFlows) SetTransferMethods(value *ConditionalAccessTransferMethods)() { + err := m.GetBackingStore().Set("transferMethods", value) + if err != nil { + panic(err) + } +} +type ConditionalAccessAuthenticationFlowsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetTransferMethods()(*ConditionalAccessTransferMethods) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetTransferMethods(value *ConditionalAccessTransferMethods)() +} diff --git a/models/conditional_access_condition_set.go b/models/conditional_access_condition_set.go index ee0e9871da..5deca32b97 100644 --- a/models/conditional_access_condition_set.go +++ b/models/conditional_access_condition_set.go @@ -47,6 +47,18 @@ func (m *ConditionalAccessConditionSet) GetApplications()(ConditionalAccessAppli } return nil } +// GetAuthenticationFlows gets the authenticationFlows property value. The authenticationFlows property +// returns a ConditionalAccessAuthenticationFlowsable when successful +func (m *ConditionalAccessConditionSet) GetAuthenticationFlows()(ConditionalAccessAuthenticationFlowsable) { + val, err := m.GetBackingStore().Get("authenticationFlows") + if err != nil { + panic(err) + } + if val != nil { + return val.(ConditionalAccessAuthenticationFlowsable) + } + return nil +} // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful func (m *ConditionalAccessConditionSet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { @@ -102,6 +114,16 @@ func (m *ConditionalAccessConditionSet) GetFieldDeserializers()(map[string]func( } return nil } + res["authenticationFlows"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateConditionalAccessAuthenticationFlowsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAuthenticationFlows(val.(ConditionalAccessAuthenticationFlowsable)) + } + return nil + } res["clientApplications"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateConditionalAccessClientApplicationsFromDiscriminatorValue) if err != nil { @@ -342,6 +364,12 @@ func (m *ConditionalAccessConditionSet) Serialize(writer i878a80d2330e89d2689638 return err } } + { + err := writer.WriteObjectValue("authenticationFlows", m.GetAuthenticationFlows()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("clientApplications", m.GetClientApplications()) if err != nil { @@ -431,6 +459,13 @@ func (m *ConditionalAccessConditionSet) SetApplications(value ConditionalAccessA panic(err) } } +// SetAuthenticationFlows sets the authenticationFlows property value. The authenticationFlows property +func (m *ConditionalAccessConditionSet) SetAuthenticationFlows(value ConditionalAccessAuthenticationFlowsable)() { + err := m.GetBackingStore().Set("authenticationFlows", value) + if err != nil { + panic(err) + } +} // SetBackingStore sets the BackingStore property value. Stores model information. func (m *ConditionalAccessConditionSet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value @@ -517,6 +552,7 @@ type ConditionalAccessConditionSetable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApplications()(ConditionalAccessApplicationsable) + GetAuthenticationFlows()(ConditionalAccessAuthenticationFlowsable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetClientApplications()(ConditionalAccessClientApplicationsable) GetClientAppTypes()([]ConditionalAccessClientApp) @@ -530,6 +566,7 @@ type ConditionalAccessConditionSetable interface { GetUserRiskLevels()([]RiskLevel) GetUsers()(ConditionalAccessUsersable) SetApplications(value ConditionalAccessApplicationsable)() + SetAuthenticationFlows(value ConditionalAccessAuthenticationFlowsable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetClientApplications(value ConditionalAccessClientApplicationsable)() SetClientAppTypes(value []ConditionalAccessClientApp)() diff --git a/models/conditional_access_transfer_methods.go b/models/conditional_access_transfer_methods.go new file mode 100644 index 0000000000..7fb0b57459 --- /dev/null +++ b/models/conditional_access_transfer_methods.go @@ -0,0 +1,54 @@ +package models +import ( + "math" + "strings" +) +type ConditionalAccessTransferMethods int + +const ( + NONE_CONDITIONALACCESSTRANSFERMETHODS = 1 + DEVICECODEFLOW_CONDITIONALACCESSTRANSFERMETHODS = 2 + AUTHENTICATIONTRANSFER_CONDITIONALACCESSTRANSFERMETHODS = 4 + UNKNOWNFUTUREVALUE_CONDITIONALACCESSTRANSFERMETHODS = 8 +) + +func (i ConditionalAccessTransferMethods) String() string { + var values []string + options := []string{"none", "deviceCodeFlow", "authenticationTransfer", "unknownFutureValue"} + for p := 0; p < 4; p++ { + mantis := ConditionalAccessTransferMethods(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseConditionalAccessTransferMethods(v string) (any, error) { + var result ConditionalAccessTransferMethods + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CONDITIONALACCESSTRANSFERMETHODS + case "deviceCodeFlow": + result |= DEVICECODEFLOW_CONDITIONALACCESSTRANSFERMETHODS + case "authenticationTransfer": + result |= AUTHENTICATIONTRANSFER_CONDITIONALACCESSTRANSFERMETHODS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CONDITIONALACCESSTRANSFERMETHODS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeConditionalAccessTransferMethods(values []ConditionalAccessTransferMethods) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ConditionalAccessTransferMethods) isMultiValue() bool { + return true +} diff --git a/models/key_credential_configuration.go b/models/key_credential_configuration.go index ae54092d07..2175783894 100644 --- a/models/key_credential_configuration.go +++ b/models/key_credential_configuration.go @@ -85,6 +85,16 @@ func (m *KeyCredentialConfiguration) GetFieldDeserializers()(map[string]func(i87 } return nil } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } return res } // GetMaxLifetime gets the maxLifetime property value. String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. @@ -135,6 +145,18 @@ func (m *KeyCredentialConfiguration) GetRestrictionType()(*AppKeyCredentialRestr } return nil } +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *KeyCredentialConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} // Serialize serializes information the current object func (m *KeyCredentialConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -162,6 +184,13 @@ func (m *KeyCredentialConfiguration) Serialize(writer i878a80d2330e89d26896388a3 return err } } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -209,6 +238,13 @@ func (m *KeyCredentialConfiguration) SetRestrictionType(value *AppKeyCredentialR panic(err) } } +// SetState sets the state property value. The state property +func (m *KeyCredentialConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} type KeyCredentialConfigurationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -218,9 +254,11 @@ type KeyCredentialConfigurationable interface { GetOdataType()(*string) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRestrictionType()(*AppKeyCredentialRestrictionType) + GetState()(*AppManagementRestrictionState) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() SetOdataType(value *string)() SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRestrictionType(value *AppKeyCredentialRestrictionType)() + SetState(value *AppManagementRestrictionState)() } diff --git a/models/password_credential_configuration.go b/models/password_credential_configuration.go index b8900bb29a..05c4e9ce2f 100644 --- a/models/password_credential_configuration.go +++ b/models/password_credential_configuration.go @@ -85,6 +85,16 @@ func (m *PasswordCredentialConfiguration) GetFieldDeserializers()(map[string]fun } return nil } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } return res } // GetMaxLifetime gets the maxLifetime property value. String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. @@ -135,6 +145,18 @@ func (m *PasswordCredentialConfiguration) GetRestrictionType()(*AppCredentialRes } return nil } +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *PasswordCredentialConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} // Serialize serializes information the current object func (m *PasswordCredentialConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -162,6 +184,13 @@ func (m *PasswordCredentialConfiguration) Serialize(writer i878a80d2330e89d26896 return err } } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -209,6 +238,13 @@ func (m *PasswordCredentialConfiguration) SetRestrictionType(value *AppCredentia panic(err) } } +// SetState sets the state property value. The state property +func (m *PasswordCredentialConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} type PasswordCredentialConfigurationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -218,9 +254,11 @@ type PasswordCredentialConfigurationable interface { GetOdataType()(*string) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRestrictionType()(*AppCredentialRestrictionType) + GetState()(*AppManagementRestrictionState) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetMaxLifetime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() SetOdataType(value *string)() SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRestrictionType(value *AppCredentialRestrictionType)() + SetState(value *AppManagementRestrictionState)() } diff --git a/models/security/deployment_access_key_type.go b/models/security/deployment_access_key_type.go new file mode 100644 index 0000000000..cd55584625 --- /dev/null +++ b/models/security/deployment_access_key_type.go @@ -0,0 +1,150 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeploymentAccessKeyType struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeploymentAccessKeyType instantiates a new DeploymentAccessKeyType and sets the default values. +func NewDeploymentAccessKeyType()(*DeploymentAccessKeyType) { + m := &DeploymentAccessKeyType{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeploymentAccessKeyTypeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeploymentAccessKeyTypeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeploymentAccessKeyType(), 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 *DeploymentAccessKeyType) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DeploymentAccessKeyType) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDeploymentAccessKey gets the deploymentAccessKey property value. The deployment access key. +// returns a *string when successful +func (m *DeploymentAccessKeyType) GetDeploymentAccessKey()(*string) { + val, err := m.GetBackingStore().Get("deploymentAccessKey") + 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 *DeploymentAccessKeyType) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["deploymentAccessKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDeploymentAccessKey(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DeploymentAccessKeyType) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DeploymentAccessKeyType) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("deploymentAccessKey", m.GetDeploymentAccessKey()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DeploymentAccessKeyType) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DeploymentAccessKeyType) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDeploymentAccessKey sets the deploymentAccessKey property value. The deployment access key. +func (m *DeploymentAccessKeyType) SetDeploymentAccessKey(value *string)() { + err := m.GetBackingStore().Set("deploymentAccessKey", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DeploymentAccessKeyType) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type DeploymentAccessKeyTypeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDeploymentAccessKey()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDeploymentAccessKey(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security/deployment_status.go b/models/security/deployment_status.go new file mode 100644 index 0000000000..86accb9e06 --- /dev/null +++ b/models/security/deployment_status.go @@ -0,0 +1,57 @@ +package security +type DeploymentStatus int + +const ( + UPTODATE_DEPLOYMENTSTATUS DeploymentStatus = iota + OUTDATED_DEPLOYMENTSTATUS + UPDATING_DEPLOYMENTSTATUS + UPDATEFAILED_DEPLOYMENTSTATUS + NOTCONFIGURED_DEPLOYMENTSTATUS + UNREACHABLE_DEPLOYMENTSTATUS + DISCONNECTED_DEPLOYMENTSTATUS + STARTFAILURE_DEPLOYMENTSTATUS + SYNCING_DEPLOYMENTSTATUS + UNKNOWNFUTUREVALUE_DEPLOYMENTSTATUS +) + +func (i DeploymentStatus) String() string { + return []string{"upToDate", "outdated", "updating", "updateFailed", "notConfigured", "unreachable", "disconnected", "startFailure", "syncing", "unknownFutureValue"}[i] +} +func ParseDeploymentStatus(v string) (any, error) { + result := UPTODATE_DEPLOYMENTSTATUS + switch v { + case "upToDate": + result = UPTODATE_DEPLOYMENTSTATUS + case "outdated": + result = OUTDATED_DEPLOYMENTSTATUS + case "updating": + result = UPDATING_DEPLOYMENTSTATUS + case "updateFailed": + result = UPDATEFAILED_DEPLOYMENTSTATUS + case "notConfigured": + result = NOTCONFIGURED_DEPLOYMENTSTATUS + case "unreachable": + result = UNREACHABLE_DEPLOYMENTSTATUS + case "disconnected": + result = DISCONNECTED_DEPLOYMENTSTATUS + case "startFailure": + result = STARTFAILURE_DEPLOYMENTSTATUS + case "syncing": + result = SYNCING_DEPLOYMENTSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DEPLOYMENTSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeDeploymentStatus(values []DeploymentStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DeploymentStatus) isMultiValue() bool { + return false +} diff --git a/models/security/evidence_remediation_status.go b/models/security/evidence_remediation_status.go index 73cfb5f1e9..31a24d4c40 100644 --- a/models/security/evidence_remediation_status.go +++ b/models/security/evidence_remediation_status.go @@ -8,10 +8,16 @@ const ( BLOCKED_EVIDENCEREMEDIATIONSTATUS NOTFOUND_EVIDENCEREMEDIATIONSTATUS UNKNOWNFUTUREVALUE_EVIDENCEREMEDIATIONSTATUS + ACTIVE_EVIDENCEREMEDIATIONSTATUS + PENDINGAPPROVAL_EVIDENCEREMEDIATIONSTATUS + DECLINED_EVIDENCEREMEDIATIONSTATUS + UNREMEDIATED_EVIDENCEREMEDIATIONSTATUS + RUNNING_EVIDENCEREMEDIATIONSTATUS + PARTIALLYREMEDIATED_EVIDENCEREMEDIATIONSTATUS ) func (i EvidenceRemediationStatus) String() string { - return []string{"none", "remediated", "prevented", "blocked", "notFound", "unknownFutureValue"}[i] + return []string{"none", "remediated", "prevented", "blocked", "notFound", "unknownFutureValue", "active", "pendingApproval", "declined", "unremediated", "running", "partiallyRemediated"}[i] } func ParseEvidenceRemediationStatus(v string) (any, error) { result := NONE_EVIDENCEREMEDIATIONSTATUS @@ -28,6 +34,18 @@ func ParseEvidenceRemediationStatus(v string) (any, error) { result = NOTFOUND_EVIDENCEREMEDIATIONSTATUS case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_EVIDENCEREMEDIATIONSTATUS + case "active": + result = ACTIVE_EVIDENCEREMEDIATIONSTATUS + case "pendingApproval": + result = PENDINGAPPROVAL_EVIDENCEREMEDIATIONSTATUS + case "declined": + result = DECLINED_EVIDENCEREMEDIATIONSTATUS + case "unremediated": + result = UNREMEDIATED_EVIDENCEREMEDIATIONSTATUS + case "running": + result = RUNNING_EVIDENCEREMEDIATIONSTATUS + case "partiallyRemediated": + result = PARTIALLYREMEDIATED_EVIDENCEREMEDIATIONSTATUS default: return nil, nil } diff --git a/models/security/identity_container.go b/models/security/identity_container.go index 3edbbcd674..fd9765788e 100644 --- a/models/security/identity_container.go +++ b/models/security/identity_container.go @@ -40,6 +40,22 @@ func (m *IdentityContainer) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["sensors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSensorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Sensorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Sensorable) + } + } + m.SetSensors(res) + } + return nil + } return res } // GetHealthIssues gets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. @@ -54,6 +70,18 @@ func (m *IdentityContainer) GetHealthIssues()([]HealthIssueable) { } return nil } +// GetSensors gets the sensors property value. Represents a customer's Microsoft Defender for Identity sensors. +// returns a []Sensorable when successful +func (m *IdentityContainer) GetSensors()([]Sensorable) { + val, err := m.GetBackingStore().Get("sensors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Sensorable) + } + return nil +} // Serialize serializes information the current object func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -72,6 +100,18 @@ func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + if m.GetSensors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSensors())) + for i, v := range m.GetSensors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sensors", cast) + if err != nil { + return err + } + } return nil } // SetHealthIssues sets the healthIssues property value. Represents potential issues identified by Microsoft Defender for Identity within a customer's Microsoft Defender for Identity configuration. @@ -81,9 +121,18 @@ func (m *IdentityContainer) SetHealthIssues(value []HealthIssueable)() { panic(err) } } +// SetSensors sets the sensors property value. Represents a customer's Microsoft Defender for Identity sensors. +func (m *IdentityContainer) SetSensors(value []Sensorable)() { + err := m.GetBackingStore().Set("sensors", value) + if err != nil { + panic(err) + } +} type IdentityContainerable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetHealthIssues()([]HealthIssueable) + GetSensors()([]Sensorable) SetHealthIssues(value []HealthIssueable)() + SetSensors(value []Sensorable)() } diff --git a/models/security/network_adapter.go b/models/security/network_adapter.go new file mode 100644 index 0000000000..ede8a0df16 --- /dev/null +++ b/models/security/network_adapter.go @@ -0,0 +1,114 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type NetworkAdapter struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewNetworkAdapter instantiates a new NetworkAdapter and sets the default values. +func NewNetworkAdapter()(*NetworkAdapter) { + m := &NetworkAdapter{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateNetworkAdapterFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNetworkAdapterFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNetworkAdapter(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NetworkAdapter) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + return res +} +// GetIsEnabled gets the isEnabled property value. Indicates whether the network adapter is selected for capturing and analyzing network traffic. +// returns a *bool when successful +func (m *NetworkAdapter) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetName gets the name property value. The name of the network adapter. +// returns a *string when successful +func (m *NetworkAdapter) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *NetworkAdapter) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + return nil +} +// SetIsEnabled sets the isEnabled property value. Indicates whether the network adapter is selected for capturing and analyzing network traffic. +func (m *NetworkAdapter) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name of the network adapter. +func (m *NetworkAdapter) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +type NetworkAdapterable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIsEnabled()(*bool) + GetName()(*string) + SetIsEnabled(value *bool)() + SetName(value *string)() +} diff --git a/models/security/sensor.go b/models/security/sensor.go new file mode 100644 index 0000000000..0541c9fd04 --- /dev/null +++ b/models/security/sensor.go @@ -0,0 +1,426 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type Sensor struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewSensor instantiates a new Sensor and sets the default values. +func NewSensor()(*Sensor) { + m := &Sensor{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateSensorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensor(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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 *Sensor) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDeploymentStatus gets the deploymentStatus property value. The deploymentStatus property +// returns a *DeploymentStatus when successful +func (m *Sensor) GetDeploymentStatus()(*DeploymentStatus) { + val, err := m.GetBackingStore().Get("deploymentStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DeploymentStatus) + } + return nil +} +// GetDisplayName gets the displayName property value. The display name of the sensor. +// returns a *string when successful +func (m *Sensor) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomainName gets the domainName property value. The fully qualified domain name of the sensor. +// returns a *string when successful +func (m *Sensor) GetDomainName()(*string) { + val, err := m.GetBackingStore().Get("domainName") + 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 *Sensor) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["deploymentStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDeploymentStatus) + if err != nil { + return err + } + if val != nil { + m.SetDeploymentStatus(val.(*DeploymentStatus)) + } + 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["domainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainName(val) + } + return nil + } + res["healthIssues"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHealthIssueFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HealthIssueable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HealthIssueable) + } + } + m.SetHealthIssues(res) + } + return nil + } + res["healthStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSensorHealthStatus) + if err != nil { + return err + } + if val != nil { + m.SetHealthStatus(val.(*SensorHealthStatus)) + } + return nil + } + res["openHealthIssuesCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetOpenHealthIssuesCount(val) + } + return nil + } + res["sensorType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSensorType) + if err != nil { + return err + } + if val != nil { + m.SetSensorType(val.(*SensorType)) + } + return nil + } + res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSensorSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSettings(val.(SensorSettingsable)) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetHealthIssues gets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +// returns a []HealthIssueable when successful +func (m *Sensor) GetHealthIssues()([]HealthIssueable) { + val, err := m.GetBackingStore().Get("healthIssues") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HealthIssueable) + } + return nil +} +// GetHealthStatus gets the healthStatus property value. The healthStatus property +// returns a *SensorHealthStatus when successful +func (m *Sensor) GetHealthStatus()(*SensorHealthStatus) { + val, err := m.GetBackingStore().Get("healthStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SensorHealthStatus) + } + return nil +} +// GetOpenHealthIssuesCount gets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor. +// returns a *int64 when successful +func (m *Sensor) GetOpenHealthIssuesCount()(*int64) { + val, err := m.GetBackingStore().Get("openHealthIssuesCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetSensorType gets the sensorType property value. The sensorType property +// returns a *SensorType when successful +func (m *Sensor) GetSensorType()(*SensorType) { + val, err := m.GetBackingStore().Get("sensorType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SensorType) + } + return nil +} +// GetSettings gets the settings property value. The settings property +// returns a SensorSettingsable when successful +func (m *Sensor) GetSettings()(SensorSettingsable) { + val, err := m.GetBackingStore().Get("settings") + if err != nil { + panic(err) + } + if val != nil { + return val.(SensorSettingsable) + } + return nil +} +// GetVersion gets the version property value. The version of the sensor. +// returns a *string when successful +func (m *Sensor) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *Sensor) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + if m.GetDeploymentStatus() != nil { + cast := (*m.GetDeploymentStatus()).String() + err = writer.WriteStringValue("deploymentStatus", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("domainName", m.GetDomainName()) + if err != nil { + return err + } + } + if m.GetHealthIssues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHealthIssues())) + for i, v := range m.GetHealthIssues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("healthIssues", cast) + if err != nil { + return err + } + } + if m.GetHealthStatus() != nil { + cast := (*m.GetHealthStatus()).String() + err = writer.WriteStringValue("healthStatus", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("openHealthIssuesCount", m.GetOpenHealthIssuesCount()) + if err != nil { + return err + } + } + if m.GetSensorType() != nil { + cast := (*m.GetSensorType()).String() + err = writer.WriteStringValue("sensorType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("settings", m.GetSettings()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("version", m.GetVersion()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the sensor was generated. The Timestamp 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 *Sensor) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDeploymentStatus sets the deploymentStatus property value. The deploymentStatus property +func (m *Sensor) SetDeploymentStatus(value *DeploymentStatus)() { + err := m.GetBackingStore().Set("deploymentStatus", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The display name of the sensor. +func (m *Sensor) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetDomainName sets the domainName property value. The fully qualified domain name of the sensor. +func (m *Sensor) SetDomainName(value *string)() { + err := m.GetBackingStore().Set("domainName", value) + if err != nil { + panic(err) + } +} +// SetHealthIssues sets the healthIssues property value. Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +func (m *Sensor) SetHealthIssues(value []HealthIssueable)() { + err := m.GetBackingStore().Set("healthIssues", value) + if err != nil { + panic(err) + } +} +// SetHealthStatus sets the healthStatus property value. The healthStatus property +func (m *Sensor) SetHealthStatus(value *SensorHealthStatus)() { + err := m.GetBackingStore().Set("healthStatus", value) + if err != nil { + panic(err) + } +} +// SetOpenHealthIssuesCount sets the openHealthIssuesCount property value. This field displays the count of health issues related to this sensor. +func (m *Sensor) SetOpenHealthIssuesCount(value *int64)() { + err := m.GetBackingStore().Set("openHealthIssuesCount", value) + if err != nil { + panic(err) + } +} +// SetSensorType sets the sensorType property value. The sensorType property +func (m *Sensor) SetSensorType(value *SensorType)() { + err := m.GetBackingStore().Set("sensorType", value) + if err != nil { + panic(err) + } +} +// SetSettings sets the settings property value. The settings property +func (m *Sensor) SetSettings(value SensorSettingsable)() { + err := m.GetBackingStore().Set("settings", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version of the sensor. +func (m *Sensor) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type Sensorable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDeploymentStatus()(*DeploymentStatus) + GetDisplayName()(*string) + GetDomainName()(*string) + GetHealthIssues()([]HealthIssueable) + GetHealthStatus()(*SensorHealthStatus) + GetOpenHealthIssuesCount()(*int64) + GetSensorType()(*SensorType) + GetSettings()(SensorSettingsable) + GetVersion()(*string) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDeploymentStatus(value *DeploymentStatus)() + SetDisplayName(value *string)() + SetDomainName(value *string)() + SetHealthIssues(value []HealthIssueable)() + SetHealthStatus(value *SensorHealthStatus)() + SetOpenHealthIssuesCount(value *int64)() + SetSensorType(value *SensorType)() + SetSettings(value SensorSettingsable)() + SetVersion(value *string)() +} diff --git a/models/security/sensor_collection_response.go b/models/security/sensor_collection_response.go new file mode 100644 index 0000000000..c2f59c7abb --- /dev/null +++ b/models/security/sensor_collection_response.go @@ -0,0 +1,89 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type SensorCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewSensorCollectionResponse instantiates a new SensorCollectionResponse and sets the default values. +func NewSensorCollectionResponse()(*SensorCollectionResponse) { + m := &SensorCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSensorCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SensorCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSensorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Sensorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Sensorable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Sensorable when successful +func (m *SensorCollectionResponse) GetValue()([]Sensorable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Sensorable) + } + return nil +} +// Serialize serializes information the current object +func (m *SensorCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SensorCollectionResponse) SetValue(value []Sensorable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SensorCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Sensorable) + SetValue(value []Sensorable)() +} diff --git a/models/security/sensor_deployment_package.go b/models/security/sensor_deployment_package.go new file mode 100644 index 0000000000..9453369d76 --- /dev/null +++ b/models/security/sensor_deployment_package.go @@ -0,0 +1,187 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SensorDeploymentPackage struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSensorDeploymentPackage instantiates a new SensorDeploymentPackage and sets the default values. +func NewSensorDeploymentPackage()(*SensorDeploymentPackage) { + m := &SensorDeploymentPackage{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSensorDeploymentPackageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorDeploymentPackageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorDeploymentPackage(), 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 *SensorDeploymentPackage) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *SensorDeploymentPackage) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDownloadUrl gets the downloadUrl property value. URL to download the sensor deployment package. +// returns a *string when successful +func (m *SensorDeploymentPackage) GetDownloadUrl()(*string) { + val, err := m.GetBackingStore().Get("downloadUrl") + 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 *SensorDeploymentPackage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["downloadUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDownloadUrl(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SensorDeploymentPackage) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVersion gets the version property value. Version of the sensor. +// returns a *string when successful +func (m *SensorDeploymentPackage) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SensorDeploymentPackage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("downloadUrl", m.GetDownloadUrl()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("version", m.GetVersion()) + 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 *SensorDeploymentPackage) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *SensorDeploymentPackage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDownloadUrl sets the downloadUrl property value. URL to download the sensor deployment package. +func (m *SensorDeploymentPackage) SetDownloadUrl(value *string)() { + err := m.GetBackingStore().Set("downloadUrl", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SensorDeploymentPackage) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. Version of the sensor. +func (m *SensorDeploymentPackage) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type SensorDeploymentPackageable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDownloadUrl()(*string) + GetOdataType()(*string) + GetVersion()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDownloadUrl(value *string)() + SetOdataType(value *string)() + SetVersion(value *string)() +} diff --git a/models/security/sensor_health_status.go b/models/security/sensor_health_status.go new file mode 100644 index 0000000000..35d2b2d37f --- /dev/null +++ b/models/security/sensor_health_status.go @@ -0,0 +1,42 @@ +package security +type SensorHealthStatus int + +const ( + HEALTHY_SENSORHEALTHSTATUS SensorHealthStatus = iota + NOTHEALTHYLOW_SENSORHEALTHSTATUS + NOTHEALTHYMEDIUM_SENSORHEALTHSTATUS + NOTHEALTHYHIGH_SENSORHEALTHSTATUS + UNKNOWNFUTUREVALUE_SENSORHEALTHSTATUS +) + +func (i SensorHealthStatus) String() string { + return []string{"healthy", "notHealthyLow", "notHealthyMedium", "notHealthyHigh", "unknownFutureValue"}[i] +} +func ParseSensorHealthStatus(v string) (any, error) { + result := HEALTHY_SENSORHEALTHSTATUS + switch v { + case "healthy": + result = HEALTHY_SENSORHEALTHSTATUS + case "notHealthyLow": + result = NOTHEALTHYLOW_SENSORHEALTHSTATUS + case "notHealthyMedium": + result = NOTHEALTHYMEDIUM_SENSORHEALTHSTATUS + case "notHealthyHigh": + result = NOTHEALTHYHIGH_SENSORHEALTHSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SENSORHEALTHSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeSensorHealthStatus(values []SensorHealthStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SensorHealthStatus) isMultiValue() bool { + return false +} diff --git a/models/security/sensor_settings.go b/models/security/sensor_settings.go new file mode 100644 index 0000000000..8fb537cd75 --- /dev/null +++ b/models/security/sensor_settings.go @@ -0,0 +1,279 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SensorSettings struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSensorSettings instantiates a new SensorSettings and sets the default values. +func NewSensorSettings()(*SensorSettings) { + m := &SensorSettings{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSensorSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSensorSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSensorSettings(), 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 *SensorSettings) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *SensorSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDescription gets the description property value. Description of the sensor. +// returns a *string when successful +func (m *SensorSettings) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomainControllerDnsNames gets the domainControllerDnsNames property value. DNS names for the domain controller +// returns a []string when successful +func (m *SensorSettings) GetDomainControllerDnsNames()([]string) { + val, err := m.GetBackingStore().Get("domainControllerDnsNames") + 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 *SensorSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + 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["domainControllerDnsNames"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetDomainControllerDnsNames(res) + } + return nil + } + res["isDelayedDeploymentEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDelayedDeploymentEnabled(val) + } + return nil + } + res["networkAdapters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateNetworkAdapterFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]NetworkAdapterable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(NetworkAdapterable) + } + } + m.SetNetworkAdapters(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsDelayedDeploymentEnabled gets the isDelayedDeploymentEnabled property value. Indicates whether to delay updates for the sensor. +// returns a *bool when successful +func (m *SensorSettings) GetIsDelayedDeploymentEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isDelayedDeploymentEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetNetworkAdapters gets the networkAdapters property value. The networkAdapters property +// returns a []NetworkAdapterable when successful +func (m *SensorSettings) GetNetworkAdapters()([]NetworkAdapterable) { + val, err := m.GetBackingStore().Get("networkAdapters") + if err != nil { + panic(err) + } + if val != nil { + return val.([]NetworkAdapterable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SensorSettings) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SensorSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + if m.GetDomainControllerDnsNames() != nil { + err := writer.WriteCollectionOfStringValues("domainControllerDnsNames", m.GetDomainControllerDnsNames()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isDelayedDeploymentEnabled", m.GetIsDelayedDeploymentEnabled()) + if err != nil { + return err + } + } + if m.GetNetworkAdapters() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetNetworkAdapters())) + for i, v := range m.GetNetworkAdapters() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("networkAdapters", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *SensorSettings) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *SensorSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDescription sets the description property value. Description of the sensor. +func (m *SensorSettings) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDomainControllerDnsNames sets the domainControllerDnsNames property value. DNS names for the domain controller +func (m *SensorSettings) SetDomainControllerDnsNames(value []string)() { + err := m.GetBackingStore().Set("domainControllerDnsNames", value) + if err != nil { + panic(err) + } +} +// SetIsDelayedDeploymentEnabled sets the isDelayedDeploymentEnabled property value. Indicates whether to delay updates for the sensor. +func (m *SensorSettings) SetIsDelayedDeploymentEnabled(value *bool)() { + err := m.GetBackingStore().Set("isDelayedDeploymentEnabled", value) + if err != nil { + panic(err) + } +} +// SetNetworkAdapters sets the networkAdapters property value. The networkAdapters property +func (m *SensorSettings) SetNetworkAdapters(value []NetworkAdapterable)() { + err := m.GetBackingStore().Set("networkAdapters", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SensorSettings) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type SensorSettingsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDescription()(*string) + GetDomainControllerDnsNames()([]string) + GetIsDelayedDeploymentEnabled()(*bool) + GetNetworkAdapters()([]NetworkAdapterable) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDescription(value *string)() + SetDomainControllerDnsNames(value []string)() + SetIsDelayedDeploymentEnabled(value *bool)() + SetNetworkAdapters(value []NetworkAdapterable)() + SetOdataType(value *string)() +} diff --git a/models/security/sensor_type.go b/models/security/sensor_type.go new file mode 100644 index 0000000000..86ce7cb6e8 --- /dev/null +++ b/models/security/sensor_type.go @@ -0,0 +1,45 @@ +package security +type SensorType int + +const ( + ADCONNECTINTEGRATED_SENSORTYPE SensorType = iota + ADCSINTEGRATED_SENSORTYPE + ADFSINTEGRATED_SENSORTYPE + DOMAINCONTROLLERINTEGRATED_SENSORTYPE + DOMAINCONTROLLERSTANDALONE_SENSORTYPE + UNKNOWNFUTUREVALUE_SENSORTYPE +) + +func (i SensorType) String() string { + return []string{"adConnectIntegrated", "adcsIntegrated", "adfsIntegrated", "domainControllerIntegrated", "domainControllerStandalone", "unknownFutureValue"}[i] +} +func ParseSensorType(v string) (any, error) { + result := ADCONNECTINTEGRATED_SENSORTYPE + switch v { + case "adConnectIntegrated": + result = ADCONNECTINTEGRATED_SENSORTYPE + case "adcsIntegrated": + result = ADCSINTEGRATED_SENSORTYPE + case "adfsIntegrated": + result = ADFSINTEGRATED_SENSORTYPE + case "domainControllerIntegrated": + result = DOMAINCONTROLLERINTEGRATED_SENSORTYPE + case "domainControllerStandalone": + result = DOMAINCONTROLLERSTANDALONE_SENSORTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SENSORTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeSensorType(values []SensorType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SensorType) isMultiValue() bool { + return false +} diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index df8c286116..342f99d404 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 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. +// OrganizationItemRequestBuilderGetQueryParameters read properties and relationships of the organization object. 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 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. +// Get read properties and relationships of the organization object. // 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/organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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 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. +// ToGetRequestInformation read properties and relationships of the organization object. // 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/organization/organization_request_builder.go b/organization/organization_request_builder.go index d59c4559ee..17ae3d1ceb 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -11,7 +11,7 @@ import ( type OrganizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OrganizationRequestBuilderGetQueryParameters retrieve a list of organization objects. There's only one organization object in the collection. +// OrganizationRequestBuilderGetQueryParameters list properties and relationships of the organization objects. type OrganizationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,12 @@ func (m *OrganizationRequestBuilder) Count()(*CountRequestBuilder) { func (m *OrganizationRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of organization objects. There's only one organization object in the collection. +// Get list properties and relationships of the organization objects. // returns a OrganizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 func (m *OrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrganizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *OrganizationRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable), nil } -// ToGetRequestInformation retrieve a list of organization objects. There's only one organization object in the collection. +// ToGetRequestInformation list properties and relationships of the organization objects. // returns a *RequestInformation when successful func (m *OrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index efaced0fd0..f7b393e8d0 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -96,12 +96,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put update the user synchronization policy of a partner-specific configuration. +// Put create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. +// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go index 3d6b0ae03b..c1f19f7edf 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldReq urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilderInternal(urlParams, requestAdapter) } -// Post start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// Post start the process of applying hold on eDiscovery custodians. After the operation is created, you can use Get ediscoveryCustodian to retrieve the status of an ediscoveryCustodian. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -49,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRe } return nil } -// ToPostRequestInformation start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// ToPostRequestInformation start the process of applying hold on eDiscovery custodians. After the operation is created, you can use Get ediscoveryCustodian to retrieve the status of an ediscoveryCustodian. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_request_builder.go b/security/identities_request_builder.go index 060b9418ac..154cf6c563 100644 --- a/security/identities_request_builder.go +++ b/security/identities_request_builder.go @@ -115,6 +115,11 @@ func (m *IdentitiesRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc8 } return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable), nil } +// Sensors provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesSensorsRequestBuilder when successful +func (m *IdentitiesRequestBuilder) Sensors()(*IdentitiesSensorsRequestBuilder) { + return NewIdentitiesSensorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property identities for security // returns a *RequestInformation when successful func (m *IdentitiesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/security/identities_sensors_count_request_builder.go b/security/identities_sensors_count_request_builder.go new file mode 100644 index 0000000000..ebdfc5e521 --- /dev/null +++ b/security/identities_sensors_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesSensorsCountRequestBuilder provides operations to count the resources in the collection. +type IdentitiesSensorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsCountRequestBuilderGetQueryParameters get the number of the resource +type IdentitiesSensorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IdentitiesSensorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsCountRequestBuilderGetQueryParameters +} +// NewIdentitiesSensorsCountRequestBuilderInternal instantiates a new IdentitiesSensorsCountRequestBuilder and sets the default values. +func NewIdentitiesSensorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsCountRequestBuilder) { + m := &IdentitiesSensorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewIdentitiesSensorsCountRequestBuilder instantiates a new IdentitiesSensorsCountRequestBuilder and sets the default values. +func NewIdentitiesSensorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsCountRequestBuilder when successful +func (m *IdentitiesSensorsCountRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsCountRequestBuilder) { + return NewIdentitiesSensorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_item_health_issues_count_request_builder.go b/security/identities_sensors_item_health_issues_count_request_builder.go new file mode 100644 index 0000000000..41543e1f4e --- /dev/null +++ b/security/identities_sensors_item_health_issues_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesSensorsItemHealthIssuesCountRequestBuilder provides operations to count the resources in the collection. +type IdentitiesSensorsItemHealthIssuesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters get the number of the resource +type IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetQueryParameters +} +// NewIdentitiesSensorsItemHealthIssuesCountRequestBuilderInternal instantiates a new IdentitiesSensorsItemHealthIssuesCountRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesCountRequestBuilder) { + m := &IdentitiesSensorsItemHealthIssuesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewIdentitiesSensorsItemHealthIssuesCountRequestBuilder instantiates a new IdentitiesSensorsItemHealthIssuesCountRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsItemHealthIssuesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsItemHealthIssuesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsItemHealthIssuesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsItemHealthIssuesCountRequestBuilder when successful +func (m *IdentitiesSensorsItemHealthIssuesCountRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsItemHealthIssuesCountRequestBuilder) { + return NewIdentitiesSensorsItemHealthIssuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_item_health_issues_health_issue_item_request_builder.go b/security/identities_sensors_item_health_issues_health_issue_item_request_builder.go new file mode 100644 index 0000000000..f3f77f2c2f --- /dev/null +++ b/security/identities_sensors_item_health_issues_health_issue_item_request_builder.go @@ -0,0 +1,81 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. +type IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +type IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters +} +// NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderInternal instantiates a new IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) { + m := &IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues/{healthIssue%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder instantiates a new IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +// returns a HealthIssueable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateHealthIssueFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable), nil +} +// ToGetRequestInformation represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(*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 *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder when successful +func (m *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) { + return NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_item_health_issues_request_builder.go b/security/identities_sensors_item_health_issues_request_builder.go new file mode 100644 index 0000000000..adc8caf6b1 --- /dev/null +++ b/security/identities_sensors_item_health_issues_request_builder.go @@ -0,0 +1,110 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsItemHealthIssuesRequestBuilder provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. +type IdentitiesSensorsItemHealthIssuesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +type IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsItemHealthIssuesRequestBuilderGetQueryParameters +} +// ByHealthIssueId provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. +// returns a *IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder when successful +func (m *IdentitiesSensorsItemHealthIssuesRequestBuilder) ByHealthIssueId(healthIssueId string)(*IdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if healthIssueId != "" { + urlTplParams["healthIssue%2Did"] = healthIssueId + } + return NewIdentitiesSensorsItemHealthIssuesHealthIssueItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewIdentitiesSensorsItemHealthIssuesRequestBuilderInternal instantiates a new IdentitiesSensorsItemHealthIssuesRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesRequestBuilder) { + m := &IdentitiesSensorsItemHealthIssuesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/{sensor%2Did}/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewIdentitiesSensorsItemHealthIssuesRequestBuilder instantiates a new IdentitiesSensorsItemHealthIssuesRequestBuilder and sets the default values. +func NewIdentitiesSensorsItemHealthIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsItemHealthIssuesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsItemHealthIssuesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *IdentitiesSensorsItemHealthIssuesCountRequestBuilder when successful +func (m *IdentitiesSensorsItemHealthIssuesRequestBuilder) Count()(*IdentitiesSensorsItemHealthIssuesCountRequestBuilder) { + return NewIdentitiesSensorsItemHealthIssuesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +// returns a HealthIssueCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsItemHealthIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueCollectionResponseable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateHealthIssueCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueCollectionResponseable), nil +} +// ToGetRequestInformation represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsItemHealthIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsItemHealthIssuesRequestBuilderGetRequestConfiguration)(*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 *IdentitiesSensorsItemHealthIssuesRequestBuilder when successful +func (m *IdentitiesSensorsItemHealthIssuesRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsItemHealthIssuesRequestBuilder) { + return NewIdentitiesSensorsItemHealthIssuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_microsoft_graph_security_get_deployment_access_key_request_builder.go b/security/identities_sensors_microsoft_graph_security_get_deployment_access_key_request_builder.go new file mode 100644 index 0000000000..b02bb03a61 --- /dev/null +++ b/security/identities_sensors_microsoft_graph_security_get_deployment_access_key_request_builder.go @@ -0,0 +1,69 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder provides operations to call the getDeploymentAccessKey method. +type IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderInternal instantiates a new IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) { + m := &IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/microsoft.graph.security.getDeploymentAccessKey()", pathParameters), + } + return m +} +// NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder instantiates a new IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace. +// returns a DeploymentAccessKeyTypeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateDeploymentAccessKeyTypeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable), nil +} +// ToGetRequestInformation get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_microsoft_graph_security_get_deployment_package_uri_request_builder.go b/security/identities_sensors_microsoft_graph_security_get_deployment_package_uri_request_builder.go new file mode 100644 index 0000000000..41498a966d --- /dev/null +++ b/security/identities_sensors_microsoft_graph_security_get_deployment_package_uri_request_builder.go @@ -0,0 +1,69 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder provides operations to call the getDeploymentPackageUri method. +type IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderInternal instantiates a new IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) { + m := &IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/microsoft.graph.security.getDeploymentPackageUri()", pathParameters), + } + return m +} +// NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder instantiates a new IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the sensor deployment package URL and version. You can use this URL to download the installer to install the sensor on a server. +// returns a SensorDeploymentPackageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorDeploymentPackageable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorDeploymentPackageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorDeploymentPackageable), nil +} +// ToGetRequestInformation get the sensor deployment package URL and version. You can use this URL to download the installer to install the sensor on a server. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_microsoft_graph_security_regenerate_deployment_access_key_request_builder.go b/security/identities_sensors_microsoft_graph_security_regenerate_deployment_access_key_request_builder.go new file mode 100644 index 0000000000..d1ec922402 --- /dev/null +++ b/security/identities_sensors_microsoft_graph_security_regenerate_deployment_access_key_request_builder.go @@ -0,0 +1,69 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder provides operations to call the regenerateDeploymentAccessKey method. +type IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderInternal instantiates a new IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) { + m := &IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/microsoft.graph.security.regenerateDeploymentAccessKey", pathParameters), + } + return m +} +// NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder instantiates a new IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder and sets the default values. +func NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderInternal(urlParams, requestAdapter) +} +// Post generate a new deployment access key that can be used to install a sensor associated with the workspace. +// returns a DeploymentAccessKeyTypeable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) Post(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateDeploymentAccessKeyTypeFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.DeploymentAccessKeyTypeable), nil +} +// ToPostRequestInformation generate a new deployment access key that can be used to install a sensor associated with the workspace. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder when successful +func (m *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_request_builder.go b/security/identities_sensors_request_builder.go new file mode 100644 index 0000000000..808fc4853b --- /dev/null +++ b/security/identities_sensors_request_builder.go @@ -0,0 +1,170 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsRequestBuilder provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. +type IdentitiesSensorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsRequestBuilderGetQueryParameters get a list of sensor objects and their properties. +type IdentitiesSensorsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// IdentitiesSensorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsRequestBuilderGetQueryParameters +} +// IdentitiesSensorsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySensorId provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesSensorsSensorItemRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) BySensorId(sensorId string)(*IdentitiesSensorsSensorItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sensorId != "" { + urlTplParams["sensor%2Did"] = sensorId + } + return NewIdentitiesSensorsSensorItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewIdentitiesSensorsRequestBuilderInternal instantiates a new IdentitiesSensorsRequestBuilder and sets the default values. +func NewIdentitiesSensorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsRequestBuilder) { + m := &IdentitiesSensorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewIdentitiesSensorsRequestBuilder instantiates a new IdentitiesSensorsRequestBuilder and sets the default values. +func NewIdentitiesSensorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *IdentitiesSensorsCountRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) Count()(*IdentitiesSensorsCountRequestBuilder) { + return NewIdentitiesSensorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of sensor objects and their properties. +// returns a SensorCollectionResponseable when successful +// returns a ODataError error 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-sensors?view=graph-rest-1.0 +func (m *IdentitiesSensorsRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCollectionResponseable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.SensorCollectionResponseable), nil +} +// MicrosoftGraphSecurityGetDeploymentAccessKey provides operations to call the getDeploymentAccessKey method. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) MicrosoftGraphSecurityGetDeploymentAccessKey()(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphSecurityGetDeploymentPackageUri provides operations to call the getDeploymentPackageUri method. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) MicrosoftGraphSecurityGetDeploymentPackageUri()(*IdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphSecurityRegenerateDeploymentAccessKey provides operations to call the regenerateDeploymentAccessKey method. +// returns a *IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) MicrosoftGraphSecurityRegenerateDeploymentAccessKey()(*IdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder) { + return NewIdentitiesSensorsMicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create new navigation property to sensors for security +// returns a Sensorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSensorsRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, requestConfiguration *IdentitiesSensorsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable), nil +} +// ToGetRequestInformation get a list of sensor objects and their properties. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to sensors for security +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, requestConfiguration *IdentitiesSensorsRequestBuilderPostRequestConfiguration)(*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 *IdentitiesSensorsRequestBuilder when successful +func (m *IdentitiesSensorsRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsRequestBuilder) { + return NewIdentitiesSensorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_sensors_sensor_item_request_builder.go b/security/identities_sensors_sensor_item_request_builder.go new file mode 100644 index 0000000000..2eeac29a46 --- /dev/null +++ b/security/identities_sensors_sensor_item_request_builder.go @@ -0,0 +1,171 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesSensorsSensorItemRequestBuilder provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. +type IdentitiesSensorsSensorItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters read the properties and relationships of a sensor object. +type IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSensorsSensorItemRequestBuilderGetQueryParameters +} +// IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSensorsSensorItemRequestBuilderInternal instantiates a new IdentitiesSensorsSensorItemRequestBuilder and sets the default values. +func NewIdentitiesSensorsSensorItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsSensorItemRequestBuilder) { + m := &IdentitiesSensorsSensorItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/sensors/{sensor%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesSensorsSensorItemRequestBuilder instantiates a new IdentitiesSensorsSensorItemRequestBuilder and sets the default values. +func NewIdentitiesSensorsSensorItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSensorsSensorItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSensorsSensorItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a sensor object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensor-delete?view=graph-rest-1.0 +func (m *IdentitiesSensorsSensorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, 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 +} +// Get read the properties and relationships of a sensor object. +// returns a Sensorable when successful +// returns a ODataError error 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-sensor-get?view=graph-rest-1.0 +func (m *IdentitiesSensorsSensorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, 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, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable), nil +} +// HealthIssues provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. +// returns a *IdentitiesSensorsItemHealthIssuesRequestBuilder when successful +func (m *IdentitiesSensorsSensorItemRequestBuilder) HealthIssues()(*IdentitiesSensorsItemHealthIssuesRequestBuilder) { + return NewIdentitiesSensorsItemHealthIssuesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the properties of a sensor object. +// returns a Sensorable when successful +// returns a ODataError error 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-sensor-update?view=graph-rest-1.0 +func (m *IdentitiesSensorsSensorItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateSensorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable), nil +} +// ToDeleteRequestInformation delete a sensor object. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsSensorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a sensor object. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsSensorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a sensor object. +// returns a *RequestInformation when successful +func (m *IdentitiesSensorsSensorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Sensorable, requestConfiguration *IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *IdentitiesSensorsSensorItemRequestBuilder when successful +func (m *IdentitiesSensorsSensorItemRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSensorsSensorItemRequestBuilder) { + return NewIdentitiesSensorsSensorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_townhalls_request_builder.go b/solutions/virtual_events_townhalls_request_builder.go index 78fa8c674d..6c4cf1e154 100644 --- a/solutions/virtual_events_townhalls_request_builder.go +++ b/solutions/virtual_events_townhalls_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsTownhallsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsTownhallsRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventTownhall object. +// VirtualEventsTownhallsRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. type VirtualEventsTownhallsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewVirtualEventsTownhallsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *VirtualEventsTownhallsRequestBuilder) Count()(*VirtualEventsTownhallsCountRequestBuilder) { return NewVirtualEventsTownhallsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a virtualEventTownhall object. +// Get read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. // returns a VirtualEventTownhallCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEventsTownhallsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsTownhallsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *VirtualEventsTownhallsRequestBuilder) Post(ctx context.Context, body ia } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable), nil } -// ToGetRequestInformation read the properties and relationships of a virtualEventTownhall object. +// ToGetRequestInformation read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_townhalls_virtual_event_townhall_item_request_builder.go b/solutions/virtual_events_townhalls_virtual_event_townhall_item_request_builder.go index 7f32c38c27..0da63972ba 100644 --- a/solutions/virtual_events_townhalls_virtual_event_townhall_item_request_builder.go +++ b/solutions/virtual_events_townhalls_virtual_event_townhall_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventTownhall object. +// VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. type VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) Delete(ct } return nil } -// Get read the properties and relationships of a virtualEventTownhall object. +// Get read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. // returns a VirtualEventTownhallable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -93,7 +93,7 @@ func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) Get(ctx c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable), nil } -// Patch update the properties of a virtualEventTownhall object. +// Patch update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event. // returns a VirtualEventTownhallable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -137,7 +137,7 @@ func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a virtualEventTownhall object. +// ToGetRequestInformation read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +151,7 @@ func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a virtualEventTownhall object. +// ToPatchRequestInformation update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable, requestConfiguration *VirtualEventsTownhallsVirtualEventTownhallItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go index 79e3d9a547..e4848c47ad 100644 --- a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go +++ b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventWebinar object. +// VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. type VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a virtualEventWebinar object. +// Get read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. // returns a VirtualEventWebinarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -93,7 +93,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) Get(ctx con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventWebinarable), nil } -// Patch update the properties of a virtualEventWebinar object. +// Patch update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event. // returns a VirtualEventWebinarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -157,7 +157,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a virtualEventWebinar object. +// ToGetRequestInformation read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -171,7 +171,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a virtualEventWebinar object. +// ToPatchRequestInformation update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventWebinarable, requestConfiguration *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderPatchRequestConfiguration)(*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_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index 0fad964c67..eee4373c34 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Cont } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post create a new reply to a chatMessage in a specified channel. +// Post send a new reply to a chatMessage in a specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 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/users/4a1034dae8e9adddb78c7df300087bfd06823b3021b02ca09736a73e1a91dcb3.go b/users/4a1034dae8e9adddb78c7df300087bfd06823b3021b02ca09736a73e1a91dcb3.go index 354aa7654b..8838f3f5e8 100644 --- a/users/4a1034dae8e9adddb78c7df300087bfd06823b3021b02ca09736a73e1a91dcb3.go +++ b/users/4a1034dae8e9adddb78c7df300087bfd06823b3021b02ca09736a73e1a91dcb3.go @@ -47,7 +47,7 @@ func NewItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAut urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a microsoftAuthenticatorAuthenticationMethod object. +// Delete delete a microsoftAuthenticatorAuthenticationMethod object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -94,7 +94,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MicrosoftAuthenticatorAuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a microsoftAuthenticatorAuthenticationMethod object. +// ToDeleteRequestInformation delete a microsoftAuthenticatorAuthenticationMethod object. // returns a *RequestInformation when successful func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go index d8a75ed596..db65ee47ab 100644 --- a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go +++ b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailAuthenticationMethodable), nil } -// Patch update a user's email address represented by an emailAuthenticationMethod object. +// Patch update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported. // returns a EmailAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -141,7 +141,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a user's email address represented by an emailAuthenticationMethod object. +// ToPatchRequestInformation update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported. // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_email_methods_request_builder.go b/users/item_authentication_email_methods_request_builder.go index 242d0477fc..947aa66b02 100644 --- a/users/item_authentication_email_methods_request_builder.go +++ b/users/item_authentication_email_methods_request_builder.go @@ -96,7 +96,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailAuthenticationMethodCollectionResponseable), nil } -// Post set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. +// Post set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported. // returns a EmailAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -133,7 +133,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. +// ToPostRequestInformation set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported. // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go index d27ee1c99a..21e0e06986 100644 --- a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go +++ b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PhoneAuthenticationMethodable), nil } -// Patch update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. +// Patch update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported. // returns a PhoneAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -148,7 +148,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. +// ToPatchRequestInformation update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported. // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PhoneAuthenticationMethodable, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index 138f53bed6..987f34e3b0 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters set a presence status message for a user. An optional expiration date and time can be supplied. +// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,12 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get set a presence status message for a user. An optional expiration date and time can be supplied. +// Get get a user's presence information. // returns a Presenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation set a presence status message for a user. An optional expiration date and time can be supplied. +// ToGetRequestInformation get a user's presence information. // returns a *RequestInformation when successful func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 587e298a41..80c386c42d 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 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. +// UserItemRequestBuilderGetQueryParameters read properties and relationships of the user object. 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 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. +// Get read properties and relationships of the user object. // 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/user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-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/intune-onboarding-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/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 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. +// ToGetRequestInformation read properties and relationships of the user object. // 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 0bc5d0b87c..d9c73a38ca 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. +// UsersRequestBuilderGetQueryParameters list properties and relationships of the 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 retrieve a list of user objects. +// Get list properties and relationships of the 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/user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-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 retrieve a list of user objects. +// ToGetRequestInformation list properties and relationships of the 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) diff --git a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go index 8e7619ce02..93f0b95d27 100644 --- a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go +++ b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -18,7 +18,7 @@ type UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters 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. +// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters read properties and relationships of the user object. type UsersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewUsersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewUsersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// 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 *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, r } return nil } -// 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. +// Get read properties and relationships of the user object. // 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/user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error 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-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// 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 *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// 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. +// ToGetRequestInformation read properties and relationships of the user object. // returns a *RequestInformation when successful func (m *UsersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)