diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index b4fd5b32939..788e5fac32a 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -21,7 +21,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat or channel. type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve a conversationMember from a chat. +// Get retrieve a conversationMember from a chat or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-get?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 { @@ -130,7 +130,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation retrieve a conversationMember from a chat or channel. // 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/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 072db3098f2..d71b1c0f861 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -34,12 +34,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 { @@ -57,7 +57,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 ee10565ed3c..ac5864712a2 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -65,7 +65,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceAppManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +138,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-apps-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-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 2f3d84a9947..d461a1bd9bf 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -37,7 +37,7 @@ func NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index f114e7b75a2..f6f9de93a76 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the targetedManagedAppProtection object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppConfiguration object. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the targetedManagedAppProtection object. +// Get read properties and relationships of the managedAppConfiguration object. // returns a ManagedAppPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the targetedManagedAppProtection object. +// ToGetRequestInformation read properties and relationships of the managedAppConfiguration object. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_policies_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index b93f477d3fd..b6d99ec32f5 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the managedAppProtection objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the targetedManagedAppProtection objects. type ManagedAppPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 targetedManagedAppProtection 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-targetedmanagedappprotection-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 { @@ -122,7 +122,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 targetedManagedAppProtection 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 0f8e9f8136b..8af1cca588f 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 @@ -37,7 +37,7 @@ func NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 6211ac18527..7fe24ca39d6 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 @@ -37,7 +37,7 @@ func NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-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 fb894a231ab..d437ee8fc76 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 @@ -21,7 +21,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the iosManagedAppRegistration object. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,12 +78,12 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the managedAppRegistration 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-managedappregistration-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 { @@ -142,7 +142,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppRegistration 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 fb833f151e2..4acf149d16d 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the androidManagedAppRegistration objects. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 androidManagedAppRegistration 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-androidmanagedappregistration-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 { @@ -130,7 +130,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 androidManagedAppRegistration 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_managed_app_status_item_request_builder.go b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index c3dacfdf093..ac4c26ba883 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object. +// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatus object. type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppStatusRaw object. +// Get read properties and relationships of the managedAppStatus object. // returns a ManagedAppStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppStatusRaw object. +// ToGetRequestInformation read properties and relationships of the managedAppStatus object. // returns a *RequestInformation when successful func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 8be4613802a..6209746507e 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 @@ -99,12 +99,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 { @@ -147,7 +147,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_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index fb34d0db0c4..ba8b9f2210c 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -14,7 +14,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"` @@ -79,12 +79,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 { @@ -125,7 +125,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 3ba5dc1c945..830e684b85e 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 @@ -21,7 +21,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"` @@ -96,12 +96,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 { @@ -153,7 +153,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 f01360898b9..312d70e12d9 100644 --- a/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -14,7 +14,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"` @@ -79,12 +79,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 { @@ -125,7 +125,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 ff7b35abfaa..70be149e4a6 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the managedAndroidStoreApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the windowsMicrosoftEdgeApp object. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -72,11 +72,11 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsAppX. +// Delete deletes a windowsWebApp. // 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-windowsappx-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-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 { @@ -91,12 +91,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the managedAndroidStoreApp object. +// Get read properties and relationships of the windowsMicrosoftEdgeApp 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-managedandroidstoreapp-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-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 { @@ -194,12 +194,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a androidLobApp object. +// Patch update the properties of a managedIOSLobApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedioslobapp-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 { @@ -217,7 +217,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a windowsAppX. +// ToDeleteRequestInformation deletes a windowsWebApp. // 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) @@ -228,7 +228,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAndroidStoreApp object. +// ToGetRequestInformation read properties and relationships of the windowsMicrosoftEdgeApp 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) @@ -242,7 +242,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a androidLobApp object. +// ToPatchRequestInformation update the properties of a managedIOSLobApp 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 12e7f2cf7a0..42417cbdf01 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the windowsWebApp objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the win32LobApp objects. type MobileAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 windowsWebApp objects. +// Get list properties and relationships of the win32LobApp 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-windowswebapp-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-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 { @@ -182,12 +182,12 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new windowsMicrosoftEdgeApp object. +// Post create a new win32LobApp 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-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-win32lobapp-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 { @@ -205,7 +205,7 @@ func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the windowsWebApp objects. +// ToGetRequestInformation list properties and relationships of the win32LobApp 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) @@ -219,7 +219,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsMicrosoftEdgeApp object. +// ToPostRequestInformation create a new win32LobApp 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 99a38a61327..6281c5f8376 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 @@ -67,11 +67,11 @@ func NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windows10MobileCompliancePolicy. +// Delete deletes a windows10CompliancePolicy. // 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-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-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 { @@ -124,12 +124,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 androidCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -157,7 +157,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Sched func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ScheduledActionsForRule()(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a windows10MobileCompliancePolicy. +// ToDeleteRequestInformation deletes a windows10CompliancePolicy. // 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) @@ -182,7 +182,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 androidCompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index abb243e8482..bcd075e6fd4 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the iosCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the androidWorkProfileCompliancePolicy objects. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 iosCompliancePolicy objects. +// Get list properties and relationships of the androidWorkProfileCompliancePolicy 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-ioscompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-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 { @@ -102,12 +102,12 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable), nil } -// Post create a new windows81CompliancePolicy object. +// Post create a new windows10MobileCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-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 { @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the iosCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the androidWorkProfileCompliancePolicy 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) @@ -139,7 +139,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windows81CompliancePolicy object. +// ToPostRequestInformation create a new windows10MobileCompliancePolicy 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 5b817f1cfa4..fa9c312e87e 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosCustomConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the windows81GeneralConfiguration object. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,11 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a androidWorkProfileCustomConfiguration. +// Delete deletes a windowsPhone81CustomConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81customconfiguration-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 { @@ -101,12 +101,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 iosCustomConfiguration object. +// Get read properties and relationships of the windows81GeneralConfiguration 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-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-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 { @@ -129,12 +129,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 iosDeviceFeaturesConfiguration object. +// Patch update the properties of a windows81GeneralConfiguration 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-iosdevicefeaturesconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81generalconfiguration-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 { @@ -152,7 +152,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a androidWorkProfileCustomConfiguration. +// ToDeleteRequestInformation deletes a windowsPhone81CustomConfiguration. // 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) @@ -163,7 +163,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosCustomConfiguration object. +// ToGetRequestInformation read properties and relationships of the windows81GeneralConfiguration 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) @@ -177,7 +177,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosDeviceFeaturesConfiguration object. +// ToPatchRequestInformation update the properties of a windows81GeneralConfiguration 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 02d67baf3e5..283c8d5d265 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the windows10EnterpriseModernAppManagementConfiguration objects. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 androidWorkProfileGeneralDeviceConfiguration objects. +// Get list properties and relationships of the windows10EnterpriseModernAppManagementConfiguration 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-androidworkprofilegeneraldeviceconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-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 { @@ -102,12 +102,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new androidGeneralDeviceConfiguration object. +// Post create a new editionUpgradeConfiguration 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-androidgeneraldeviceconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-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 { @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the androidWorkProfileGeneralDeviceConfiguration objects. +// ToGetRequestInformation list properties and relationships of the windows10EnterpriseModernAppManagementConfiguration 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) @@ -139,7 +139,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidGeneralDeviceConfiguration object. +// ToPostRequestInformation create a new editionUpgradeConfiguration 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 ce6b24030c3..4ca6096a9a2 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 @@ -21,7 +21,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -86,12 +86,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// Get read properties and relationships of the deviceEnrollmentConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -148,7 +148,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// ToGetRequestInformation read properties and relationships of the deviceEnrollmentConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index 6d92517a7af..337dea62f81 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentConfiguration objects. type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,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 deviceEnrollmentWindowsHelloForBusinessConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-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 { @@ -125,7 +125,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentConfiguration 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) diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index e9c4f68bf33..6b5d5c9931a 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnector // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-wip-devicemanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-policyset-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 { @@ -188,7 +188,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-tem-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index a728e30a54d..048ca34ea14 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -21,7 +21,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"` @@ -76,12 +76,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 { @@ -99,12 +99,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 { @@ -138,7 +138,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) @@ -152,7 +152,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_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 1a020c95649..3aa12999aa4 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable), nil } -// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 54df9ab3cd3..e0f5ad94f93 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -109,12 +109,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put update the properties of an externalItem object. +// Put create a new externalItem object. // returns a ExternalItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0 func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -157,7 +157,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the properties of an externalItem object. +// ToPutRequestInformation create a new externalItem object. // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body i648e92ed22999203da3c8fad3bc63deefe974fd0d511e7f830d70ea0aff57ffc.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index 628d622bd74..53b80d9f2bb 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -54,7 +54,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 8247f083af9..e07f11bc4d0 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -102,12 +102,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationCollectionResponseable), nil } -// Post use reply thread or reply post to further post to that conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?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 { @@ -139,7 +139,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use reply thread or reply post to further post to that conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body 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 c6babe20015..457c8cc424c 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -61,7 +61,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/conversationthread-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?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 596f74f71b4..6224e41a3df 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +95,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 22d0b8a1eca..5dd512a0ec2 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a countryNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a countryNamedLocation object. +// Get retrieve the properties and relationships of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -133,7 +133,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a countryNamedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go index 688bf4ada3b..0f604b9eb12 100644 --- a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -21,7 +21,7 @@ type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return nil } -// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentWorkflowExtension object. +// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: +// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentWorkflowExtension object. +// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 0635aa5c671..55e467678f7 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -126362,6 +126362,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|getFieldDe github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetHideBotAfterEscalation():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetIsContentSharingNotificationEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetIsDeltaRosterEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetIsInteractiveRosterEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetAdditionalData(value:map[string]any):void @@ -126369,17 +126370,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetBacking github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetHideBotAfterEscalation(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetIsContentSharingNotificationEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetIsDeltaRosterEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetIsInteractiveRosterEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetHideBotAfterEscalation():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetIsContentSharingNotificationEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetIsDeltaRosterEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetIsInteractiveRosterEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetHideBotAfterEscalation(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetIsContentSharingNotificationEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetIsDeltaRosterEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetIsInteractiveRosterEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.callOptionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.callOptions~~>CallOptionsable @@ -154970,6 +154974,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|cons github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowAttendeeToEnableCamera():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowAttendeeToEnableMic():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowBreakoutRooms():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowCopyingAndSharingMeetingContent():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowedLobbyAdmitters():*AllowedLobbyAdmitterRoles github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowedPresenters():*OnlineMeetingPresenters github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowLiveShare():*MeetingLiveShareOptions @@ -155001,6 +155006,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|Seri github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowAttendeeToEnableCamera(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowAttendeeToEnableMic(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowBreakoutRooms(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowCopyingAndSharingMeetingContent(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowedLobbyAdmitters(value:*AllowedLobbyAdmitterRoles):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowedPresenters(value:*OnlineMeetingPresenters):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowLiveShare(value:*MeetingLiveShareOptions):void @@ -155030,6 +155036,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|static|publ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowAttendeeToEnableCamera():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowAttendeeToEnableMic():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowBreakoutRooms():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowCopyingAndSharingMeetingContent():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowedLobbyAdmitters():*AllowedLobbyAdmitterRoles github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowedPresenters():*OnlineMeetingPresenters github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowLiveShare():*MeetingLiveShareOptions @@ -155058,6 +155065,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowAttendeeToEnableCamera(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowAttendeeToEnableMic(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowBreakoutRooms(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowCopyingAndSharingMeetingContent(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowedLobbyAdmitters(value:*AllowedLobbyAdmitterRoles):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowedPresenters(value:*OnlineMeetingPresenters):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowLiveShare(value:*MeetingLiveShareOptions):void @@ -167863,6 +167871,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseStatus::0003-closi github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseStatus::0004-closed github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseStatus::0005-closedWithError github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseStatus::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseType::0000-standard +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseType::0001-premium +github.com/microsoftgraph/msgraph-sdk-go/.models.security.caseType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.categoryTemplate-->*FilePlanDescriptorTemplate github.com/microsoftgraph/msgraph-sdk-go/.models.security.categoryTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.categoryTemplate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -168574,21 +168585,29 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollecti github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetCaseType():*CaseType github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetOcr():OcrSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetRedundancyDetection():RedundancyDetectionSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetReviewSetSettings():*ReviewSetSettings github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|GetTopicModeling():TopicModelingSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|SetCaseType(value:*CaseType):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|SetOcr(value:OcrSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|SetRedundancyDetection(value:RedundancyDetectionSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|SetReviewSetSettings(value:*ReviewSetSettings):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|public|SetTopicModeling(value:TopicModelingSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|GetCaseType():*CaseType github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|GetOcr():OcrSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|GetRedundancyDetection():RedundancyDetectionSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|GetReviewSetSettings():*ReviewSetSettings github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|GetTopicModeling():TopicModelingSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|SetCaseType(value:*CaseType):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|SetOcr(value:OcrSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|SetRedundancyDetection(value:RedundancyDetectionSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|SetReviewSetSettings(value:*ReviewSetSettings):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable::|public|SetTopicModeling(value:TopicModelingSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCaseSettingsable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ediscoveryCustodian-->*DataSourceContainer @@ -171662,6 +171681,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.retentionTrigger::0001 github.com/microsoftgraph/msgraph-sdk-go/.models.security.retentionTrigger::0002-dateModified github.com/microsoftgraph/msgraph-sdk-go/.models.security.retentionTrigger::0003-dateOfEvent github.com/microsoftgraph/msgraph-sdk-go/.models.security.retentionTrigger::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.reviewSetSettings::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.security.reviewSetSettings::0001-disableGrouping +github.com/microsoftgraph/msgraph-sdk-go/.models.security.reviewSetSettings::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.sasTokenEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.sasTokenEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.sasTokenEvidence::|public|GetAllowedIpAddresses():*string @@ -171746,18 +171768,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.searchable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.security.searchable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetDistinguishedName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetFriendlyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetSecurityGroupId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|GetSid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetActiveDirectoryObjectGuid(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetDistinguishedName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetFriendlyName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetSecurityGroupId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|public|SetSid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetDistinguishedName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetFriendlyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetSecurityGroupId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|GetSid():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetActiveDirectoryObjectGuid(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetDistinguishedName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.securityGroupEvidenceable::|public|SetFriendlyName(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::|public|SetSid(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 @@ -172520,6 +172558,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetAccountName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetAzureAdUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetBackingStore():BackingStore @@ -172532,6 +172571,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetUserSid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetAccountName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetActiveDirectoryObjectGuid(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetAzureAdUserId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetBackingStore(value:BackingStore):void @@ -172543,6 +172583,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|SetUserSid(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetAccountName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetAzureAdUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetDisplayName():*string @@ -172552,6 +172593,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetUserPrincipalName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|GetUserSid():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetAccountName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetActiveDirectoryObjectGuid(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetAzureAdUserId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccountable::|public|SetDisplayName(value:*string):void @@ -186767,6 +186809,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.whatIfAnalysisResultable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.whatIfAnalysisResultable~~>ConditionalAccessPolicyable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp-->*MobileLobApp github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|GetAllowedArchitectures():*WindowsArchitecture github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|GetApplicableArchitectures():*WindowsArchitecture github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|GetInstallCommandLine():*string @@ -186783,6 +186826,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|GetSetupFi github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|GetUninstallCommandLine():*string github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetAllowedArchitectures(value:*WindowsArchitecture):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetApplicableArchitectures(value:*WindowsArchitecture):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetInstallCommandLine(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetInstallExperience(value:Win32LobAppInstallExperienceable):void @@ -186797,6 +186841,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetRules(v github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetSetupFilePath(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|public|SetUninstallCommandLine(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobApp::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetAllowedArchitectures():*WindowsArchitecture github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetApplicableArchitectures():*WindowsArchitecture github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetInstallCommandLine():*string github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetInstallExperience():Win32LobAppInstallExperienceable @@ -186810,6 +186855,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetRet github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetRules():[]Win32LobAppRuleable github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetSetupFilePath():*string github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|GetUninstallCommandLine():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|SetAllowedArchitectures(value:*WindowsArchitecture):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|SetApplicableArchitectures(value:*WindowsArchitecture):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|SetInstallCommandLine(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.win32LobAppable::|public|SetInstallExperience(value:Win32LobAppInstallExperienceable):void diff --git a/kiota-lock.json b/kiota-lock.json index ec7a7a38405..efacd89335c 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "E01C4BCC206EDA131EFD5AB6B8DB6A3CDBDF7E9EFA3841EE32204BD04CE0332398C1510D4C5AE9D0E7CB278EBA2E339FF905C873CF23FAFD91AD3797013DF9C1", + "descriptionHash": "CD7F4C8E276C54989E366B625D0A4832510F83F11C6F78C53260C614AE18C8C01F6320C93EC0E93832069B560BAF17797870061D96492F1AA8CEDC2B5A075466", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0", diff --git a/models/call_options.go b/models/call_options.go index 3b803872236..ed058b84aff 100644 --- a/models/call_options.go +++ b/models/call_options.go @@ -97,6 +97,16 @@ func (m *CallOptions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["isInteractiveRosterEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsInteractiveRosterEnabled(val) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -145,6 +155,18 @@ func (m *CallOptions) GetIsDeltaRosterEnabled()(*bool) { } return nil } +// GetIsInteractiveRosterEnabled gets the isInteractiveRosterEnabled property value. Indicates whether delta roster filtering by participant interactivity is enabled. +// returns a *bool when successful +func (m *CallOptions) GetIsInteractiveRosterEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isInteractiveRosterEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetOdataType gets the @odata.type property value. The OdataType property // returns a *string when successful func (m *CallOptions) GetOdataType()(*string) { @@ -177,6 +199,12 @@ func (m *CallOptions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err := writer.WriteBoolValue("isInteractiveRosterEnabled", m.GetIsInteractiveRosterEnabled()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -223,6 +251,13 @@ func (m *CallOptions) SetIsDeltaRosterEnabled(value *bool)() { panic(err) } } +// SetIsInteractiveRosterEnabled sets the isInteractiveRosterEnabled property value. Indicates whether delta roster filtering by participant interactivity is enabled. +func (m *CallOptions) SetIsInteractiveRosterEnabled(value *bool)() { + err := m.GetBackingStore().Set("isInteractiveRosterEnabled", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *CallOptions) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -238,10 +273,12 @@ type CallOptionsable interface { GetHideBotAfterEscalation()(*bool) GetIsContentSharingNotificationEnabled()(*bool) GetIsDeltaRosterEnabled()(*bool) + GetIsInteractiveRosterEnabled()(*bool) GetOdataType()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetHideBotAfterEscalation(value *bool)() SetIsContentSharingNotificationEnabled(value *bool)() SetIsDeltaRosterEnabled(value *bool)() + SetIsInteractiveRosterEnabled(value *bool)() SetOdataType(value *string)() } diff --git a/models/cloud_pc_device_image.go b/models/cloud_pc_device_image.go index 08b343540e6..3694c0a402f 100644 --- a/models/cloud_pc_device_image.go +++ b/models/cloud_pc_device_image.go @@ -177,7 +177,7 @@ func (m *CloudPcDeviceImage) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetOperatingSystem gets the operatingSystem property value. The operating system (OS) of the image. For example, Windows 10 Enterprise. Read-only. +// GetOperatingSystem gets the operatingSystem property value. The operating system (OS) of the image. For example, Windows 11 Enterprise. Read-only. // returns a *string when successful func (m *CloudPcDeviceImage) GetOperatingSystem()(*string) { val, err := m.GetBackingStore().Get("operatingSystem") @@ -348,7 +348,7 @@ func (m *CloudPcDeviceImage) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetOperatingSystem sets the operatingSystem property value. The operating system (OS) of the image. For example, Windows 10 Enterprise. Read-only. +// SetOperatingSystem sets the operatingSystem property value. The operating system (OS) of the image. For example, Windows 11 Enterprise. Read-only. func (m *CloudPcDeviceImage) SetOperatingSystem(value *string)() { err := m.GetBackingStore().Set("operatingSystem", value) if err != nil { diff --git a/models/granular_mailbox_restore_artifact.go b/models/granular_mailbox_restore_artifact.go index 57ad1926de6..c8ed98df445 100644 --- a/models/granular_mailbox_restore_artifact.go +++ b/models/granular_mailbox_restore_artifact.go @@ -22,7 +22,7 @@ func NewGranularMailboxRestoreArtifact()(*GranularMailboxRestoreArtifact) { func CreateGranularMailboxRestoreArtifactFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewGranularMailboxRestoreArtifact(), nil } -// GetArtifactCount gets the artifactCount property value. . +// GetArtifactCount gets the artifactCount property value. This property will be deprecated soon. Don't use. // returns a *int32 when successful func (m *GranularMailboxRestoreArtifact) GetArtifactCount()(*int32) { val, err := m.GetBackingStore().Get("artifactCount") @@ -92,7 +92,7 @@ func (m *GranularMailboxRestoreArtifact) Serialize(writer i878a80d2330e89d268963 } return nil } -// SetArtifactCount sets the artifactCount property value. . +// SetArtifactCount sets the artifactCount property value. This property will be deprecated soon. Don't use. func (m *GranularMailboxRestoreArtifact) SetArtifactCount(value *int32)() { err := m.GetBackingStore().Set("artifactCount", value) if err != nil { diff --git a/models/managed_app_data_storage_location.go b/models/managed_app_data_storage_location.go index f3fac7207d5..c9f7bb8d3fe 100644 --- a/models/managed_app_data_storage_location.go +++ b/models/managed_app_data_storage_location.go @@ -2,17 +2,17 @@ // Changes may cause incorrect behavior and will be lost if the code is regenerated. package models -// Storage locations where managed apps can potentially store their data +// The storage locations where managed apps can potentially store their data. type ManagedAppDataStorageLocation int const ( - // OneDrive for business + // Indicates allowed storage location for the managed app to save files is 'OneDrive for Business'. ONEDRIVEFORBUSINESS_MANAGEDAPPDATASTORAGELOCATION ManagedAppDataStorageLocation = iota - // SharePoint + // Indicates allowed storage location for the managed app to save files is 'Sharepoint'. SHAREPOINT_MANAGEDAPPDATASTORAGELOCATION - // Box + // Indicates that the allowed storage location for a managed app to save files is to 'Box'. Box is a non-Microsoft solution that enables cloud-based file storage capabilities. BOX_MANAGEDAPPDATASTORAGELOCATION - // Local storage on the device + // Indicates allowed storage location for the managed app to save files is local storage on the device. LOCALSTORAGE_MANAGEDAPPDATASTORAGELOCATION ) diff --git a/models/online_meeting_base.go b/models/online_meeting_base.go index 02ecdc82ffe..870c91bd463 100644 --- a/models/online_meeting_base.go +++ b/models/online_meeting_base.go @@ -78,6 +78,18 @@ func (m *OnlineMeetingBase) GetAllowBreakoutRooms()(*bool) { } return nil } +// GetAllowCopyingAndSharingMeetingContent gets the allowCopyingAndSharingMeetingContent property value. The allowCopyingAndSharingMeetingContent property +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowCopyingAndSharingMeetingContent()(*bool) { + val, err := m.GetBackingStore().Get("allowCopyingAndSharingMeetingContent") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAllowedLobbyAdmitters gets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. // returns a *AllowedLobbyAdmitterRoles when successful func (m *OnlineMeetingBase) GetAllowedLobbyAdmitters()(*AllowedLobbyAdmitterRoles) { @@ -280,6 +292,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowCopyingAndSharingMeetingContent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowCopyingAndSharingMeetingContent(val) + } + return nil + } res["allowedLobbyAdmitters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseAllowedLobbyAdmitterRoles) if err != nil { @@ -694,6 +716,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowCopyingAndSharingMeetingContent", m.GetAllowCopyingAndSharingMeetingContent()) + if err != nil { + return err + } + } if m.GetAllowedLobbyAdmitters() != nil { cast := (*m.GetAllowedLobbyAdmitters()).String() err = writer.WriteStringValue("allowedLobbyAdmitters", &cast) @@ -878,6 +906,13 @@ func (m *OnlineMeetingBase) SetAllowBreakoutRooms(value *bool)() { panic(err) } } +// SetAllowCopyingAndSharingMeetingContent sets the allowCopyingAndSharingMeetingContent property value. The allowCopyingAndSharingMeetingContent property +func (m *OnlineMeetingBase) SetAllowCopyingAndSharingMeetingContent(value *bool)() { + err := m.GetBackingStore().Set("allowCopyingAndSharingMeetingContent", value) + if err != nil { + panic(err) + } +} // SetAllowedLobbyAdmitters sets the allowedLobbyAdmitters property value. Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. func (m *OnlineMeetingBase) SetAllowedLobbyAdmitters(value *AllowedLobbyAdmitterRoles)() { err := m.GetBackingStore().Set("allowedLobbyAdmitters", value) @@ -1059,6 +1094,7 @@ type OnlineMeetingBaseable interface { GetAllowAttendeeToEnableCamera()(*bool) GetAllowAttendeeToEnableMic()(*bool) GetAllowBreakoutRooms()(*bool) + GetAllowCopyingAndSharingMeetingContent()(*bool) GetAllowedLobbyAdmitters()(*AllowedLobbyAdmitterRoles) GetAllowedPresenters()(*OnlineMeetingPresenters) GetAllowLiveShare()(*MeetingLiveShareOptions) @@ -1087,6 +1123,7 @@ type OnlineMeetingBaseable interface { SetAllowAttendeeToEnableCamera(value *bool)() SetAllowAttendeeToEnableMic(value *bool)() SetAllowBreakoutRooms(value *bool)() + SetAllowCopyingAndSharingMeetingContent(value *bool)() SetAllowedLobbyAdmitters(value *AllowedLobbyAdmitterRoles)() SetAllowedPresenters(value *OnlineMeetingPresenters)() SetAllowLiveShare(value *MeetingLiveShareOptions)() diff --git a/models/security/alert.go b/models/security/alert.go index f541e6bb261..d719ac12e5e 100644 --- a/models/security/alert.go +++ b/models/security/alert.go @@ -156,7 +156,7 @@ func (m *Alert) GetDescription()(*string) { } return nil } -// GetDetectionSource gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. +// GetDetectionSource gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. // returns a *DetectionSource when successful func (m *Alert) GetDetectionSource()(*DetectionSource) { val, err := m.GetBackingStore().Get("detectionSource") @@ -1081,7 +1081,7 @@ func (m *Alert) SetDescription(value *string)() { panic(err) } } -// SetDetectionSource sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. +// SetDetectionSource sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. func (m *Alert) SetDetectionSource(value *DetectionSource)() { err := m.GetBackingStore().Set("detectionSource", value) if err != nil { diff --git a/models/security/case_type.go b/models/security/case_type.go new file mode 100644 index 00000000000..15f1e36fbaf --- /dev/null +++ b/models/security/case_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type CaseType int + +const ( + STANDARD_CASETYPE CaseType = iota + PREMIUM_CASETYPE + UNKNOWNFUTUREVALUE_CASETYPE +) + +func (i CaseType) String() string { + return []string{"standard", "premium", "unknownFutureValue"}[i] +} +func ParseCaseType(v string) (any, error) { + result := STANDARD_CASETYPE + switch v { + case "standard": + result = STANDARD_CASETYPE + case "premium": + result = PREMIUM_CASETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CASETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeCaseType(values []CaseType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CaseType) isMultiValue() bool { + return false +} diff --git a/models/security/ediscovery_case_settings.go b/models/security/ediscovery_case_settings.go index e29e481c554..2894b8a28e8 100644 --- a/models/security/ediscovery_case_settings.go +++ b/models/security/ediscovery_case_settings.go @@ -23,10 +23,32 @@ func NewEdiscoveryCaseSettings()(*EdiscoveryCaseSettings) { func CreateEdiscoveryCaseSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEdiscoveryCaseSettings(), nil } +// GetCaseType gets the caseType property value. The caseType property +// returns a *CaseType when successful +func (m *EdiscoveryCaseSettings) GetCaseType()(*CaseType) { + val, err := m.GetBackingStore().Get("caseType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CaseType) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EdiscoveryCaseSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["caseType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCaseType) + if err != nil { + return err + } + if val != nil { + m.SetCaseType(val.(*CaseType)) + } + return nil + } res["ocr"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateOcrSettingsFromDiscriminatorValue) if err != nil { @@ -47,6 +69,16 @@ func (m *EdiscoveryCaseSettings) GetFieldDeserializers()(map[string]func(i878a80 } return nil } + res["reviewSetSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseReviewSetSettings) + if err != nil { + return err + } + if val != nil { + m.SetReviewSetSettings(val.(*ReviewSetSettings)) + } + return nil + } res["topicModeling"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateTopicModelingSettingsFromDiscriminatorValue) if err != nil { @@ -83,6 +115,18 @@ func (m *EdiscoveryCaseSettings) GetRedundancyDetection()(RedundancyDetectionSet } return nil } +// GetReviewSetSettings gets the reviewSetSettings property value. The reviewSetSettings property +// returns a *ReviewSetSettings when successful +func (m *EdiscoveryCaseSettings) GetReviewSetSettings()(*ReviewSetSettings) { + val, err := m.GetBackingStore().Get("reviewSetSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ReviewSetSettings) + } + return nil +} // GetTopicModeling gets the topicModeling property value. The Topic Modeling (Themes) settings for the case. // returns a TopicModelingSettingsable when successful func (m *EdiscoveryCaseSettings) GetTopicModeling()(TopicModelingSettingsable) { @@ -101,6 +145,13 @@ func (m *EdiscoveryCaseSettings) Serialize(writer i878a80d2330e89d26896388a3f487 if err != nil { return err } + if m.GetCaseType() != nil { + cast := (*m.GetCaseType()).String() + err = writer.WriteStringValue("caseType", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("ocr", m.GetOcr()) if err != nil { @@ -113,6 +164,13 @@ func (m *EdiscoveryCaseSettings) Serialize(writer i878a80d2330e89d26896388a3f487 return err } } + if m.GetReviewSetSettings() != nil { + cast := (*m.GetReviewSetSettings()).String() + err = writer.WriteStringValue("reviewSetSettings", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("topicModeling", m.GetTopicModeling()) if err != nil { @@ -121,6 +179,13 @@ func (m *EdiscoveryCaseSettings) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } +// SetCaseType sets the caseType property value. The caseType property +func (m *EdiscoveryCaseSettings) SetCaseType(value *CaseType)() { + err := m.GetBackingStore().Set("caseType", value) + if err != nil { + panic(err) + } +} // SetOcr sets the ocr property value. The OCR (Optical Character Recognition) settings for the case. func (m *EdiscoveryCaseSettings) SetOcr(value OcrSettingsable)() { err := m.GetBackingStore().Set("ocr", value) @@ -135,6 +200,13 @@ func (m *EdiscoveryCaseSettings) SetRedundancyDetection(value RedundancyDetectio panic(err) } } +// SetReviewSetSettings sets the reviewSetSettings property value. The reviewSetSettings property +func (m *EdiscoveryCaseSettings) SetReviewSetSettings(value *ReviewSetSettings)() { + err := m.GetBackingStore().Set("reviewSetSettings", value) + if err != nil { + panic(err) + } +} // SetTopicModeling sets the topicModeling property value. The Topic Modeling (Themes) settings for the case. func (m *EdiscoveryCaseSettings) SetTopicModeling(value TopicModelingSettingsable)() { err := m.GetBackingStore().Set("topicModeling", value) @@ -145,10 +217,14 @@ func (m *EdiscoveryCaseSettings) SetTopicModeling(value TopicModelingSettingsabl type EdiscoveryCaseSettingsable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCaseType()(*CaseType) GetOcr()(OcrSettingsable) GetRedundancyDetection()(RedundancyDetectionSettingsable) + GetReviewSetSettings()(*ReviewSetSettings) GetTopicModeling()(TopicModelingSettingsable) + SetCaseType(value *CaseType)() SetOcr(value OcrSettingsable)() SetRedundancyDetection(value RedundancyDetectionSettingsable)() + SetReviewSetSettings(value *ReviewSetSettings)() SetTopicModeling(value TopicModelingSettingsable)() } diff --git a/models/security/review_set_settings.go b/models/security/review_set_settings.go new file mode 100644 index 00000000000..b8cc1288f82 --- /dev/null +++ b/models/security/review_set_settings.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +import ( + "math" + "strings" +) +type ReviewSetSettings int + +const ( + NONE_REVIEWSETSETTINGS = 1 + DISABLEGROUPING_REVIEWSETSETTINGS = 2 + UNKNOWNFUTUREVALUE_REVIEWSETSETTINGS = 4 +) + +func (i ReviewSetSettings) String() string { + var values []string + options := []string{"none", "disableGrouping", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := ReviewSetSettings(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseReviewSetSettings(v string) (any, error) { + var result ReviewSetSettings + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_REVIEWSETSETTINGS + case "disableGrouping": + result |= DISABLEGROUPING_REVIEWSETSETTINGS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_REVIEWSETSETTINGS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeReviewSetSettings(values []ReviewSetSettings) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ReviewSetSettings) isMultiValue() bool { + return true +} diff --git a/models/security/security_group_evidence.go b/models/security/security_group_evidence.go index d40abcc6508..ebe17bbc5e5 100644 --- a/models/security/security_group_evidence.go +++ b/models/security/security_group_evidence.go @@ -4,6 +4,7 @@ package security import ( + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) @@ -24,6 +25,18 @@ func NewSecurityGroupEvidence()(*SecurityGroupEvidence) { func CreateSecurityGroupEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSecurityGroupEvidence(), nil } +// GetActiveDirectoryObjectGuid gets the activeDirectoryObjectGuid property value. The unique group identifier assigned by the on-premises Active Directory. +// returns a *UUID when successful +func (m *SecurityGroupEvidence) GetActiveDirectoryObjectGuid()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("activeDirectoryObjectGuid") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} // GetDisplayName gets the displayName property value. The name of the security group. // returns a *string when successful func (m *SecurityGroupEvidence) GetDisplayName()(*string) { @@ -36,10 +49,32 @@ func (m *SecurityGroupEvidence) GetDisplayName()(*string) { } return nil } +// GetDistinguishedName gets the distinguishedName property value. The distinguished name of the security group. +// returns a *string when successful +func (m *SecurityGroupEvidence) GetDistinguishedName()(*string) { + val, err := m.GetBackingStore().Get("distinguishedName") + 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 *SecurityGroupEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.AlertEvidence.GetFieldDeserializers() + res["activeDirectoryObjectGuid"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetActiveDirectoryObjectGuid(val) + } + return nil + } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -50,6 +85,26 @@ func (m *SecurityGroupEvidence) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["distinguishedName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDistinguishedName(val) + } + return nil + } + res["friendlyName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFriendlyName(val) + } + return nil + } res["securityGroupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -60,8 +115,30 @@ func (m *SecurityGroupEvidence) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["sid"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSid(val) + } + return nil + } return res } +// GetFriendlyName gets the friendlyName property value. The friendly name of the security group. +// returns a *string when successful +func (m *SecurityGroupEvidence) GetFriendlyName()(*string) { + val, err := m.GetBackingStore().Get("friendlyName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetSecurityGroupId gets the securityGroupId property value. Unique identifier of the security group. // returns a *string when successful func (m *SecurityGroupEvidence) GetSecurityGroupId()(*string) { @@ -74,26 +151,69 @@ func (m *SecurityGroupEvidence) GetSecurityGroupId()(*string) { } return nil } +// GetSid gets the sid property value. The security identifier of the group. +// returns a *string when successful +func (m *SecurityGroupEvidence) GetSid()(*string) { + val, err := m.GetBackingStore().Get("sid") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // Serialize serializes information the current object func (m *SecurityGroupEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.AlertEvidence.Serialize(writer) if err != nil { return err } + { + err = writer.WriteUUIDValue("activeDirectoryObjectGuid", m.GetActiveDirectoryObjectGuid()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { return err } } + { + err = writer.WriteStringValue("distinguishedName", m.GetDistinguishedName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("friendlyName", m.GetFriendlyName()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("securityGroupId", m.GetSecurityGroupId()) if err != nil { return err } } + { + err = writer.WriteStringValue("sid", m.GetSid()) + if err != nil { + return err + } + } return nil } +// SetActiveDirectoryObjectGuid sets the activeDirectoryObjectGuid property value. The unique group identifier assigned by the on-premises Active Directory. +func (m *SecurityGroupEvidence) SetActiveDirectoryObjectGuid(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("activeDirectoryObjectGuid", value) + if err != nil { + panic(err) + } +} // SetDisplayName sets the displayName property value. The name of the security group. func (m *SecurityGroupEvidence) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -101,6 +221,20 @@ func (m *SecurityGroupEvidence) SetDisplayName(value *string)() { panic(err) } } +// SetDistinguishedName sets the distinguishedName property value. The distinguished name of the security group. +func (m *SecurityGroupEvidence) SetDistinguishedName(value *string)() { + err := m.GetBackingStore().Set("distinguishedName", value) + if err != nil { + panic(err) + } +} +// SetFriendlyName sets the friendlyName property value. The friendly name of the security group. +func (m *SecurityGroupEvidence) SetFriendlyName(value *string)() { + err := m.GetBackingStore().Set("friendlyName", value) + if err != nil { + panic(err) + } +} // SetSecurityGroupId sets the securityGroupId property value. Unique identifier of the security group. func (m *SecurityGroupEvidence) SetSecurityGroupId(value *string)() { err := m.GetBackingStore().Set("securityGroupId", value) @@ -108,11 +242,26 @@ func (m *SecurityGroupEvidence) SetSecurityGroupId(value *string)() { panic(err) } } +// SetSid sets the sid property value. The security identifier of the group. +func (m *SecurityGroupEvidence) SetSid(value *string)() { + err := m.GetBackingStore().Set("sid", value) + if err != nil { + panic(err) + } +} type SecurityGroupEvidenceable interface { AlertEvidenceable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActiveDirectoryObjectGuid()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) GetDisplayName()(*string) + GetDistinguishedName()(*string) + GetFriendlyName()(*string) GetSecurityGroupId()(*string) + GetSid()(*string) + SetActiveDirectoryObjectGuid(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() SetDisplayName(value *string)() + SetDistinguishedName(value *string)() + SetFriendlyName(value *string)() SetSecurityGroupId(value *string)() + SetSid(value *string)() } diff --git a/models/security/user_account.go b/models/security/user_account.go index 8ea5b21f5f5..351654aa9cb 100644 --- a/models/security/user_account.go +++ b/models/security/user_account.go @@ -4,6 +4,7 @@ package security import ( + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) @@ -37,6 +38,18 @@ func (m *UserAccount) GetAccountName()(*string) { } return nil } +// GetActiveDirectoryObjectGuid gets the activeDirectoryObjectGuid property value. The unique user identifier assigned by the on-premises Active Directory. +// returns a *UUID when successful +func (m *UserAccount) GetActiveDirectoryObjectGuid()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("activeDirectoryObjectGuid") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return 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 *UserAccount) GetAdditionalData()(map[string]any) { @@ -105,6 +118,16 @@ func (m *UserAccount) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["activeDirectoryObjectGuid"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetActiveDirectoryObjectGuid(val) + } + return nil + } res["azureAdUserId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -239,6 +262,12 @@ func (m *UserAccount) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err := writer.WriteUUIDValue("activeDirectoryObjectGuid", m.GetActiveDirectoryObjectGuid()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("azureAdUserId", m.GetAzureAdUserId()) if err != nil { @@ -302,6 +331,13 @@ func (m *UserAccount) SetAccountName(value *string)() { panic(err) } } +// SetActiveDirectoryObjectGuid sets the activeDirectoryObjectGuid property value. The unique user identifier assigned by the on-premises Active Directory. +func (m *UserAccount) SetActiveDirectoryObjectGuid(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("activeDirectoryObjectGuid", value) + if err != nil { + panic(err) + } +} // 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 *UserAccount) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) @@ -367,6 +403,7 @@ type UserAccountable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccountName()(*string) + GetActiveDirectoryObjectGuid()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) GetAzureAdUserId()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetDisplayName()(*string) @@ -376,6 +413,7 @@ type UserAccountable interface { GetUserPrincipalName()(*string) GetUserSid()(*string) SetAccountName(value *string)() + SetActiveDirectoryObjectGuid(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() SetAzureAdUserId(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetDisplayName(value *string)() diff --git a/models/win32_lob_app.go b/models/win32_lob_app.go index c9b0dbb4d49..743a92ae074 100644 --- a/models/win32_lob_app.go +++ b/models/win32_lob_app.go @@ -25,6 +25,18 @@ func NewWin32LobApp()(*Win32LobApp) { func CreateWin32LobAppFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWin32LobApp(), nil } +// GetAllowedArchitectures gets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the `allowedArchitectures` property, the value of the `applicableArchitectures` property is set to `none`. Possible values are: `null`, `x86`, `x64`, `arm64`. +// returns a *WindowsArchitecture when successful +func (m *Win32LobApp) GetAllowedArchitectures()(*WindowsArchitecture) { + val, err := m.GetBackingStore().Get("allowedArchitectures") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WindowsArchitecture) + } + return nil +} // GetApplicableArchitectures gets the applicableArchitectures property value. Contains properties for Windows architecture. // returns a *WindowsArchitecture when successful func (m *Win32LobApp) GetApplicableArchitectures()(*WindowsArchitecture) { @@ -41,6 +53,16 @@ func (m *Win32LobApp) GetApplicableArchitectures()(*WindowsArchitecture) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Win32LobApp) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.MobileLobApp.GetFieldDeserializers() + res["allowedArchitectures"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWindowsArchitecture) + if err != nil { + return err + } + if val != nil { + m.SetAllowedArchitectures(val.(*WindowsArchitecture)) + } + return nil + } res["applicableArchitectures"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseWindowsArchitecture) if err != nil { @@ -335,6 +357,13 @@ func (m *Win32LobApp) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 if err != nil { return err } + if m.GetAllowedArchitectures() != nil { + cast := (*m.GetAllowedArchitectures()).String() + err = writer.WriteStringValue("allowedArchitectures", &cast) + if err != nil { + return err + } + } if m.GetApplicableArchitectures() != nil { cast := (*m.GetApplicableArchitectures()).String() err = writer.WriteStringValue("applicableArchitectures", &cast) @@ -428,6 +457,13 @@ func (m *Win32LobApp) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } +// SetAllowedArchitectures sets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the `allowedArchitectures` property, the value of the `applicableArchitectures` property is set to `none`. Possible values are: `null`, `x86`, `x64`, `arm64`. +func (m *Win32LobApp) SetAllowedArchitectures(value *WindowsArchitecture)() { + err := m.GetBackingStore().Set("allowedArchitectures", value) + if err != nil { + panic(err) + } +} // SetApplicableArchitectures sets the applicableArchitectures property value. Contains properties for Windows architecture. func (m *Win32LobApp) SetApplicableArchitectures(value *WindowsArchitecture)() { err := m.GetBackingStore().Set("applicableArchitectures", value) @@ -522,6 +558,7 @@ func (m *Win32LobApp) SetUninstallCommandLine(value *string)() { type Win32LobAppable interface { MobileLobAppable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedArchitectures()(*WindowsArchitecture) GetApplicableArchitectures()(*WindowsArchitecture) GetInstallCommandLine()(*string) GetInstallExperience()(Win32LobAppInstallExperienceable) @@ -535,6 +572,7 @@ type Win32LobAppable interface { GetRules()([]Win32LobAppRuleable) GetSetupFilePath()(*string) GetUninstallCommandLine()(*string) + SetAllowedArchitectures(value *WindowsArchitecture)() SetApplicableArchitectures(value *WindowsArchitecture)() SetInstallCommandLine(value *string)() SetInstallExperience(value Win32LobAppInstallExperienceable)() diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index f343be25b32..2f5a039bb9a 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -63,12 +63,12 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// Get retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ToGetRequestInformation retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 83834f45737..33f812a4ab2 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -131,12 +131,12 @@ func (m *OrganizationItemRequestBuilder) GetMemberGroups()(*ItemGetMemberGroupsR func (m *OrganizationItemRequestBuilder) GetMemberObjects()(*ItemGetMemberObjectsRequestBuilder) { return NewItemGetMemberObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a organization object. +// Patch update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. // returns a Organizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 func (m *OrganizationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, requestConfiguration *OrganizationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -189,7 +189,7 @@ func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a organization object. +// ToPatchRequestInformation update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. // returns a *RequestInformation when successful func (m *OrganizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, requestConfiguration *OrganizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 26ea7039405..710b2ba66fc 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -57,11 +57,11 @@ func NewItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. +// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Patch update the role of a conversationMember in a team or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. +// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPatchRequestInformation update the role of a conversationMember in a team or channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index c903baac7f0..564caefa9cd 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -107,12 +107,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified channel. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?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 { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index 6f5436ae3f1..d2ef2d9d9a7 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -21,7 +21,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"` @@ -83,12 +83,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 { @@ -152,7 +152,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/users_request_builder.go b/users/users_request_builder.go index 66f1af391ec..53f85b24185 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -120,7 +120,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 {