diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 83d424a2a4..8e9f0d47e8 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index fd0ade1607..7e80488c1c 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -62,7 +62,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-unlock-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 { @@ -130,7 +130,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index 1a6181f78a..d052b75590 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-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 1fe8af613b..d641a61a13 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppProtection object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtection object. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppProtection object. +// Get read properties and relationships of the windowsInformationProtection 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-managedappprotection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppProtection object. +// ToGetRequestInformation read properties and relationships of the windowsInformationProtection object. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 36a08e1b66..936e9913e5 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-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 aaa08ba093..2013f7ca57 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -34,7 +34,7 @@ func NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-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 c57ced9cbc..a20d0c2d1b 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppRegistration object. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,12 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the androidManagedAppRegistration object. +// Get read properties and relationships of the managedAppRegistration object. // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the androidManagedAppRegistration object. +// ToGetRequestInformation read properties and relationships of the managedAppRegistration 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 b893796343..0c0254e93d 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the androidManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) { return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidManagedAppRegistration objects. +// Get list properties and relationships of the iosManagedAppRegistration 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-androidmanagedappregistration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil } -// ToGetRequestInformation list properties and relationships of the androidManagedAppRegistration objects. +// ToGetRequestInformation list properties and relationships of the iosManagedAppRegistration 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 6bb83c7ee3..c305ec3804 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object. +// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatus object. type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the 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 { @@ -124,7 +124,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 2d1c79eb32..08a6d69f62 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 @@ -54,11 +54,11 @@ func NewManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosVppEBookAssignment. +// Delete deletes a managedEBookAssignment. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) P } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// ToDeleteRequestInformation deletes a iosVppEBookAssignment. +// ToDeleteRequestInformation deletes a managedEBookAssignment. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index 1faa1c5dc1..300a108c82 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedEBooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBook objects. +// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the managedEBook objects. type ManagedEBooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewManagedEBooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ManagedEBooksRequestBuilder) Count()(*ManagedEBooksCountRequestBuilder) { return NewManagedEBooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosVppEBook objects. +// Get list properties and relationships of the managedEBook objects. // returns a ManagedEBookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToGetRequestInformation list properties and relationships of the iosVppEBook objects. +// ToGetRequestInformation list properties and relationships of the managedEBook objects. // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index 59c9fb0262..1d443685cd 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the iosStoreApp object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the windowsMicrosoftEdgeApp object. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,11 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedIOSStoreApp. +// Delete deletes a microsoftStoreForBusinessApp. // 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-managediosstoreapp-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +88,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the iosStoreApp 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-iosstoreapp-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 { @@ -191,12 +191,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a iosVppApp object. +// Patch update the properties of a 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-iosvppapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -214,7 +214,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a managedIOSStoreApp. +// ToDeleteRequestInformation deletes a microsoftStoreForBusinessApp. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -225,7 +225,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosStoreApp 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) @@ -239,7 +239,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosVppApp object. +// ToPatchRequestInformation update the properties of a windowsMicrosoftEdgeApp 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 1db512e54f..86c3f148e7 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -179,12 +179,12 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new androidLobApp object. +// Post create a new windowsMobileMSI 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-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-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 { @@ -216,7 +216,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidLobApp object. +// ToPostRequestInformation create a new windowsMobileMSI 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 46ae637da0..4e2daf26e0 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 @@ -121,12 +121,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// Patch update the properties of a windows10CompliancePolicy object. +// Patch update the properties of a windowsPhone81CompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -179,7 +179,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windows10CompliancePolicy object. +// ToPatchRequestInformation update the properties of a windowsPhone81CompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index e683f6ba16..ef565b516b 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the androidCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the windows81CompliancePolicy objects. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceCompliancePoliciesRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceCompliancePoliciesRequestBuilder) Count()(*DeviceCompliancePoliciesCountRequestBuilder) { return NewDeviceCompliancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidCompliancePolicy objects. +// Get list properties and relationships of the windows81CompliancePolicy objects. // returns a DeviceCompliancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the androidCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the windows81CompliancePolicy objects. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index 3d1989db25..0cbd033bed 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -64,11 +64,11 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a sharedPCConfiguration. +// Delete deletes a iosDeviceFeaturesConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-sharedpcconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-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 { @@ -149,7 +149,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a sharedPCConfiguration. +// ToDeleteRequestInformation deletes a iosDeviceFeaturesConfiguration. // 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) diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index 75836c436e..607e870136 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the windows10SecureAssessmentConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceConfiguration objects. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *DeviceConfigurationsRequestBuilder) Count()(*DeviceConfigurationsCountRequestBuilder) { return NewDeviceConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windows10SecureAssessmentConfiguration objects. +// Get list properties and relationships of the deviceConfiguration 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-windows10secureassessmentconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-deviceconfiguration-list?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new androidWorkProfileGeneralDeviceConfiguration object. +// Post create a new macOSDeviceFeaturesConfiguration 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-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the windows10SecureAssessmentConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new androidWorkProfileGeneralDeviceConfiguration object. +// ToPostRequestInformation create a new macOSDeviceFeaturesConfiguration 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 5d0e59b5de..c3244fd15b 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,11 @@ func NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBu urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceEnrollmentLimitConfiguration. +// Delete deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +83,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// Get read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +106,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Patch update the properties of a deviceEnrollmentLimitConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) SetPriority()(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceEnrollmentLimitConfiguration. +// ToDeleteRequestInformation deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +145,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentLimitConfiguration object. +// ToGetRequestInformation read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +159,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToPatchRequestInformation update the properties of a deviceEnrollmentLimitConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index 3e43eb19e4..831fb88463 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl string, requestAdapt func (m *DeviceEnrollmentConfigurationsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceEnrollmentConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. // returns a DeviceEnrollmentConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable), nil } -// Post create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Post create a new deviceEnrollmentPlatformRestrictionsConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToPostRequestInformation create a new deviceEnrollmentPlatformRestrictionsConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index d4bff48ff7..ee260c1d5e 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnector // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicemanagement-get?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -185,7 +185,7 @@ func (m *DeviceManagementRequestBuilder) NotificationMessageTemplates()(*Notific // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-raimportcerts-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-notification-devicemanagement-update?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index fb4b0a56ff..afbd2d65d8 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the roleDefinition objects. +// RoleDefinitionsRequestBuilderGetQueryParameters list properties and relationships of the deviceAndAppManagementRoleDefinition objects. type RoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RoleDefinitionsRequestBuilder) Count()(*RoleDefinitionsCountRequestBuilder) { return NewRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the roleDefinition objects. +// Get list properties and relationships of the deviceAndAppManagementRoleDefinition objects. // returns a RoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 func (m *RoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *RoleDefinitionsRequestBuilder) Post(ctx context.Context, body iadcd8112 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// ToGetRequestInformation list properties and relationships of the roleDefinition objects. +// ToGetRequestInformation list properties and relationships of the deviceAndAppManagementRoleDefinition objects. // returns a *RequestInformation when successful func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index 5e17657288..7bf6297f5c 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -96,12 +96,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// Patch update the properties of a deviceAndAppManagementRoleDefinition object. +// Patch update the properties of a roleDefinition object. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceAndAppManagementRoleDefinition object. +// ToPatchRequestInformation update the properties of a roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 570aa37c17..a1ac084e7a 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -106,12 +106,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put 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 { @@ -154,7 +154,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/groups_request_builder.go b/groups/groups_request_builder.go index 3c46511b9e..443889da01 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -114,12 +114,12 @@ func (m *GroupsRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableEx func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -151,7 +151,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index b2a85e78ab..8f232eb7fd 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -51,7 +51,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 3ebc7a8359..292212aabe 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -99,12 +99,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationCollectionResponseable), nil } -// Post 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 { @@ -136,7 +136,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 be821a0db8..afe7e7d2c6 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a thread object. +// Get get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. // returns a ConversationThreadable 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-get-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -140,7 +140,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a thread object. +// ToGetRequestInformation get a specific thread that belongs to a group. 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 *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index cfa90f08ca..f92d9b7a91 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 21786c2513..197c2026c7 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 @@ -18,7 +18,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a namedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a namedLocation 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/namedlocation-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 { @@ -130,7 +130,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a namedLocation 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 22c3ef4f0d..153e629d42 100644 --- a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -54,11 +54,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an 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: +// 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: // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable), nil } -// ToDeleteRequestInformation delete an 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: +// 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: // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 623afecb77..b811636392 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -88,12 +88,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// Get retrieve the properties and relationships of an accessPackage object. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index d778eca112..61caa57e89 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -128601,6 +128601,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetChatType():*Ch github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetInstalledApps():[]TeamsAppInstallationable +github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetIsHiddenForAllMembers():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetLastMessagePreview():ChatMessageInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|GetMembers():[]ConversationMemberable @@ -128618,6 +128619,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|Serialize(writer: github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetChatType(value:*ChatType):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetInstalledApps(value:[]TeamsAppInstallationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetIsHiddenForAllMembers(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetLastMessagePreview(value:ChatMessageInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|public|SetMembers(value:[]ConversationMemberable):void @@ -128634,6 +128636,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chat::|static|public|CreateFrom github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetChatType():*ChatType github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetInstalledApps():[]TeamsAppInstallationable +github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetIsHiddenForAllMembers():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetLastMessagePreview():ChatMessageInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetMembers():[]ConversationMemberable @@ -128649,6 +128652,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|GetWebUrl():* github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetChatType(value:*ChatType):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetInstalledApps(value:[]TeamsAppInstallationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetIsHiddenForAllMembers(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetLastMessagePreview(value:ChatMessageInfoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatable::|public|SetMembers(value:[]ConversationMemberable):void @@ -129140,6 +129144,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.chatRenamedEventMessageDetailab github.com/microsoftgraph/msgraph-sdk-go/.models.chatRenamedEventMessageDetailable::|public|SetChatId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatRenamedEventMessageDetailable::|public|SetInitiator(value:IdentitySetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.chatRenamedEventMessageDetailable~~>EventMessageDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|GetAllowTextOnly():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|SetAllowTextOnly(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|GetAllowTextOnly():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|SetAllowTextOnly(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.chatRestrictions~~>ChatRestrictionsable github.com/microsoftgraph/msgraph-sdk-go/.models.chatType::0000-oneOnOne github.com/microsoftgraph/msgraph-sdk-go/.models.chatType::0001-group github.com/microsoftgraph/msgraph-sdk-go/.models.chatType::0002-meeting @@ -154123,6 +154147,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetEndDa github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetExternalId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetIsBroadcast():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetMeetingTemplateId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetParticipants():MeetingParticipantsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetRecordings():[]CallRecordingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -154135,6 +154160,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetCreat github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetExternalId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetIsBroadcast(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetMeetingTemplateId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetParticipants(value:MeetingParticipantsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetRecordings(value:[]CallRecordingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeeting::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void @@ -154146,6 +154172,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetC github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetEndDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetExternalId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetIsBroadcast():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetMeetingTemplateId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetParticipants():MeetingParticipantsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetRecordings():[]CallRecordingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -154156,6 +154183,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetC github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetExternalId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetIsBroadcast(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetMeetingTemplateId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetParticipants(value:MeetingParticipantsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetRecordings(value:[]CallRecordingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingable::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void @@ -154168,10 +154196,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetA github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowedPresenters():*OnlineMeetingPresenters github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowMeetingChat():*MeetingChatMode github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowParticipantsToChangeName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowRecording():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowTeamworkReactions():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAllowTranscription():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAttendanceReports():[]MeetingAttendanceReportable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetAudioConferencing():AudioConferencingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetChatInfo():ChatInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetChatRestrictions():ChatRestrictionsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetIsEntryExitAnnounced():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|GetJoinInformation():ItemBodyable @@ -154190,10 +154221,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetA github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowedPresenters(value:*OnlineMeetingPresenters):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowMeetingChat(value:*MeetingChatMode):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowParticipantsToChangeName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowRecording(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowTeamworkReactions(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAllowTranscription(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAttendanceReports(value:[]MeetingAttendanceReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetAudioConferencing(value:AudioConferencingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetChatInfo(value:ChatInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetChatRestrictions(value:ChatRestrictionsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetIsEntryExitAnnounced(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetJoinInformation(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBase::|public|SetJoinMeetingIdSettings(value:JoinMeetingIdSettingsable):void @@ -154210,10 +154244,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowedPresenters():*OnlineMeetingPresenters github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowMeetingChat():*MeetingChatMode github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowParticipantsToChangeName():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowRecording():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowTeamworkReactions():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAllowTranscription():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAttendanceReports():[]MeetingAttendanceReportable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetAudioConferencing():AudioConferencingable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetChatInfo():ChatInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetChatRestrictions():ChatRestrictionsable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetIsEntryExitAnnounced():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetJoinInformation():ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|GetJoinMeetingIdSettings():JoinMeetingIdSettingsable @@ -154229,10 +154266,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowedPresenters(value:*OnlineMeetingPresenters):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowMeetingChat(value:*MeetingChatMode):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowParticipantsToChangeName(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowRecording(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowTeamworkReactions(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAllowTranscription(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAttendanceReports(value:[]MeetingAttendanceReportable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetAudioConferencing(value:AudioConferencingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetChatInfo(value:ChatInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetChatRestrictions(value:ChatRestrictionsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetIsEntryExitAnnounced(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetJoinInformation(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.onlineMeetingBaseable::|public|SetJoinMeetingIdSettings(value:JoinMeetingIdSettingsable):void @@ -183099,6 +183139,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetCreate github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetDescription():ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetEndDateTime():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetPresenters():[]VirtualEventPresenterable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|GetSessions():[]VirtualEventSessionable @@ -183111,6 +183152,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetCreate github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetDescription(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetEndDateTime(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetPresenters(value:[]VirtualEventPresenterable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetSessions(value:[]VirtualEventSessionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEvent::|public|SetSettings(value:VirtualEventSettingsable):void @@ -183121,6 +183163,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetCr github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetDescription():ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetEndDateTime():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetPresenters():[]VirtualEventPresenterable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetSessions():[]VirtualEventSessionable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|GetSettings():VirtualEventSettingsable @@ -183130,6 +183173,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetCr github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetDescription(value:ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetEndDateTime(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetPresenters(value:[]VirtualEventPresenterable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetSessions(value:[]VirtualEventSessionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventable::|public|SetSettings(value:VirtualEventSettingsable):void @@ -183152,6 +183196,54 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventCollectionResponse: github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventCollectionResponseable::|public|GetValue():[]VirtualEventable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventCollectionResponseable::|public|SetValue(value:[]VirtualEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|GetApplicationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|SetApplicationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|GetApplicationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|SetApplicationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalInformation~~>VirtualEventExternalInformationable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetReferrer():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetRegistrationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetReferrer(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetRegistrationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetReferrer():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetRegistrationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetReferrer(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetRegistrationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventExternalRegistrationInformation~~>VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventPresenter-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventPresenter::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventPresenter::|public|GetEmail():*string @@ -183240,6 +183332,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration-->*Ent github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|GetCancelationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|GetFirstName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|GetLastName():*string @@ -183254,6 +183347,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetCancelationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetFirstName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetLastName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|public|SetPreferredLanguage(value:*string):void @@ -183266,6 +183360,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetCancelationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetFirstName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetLastName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetPreferredLanguage():*string @@ -183277,6 +183372,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::| github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|GetUserId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetCancelationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetFirstName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetLastName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.virtualEventRegistrationable::|public|SetPreferredLanguage(value:*string):void @@ -229354,6 +229450,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSessi github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventSessionable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody~~>VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder.VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder.VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|Post(body:VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|ToPostRequestInformation(body:VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsRequestBuilder.VirtualEventsEventsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsRequestBuilder.VirtualEventsEventsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -229401,6 +229524,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEv github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|publish():*VirtualEventsEventsItemPublishRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|sessions():*VirtualEventsEventsItemSessionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|setExternalEventInformation():*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -229445,6 +229569,76 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsCountR github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsCountRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsTownhallsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration::|public|queryParameters:*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; role?:*string; userId?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration):VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration):VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse-->*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration::|public|queryParameters:*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; role?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration):VirtualEventsTownhallsGetByUserRoleWithRoleResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|GetAsGetByUserRoleWithRoleGetResponse(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration):VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleResponse-->*VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsGetByUserRoleWithRoleResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsItemPresentersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsItemPresentersCountRequestBuilder.VirtualEventsTownhallsItemPresentersCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsItemPresentersCountRequestBuilder.VirtualEventsTownhallsItemPresentersCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -229714,6 +229908,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsReques github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|Count():*VirtualEventsTownhallsCountRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|getByUserIdAndRoleWithUserIdWithRole(role:*string; userId:*string):*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|getByUserRoleWithRole(role:*string):*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable; ctx:context.Context; requestConfiguration?:*VirtualEventsTownhallsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable github.com/microsoftgraph/msgraph-sdk-go/.solutions.VirtualEventsTownhallsRequestBuilder::|public|requestAdapter:RequestAdapter diff --git a/kiota-lock.json b/kiota-lock.json index f1fc110d13..5824d75d1a 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "17158047F4D29D7AC5B136FFEEB42159B62E1A1BF1D6F2C422B4E9A755575702C25F4CFC17F3A75133F961BA5DFF05F411B7410F629AA94B356D0320AB7BAD8C", + "descriptionHash": "2A266C83E5128F78435232C790DE0C41B134CF323FA2D5EB704DAAC3C39EEA634205F3ED6EC8DE64297752B981917408558A02E7A673FE2E0AB8C6AD140E860D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.23.0", diff --git a/models/applied_conditional_access_policy.go b/models/applied_conditional_access_policy.go index ce148e64bc..2f336bda1c 100644 --- a/models/applied_conditional_access_policy.go +++ b/models/applied_conditional_access_policy.go @@ -178,7 +178,7 @@ func (m *AppliedConditionalAccessPolicy) GetOdataType()(*string) { } return nil } -// GetResult gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. +// GetResult gets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. // returns a *AppliedConditionalAccessPolicyResult when successful func (m *AppliedConditionalAccessPolicy) GetResult()(*AppliedConditionalAccessPolicyResult) { val, err := m.GetBackingStore().Get("result") @@ -283,7 +283,7 @@ func (m *AppliedConditionalAccessPolicy) SetOdataType(value *string)() { panic(err) } } -// SetResult sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. +// SetResult sets the result property value. Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (policy isn't applied because policy conditions weren't met), notEnabled (This is due to the policy in a disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. func (m *AppliedConditionalAccessPolicy) SetResult(value *AppliedConditionalAccessPolicyResult)() { err := m.GetBackingStore().Set("result", value) if err != nil { diff --git a/models/channel.go b/models/channel.go index c8f5177961..8174afeb1a 100644 --- a/models/channel.go +++ b/models/channel.go @@ -296,7 +296,7 @@ func (m *Channel) GetMembers()([]ConversationMemberable) { } return nil } -// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. // returns a *ChannelMembershipType when successful func (m *Channel) GetMembershipType()(*ChannelMembershipType) { val, err := m.GetBackingStore().Get("membershipType") @@ -559,7 +559,7 @@ func (m *Channel) SetMembers(value []ConversationMemberable)() { panic(err) } } -// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. func (m *Channel) SetMembershipType(value *ChannelMembershipType)() { err := m.GetBackingStore().Set("membershipType", value) if err != nil { diff --git a/models/chat.go b/models/chat.go index 1d3e5cedf2..e65b5bf569 100644 --- a/models/chat.go +++ b/models/chat.go @@ -84,6 +84,16 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["isHiddenForAllMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHiddenForAllMembers(val) + } + return nil + } res["lastMessagePreview"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateChatMessageInfoFromDiscriminatorValue) if err != nil { @@ -248,6 +258,18 @@ func (m *Chat) GetInstalledApps()([]TeamsAppInstallationable) { } return nil } +// GetIsHiddenForAllMembers gets the isHiddenForAllMembers property value. Indicates whether the chat is hidden for all its members. Read-only. +// returns a *bool when successful +func (m *Chat) GetIsHiddenForAllMembers()(*bool) { + val, err := m.GetBackingStore().Get("isHiddenForAllMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetLastMessagePreview gets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. // returns a ChatMessageInfoable when successful func (m *Chat) GetLastMessagePreview()(ChatMessageInfoable) { @@ -423,6 +445,12 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteBoolValue("isHiddenForAllMembers", m.GetIsHiddenForAllMembers()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("lastMessagePreview", m.GetLastMessagePreview()) if err != nil { @@ -548,6 +576,13 @@ func (m *Chat) SetInstalledApps(value []TeamsAppInstallationable)() { panic(err) } } +// SetIsHiddenForAllMembers sets the isHiddenForAllMembers property value. Indicates whether the chat is hidden for all its members. Read-only. +func (m *Chat) SetIsHiddenForAllMembers(value *bool)() { + err := m.GetBackingStore().Set("isHiddenForAllMembers", value) + if err != nil { + panic(err) + } +} // SetLastMessagePreview sets the lastMessagePreview property value. Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property. func (m *Chat) SetLastMessagePreview(value ChatMessageInfoable)() { err := m.GetBackingStore().Set("lastMessagePreview", value) @@ -638,6 +673,7 @@ type Chatable interface { GetChatType()(*ChatType) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetInstalledApps()([]TeamsAppInstallationable) + GetIsHiddenForAllMembers()(*bool) GetLastMessagePreview()(ChatMessageInfoable) GetLastUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMembers()([]ConversationMemberable) @@ -653,6 +689,7 @@ type Chatable interface { SetChatType(value *ChatType)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetInstalledApps(value []TeamsAppInstallationable)() + SetIsHiddenForAllMembers(value *bool)() SetLastMessagePreview(value ChatMessageInfoable)() SetLastUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMembers(value []ConversationMemberable)() diff --git a/models/chat_message.go b/models/chat_message.go index 70bde21c7f..a991f510de 100644 --- a/models/chat_message.go +++ b/models/chat_message.go @@ -470,7 +470,7 @@ func (m *ChatMessage) GetLocale()(*string) { } return nil } -// GetMentions gets the mentions property value. List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel. +// GetMentions gets the mentions property value. List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag. // returns a []ChatMessageMentionable when successful func (m *ChatMessage) GetMentions()([]ChatMessageMentionable) { val, err := m.GetBackingStore().Get("mentions") @@ -878,7 +878,7 @@ func (m *ChatMessage) SetLocale(value *string)() { panic(err) } } -// SetMentions sets the mentions property value. List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel. +// SetMentions sets the mentions property value. List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, chat, and tag. func (m *ChatMessage) SetMentions(value []ChatMessageMentionable)() { err := m.GetBackingStore().Set("mentions", value) if err != nil { diff --git a/models/chat_message_attachment.go b/models/chat_message_attachment.go index 4d18ba8240..bef1c18099 100644 --- a/models/chat_message_attachment.go +++ b/models/chat_message_attachment.go @@ -52,7 +52,7 @@ func (m *ChatMessageAttachment) GetContent()(*string) { } return nil } -// GetContentType gets the contentType property value. The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentType that is supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. +// GetContentType gets the contentType property value. The media type of the content attachment. The possible values are: reference: The attachment is a link to another file. Populate the contentURL with the link to the object.forwardedMessageReference: The attachment is a reference to a forwarded message. Populate the content with the original message context.Any contentType that is supported by the Bot Framework's Attachment object.application/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. // returns a *string when successful func (m *ChatMessageAttachment) GetContentType()(*string) { val, err := m.GetBackingStore().Get("contentType") @@ -162,7 +162,7 @@ func (m *ChatMessageAttachment) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetId gets the id property value. Read-only. The unique id of the attachment. +// GetId gets the id property value. Read-only. The unique ID of the attachment. // returns a *string when successful func (m *ChatMessageAttachment) GetId()(*string) { val, err := m.GetBackingStore().Get("id") @@ -298,7 +298,7 @@ func (m *ChatMessageAttachment) SetContent(value *string)() { panic(err) } } -// SetContentType sets the contentType property value. The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentType that is supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. +// SetContentType sets the contentType property value. The media type of the content attachment. The possible values are: reference: The attachment is a link to another file. Populate the contentURL with the link to the object.forwardedMessageReference: The attachment is a reference to a forwarded message. Populate the content with the original message context.Any contentType that is supported by the Bot Framework's Attachment object.application/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. func (m *ChatMessageAttachment) SetContentType(value *string)() { err := m.GetBackingStore().Set("contentType", value) if err != nil { @@ -312,7 +312,7 @@ func (m *ChatMessageAttachment) SetContentUrl(value *string)() { panic(err) } } -// SetId sets the id property value. Read-only. The unique id of the attachment. +// SetId sets the id property value. Read-only. The unique ID of the attachment. func (m *ChatMessageAttachment) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/chat_message_mention.go b/models/chat_message_mention.go index 5516e6ea0b..9532b0d462 100644 --- a/models/chat_message_mention.go +++ b/models/chat_message_mention.go @@ -98,7 +98,7 @@ func (m *ChatMessageMention) GetId()(*int32) { } return nil } -// GetMentioned gets the mentioned property value. The entity (user, application, team, or channel) that was @mentioned. +// GetMentioned gets the mentioned property value. The entity (user, application, team, channel, or chat) that was @mentioned. // returns a ChatMessageMentionedIdentitySetable when successful func (m *ChatMessageMention) GetMentioned()(ChatMessageMentionedIdentitySetable) { val, err := m.GetBackingStore().Get("mentioned") @@ -186,7 +186,7 @@ func (m *ChatMessageMention) SetId(value *int32)() { panic(err) } } -// SetMentioned sets the mentioned property value. The entity (user, application, team, or channel) that was @mentioned. +// SetMentioned sets the mentioned property value. The entity (user, application, team, channel, or chat) that was @mentioned. func (m *ChatMessageMention) SetMentioned(value ChatMessageMentionedIdentitySetable)() { err := m.GetBackingStore().Set("mentioned", value) if err != nil { diff --git a/models/chat_message_mentioned_identity_set.go b/models/chat_message_mentioned_identity_set.go index 5cb68122bd..db1cdca3ea 100644 --- a/models/chat_message_mentioned_identity_set.go +++ b/models/chat_message_mentioned_identity_set.go @@ -21,7 +21,7 @@ func NewChatMessageMentionedIdentitySet()(*ChatMessageMentionedIdentitySet) { func CreateChatMessageMentionedIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewChatMessageMentionedIdentitySet(), nil } -// GetConversation gets the conversation property value. If present, represents a conversation (for example, team or channel) @mentioned in a message. +// GetConversation gets the conversation property value. If present, represents a conversation (for example, team, channel, or chat) @mentioned in a message. // returns a TeamworkConversationIdentityable when successful func (m *ChatMessageMentionedIdentitySet) GetConversation()(TeamworkConversationIdentityable) { val, err := m.GetBackingStore().Get("conversation") @@ -63,7 +63,7 @@ func (m *ChatMessageMentionedIdentitySet) Serialize(writer i878a80d2330e89d26896 } return nil } -// SetConversation sets the conversation property value. If present, represents a conversation (for example, team or channel) @mentioned in a message. +// SetConversation sets the conversation property value. If present, represents a conversation (for example, team, channel, or chat) @mentioned in a message. func (m *ChatMessageMentionedIdentitySet) SetConversation(value TeamworkConversationIdentityable)() { err := m.GetBackingStore().Set("conversation", value) if err != nil { diff --git a/models/chat_restrictions.go b/models/chat_restrictions.go new file mode 100644 index 0000000000..35535524c2 --- /dev/null +++ b/models/chat_restrictions.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ChatRestrictions struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewChatRestrictions instantiates a new ChatRestrictions and sets the default values. +func NewChatRestrictions()(*ChatRestrictions) { + m := &ChatRestrictions{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateChatRestrictionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateChatRestrictionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewChatRestrictions(), 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 *ChatRestrictions) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAllowTextOnly gets the allowTextOnly property value. The allowTextOnly property +// returns a *bool when successful +func (m *ChatRestrictions) GetAllowTextOnly()(*bool) { + val, err := m.GetBackingStore().Get("allowTextOnly") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ChatRestrictions) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ChatRestrictions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["allowTextOnly"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowTextOnly(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ChatRestrictions) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ChatRestrictions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("allowTextOnly", m.GetAllowTextOnly()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ChatRestrictions) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAllowTextOnly sets the allowTextOnly property value. The allowTextOnly property +func (m *ChatRestrictions) SetAllowTextOnly(value *bool)() { + err := m.GetBackingStore().Set("allowTextOnly", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ChatRestrictions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ChatRestrictions) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ChatRestrictionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowTextOnly()(*bool) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAllowTextOnly(value *bool)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/cloud_pc_device_image.go b/models/cloud_pc_device_image.go index a1422d255e..008f1053c7 100644 --- a/models/cloud_pc_device_image.go +++ b/models/cloud_pc_device_image.go @@ -32,7 +32,7 @@ func (m *CloudPcDeviceImage) GetDisplayName()(*string) { } return nil } -// GetErrorCode gets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. +// GetErrorCode gets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. // returns a *CloudPcDeviceImageErrorCode when successful func (m *CloudPcDeviceImage) GetErrorCode()(*CloudPcDeviceImageErrorCode) { val, err := m.GetBackingStore().Get("errorCode") @@ -324,7 +324,7 @@ func (m *CloudPcDeviceImage) SetDisplayName(value *string)() { panic(err) } } -// SetErrorCode sets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. +// SetErrorCode sets the errorCode property value. The error code of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. func (m *CloudPcDeviceImage) SetErrorCode(value *CloudPcDeviceImageErrorCode)() { err := m.GetBackingStore().Set("errorCode", value) if err != nil { diff --git a/models/cloud_pc_domain_join_configuration.go b/models/cloud_pc_domain_join_configuration.go index 7e8d2d5a5a..362a4a7428 100644 --- a/models/cloud_pc_domain_join_configuration.go +++ b/models/cloud_pc_domain_join_configuration.go @@ -132,7 +132,7 @@ func (m *CloudPcDomainJoinConfiguration) GetOnPremisesConnectionId()(*string) { } return nil } -// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. +// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. // returns a *CloudPcRegionGroup when successful func (m *CloudPcDomainJoinConfiguration) GetRegionGroup()(*CloudPcRegionGroup) { val, err := m.GetBackingStore().Get("regionGroup") @@ -230,7 +230,7 @@ func (m *CloudPcDomainJoinConfiguration) SetOnPremisesConnectionId(value *string panic(err) } } -// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. +// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. func (m *CloudPcDomainJoinConfiguration) SetRegionGroup(value *CloudPcRegionGroup)() { err := m.GetBackingStore().Set("regionGroup", value) if err != nil { diff --git a/models/education_assignment.go b/models/education_assignment.go index c8f462ca47..d19bfd0c90 100644 --- a/models/education_assignment.go +++ b/models/education_assignment.go @@ -32,7 +32,7 @@ func (m *EducationAssignment) GetAddedStudentAction()(*EducationAddedStudentActi } return nil } -// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. +// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. // returns a *EducationAddToCalendarOptions when successful func (m *EducationAssignment) GetAddToCalendarAction()(*EducationAddToCalendarOptions) { val, err := m.GetBackingStore().Get("addToCalendarAction") @@ -624,7 +624,7 @@ func (m *EducationAssignment) GetRubric()(EducationRubricable) { } return nil } -// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. // returns a *EducationAssignmentStatus when successful func (m *EducationAssignment) GetStatus()(*EducationAssignmentStatus) { val, err := m.GetBackingStore().Get("status") @@ -803,7 +803,7 @@ func (m *EducationAssignment) SetAddedStudentAction(value *EducationAddedStudent panic(err) } } -// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. +// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: studentsOnly. The default value is none. func (m *EducationAssignment) SetAddToCalendarAction(value *EducationAddToCalendarOptions)() { err := m.GetBackingStore().Set("addToCalendarAction", value) if err != nil { @@ -971,7 +971,7 @@ func (m *EducationAssignment) SetRubric(value EducationRubricable)() { panic(err) } } -// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. func (m *EducationAssignment) SetStatus(value *EducationAssignmentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/education_assignment_defaults.go b/models/education_assignment_defaults.go index 9310e089c5..263be3f062 100644 --- a/models/education_assignment_defaults.go +++ b/models/education_assignment_defaults.go @@ -31,7 +31,7 @@ func (m *EducationAssignmentDefaults) GetAddedStudentAction()(*EducationAddedStu } return nil } -// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. // returns a *EducationAddToCalendarOptions when successful func (m *EducationAssignmentDefaults) GetAddToCalendarAction()(*EducationAddToCalendarOptions) { val, err := m.GetBackingStore().Get("addToCalendarAction") @@ -154,7 +154,7 @@ func (m *EducationAssignmentDefaults) SetAddedStudentAction(value *EducationAdde panic(err) } } -// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. func (m *EducationAssignmentDefaults) SetAddToCalendarAction(value *EducationAddToCalendarOptions)() { err := m.GetBackingStore().Set("addToCalendarAction", value) if err != nil { diff --git a/models/education_submission.go b/models/education_submission.go index f1d10361f7..b0168ee9db 100644 --- a/models/education_submission.go +++ b/models/education_submission.go @@ -334,7 +334,7 @@ func (m *EducationSubmission) GetReturnedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetStatus gets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. +// GetStatus gets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. // returns a *EducationSubmissionStatus when successful func (m *EducationSubmission) GetStatus()(*EducationSubmissionStatus) { val, err := m.GetBackingStore().Get("status") @@ -538,7 +538,7 @@ func (m *EducationSubmission) SetReturnedDateTime(value *i336074805fc853987abe6f panic(err) } } -// SetStatus sets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. +// SetStatus sets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned. func (m *EducationSubmission) SetStatus(value *EducationSubmissionStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/externalconnectors/property.go b/models/externalconnectors/property.go index 912aeae111..a572c92ded 100644 --- a/models/externalconnectors/property.go +++ b/models/externalconnectors/property.go @@ -208,7 +208,7 @@ func (m *Property) GetIsSearchable()(*bool) { } return nil } -// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. // returns a []Label when successful func (m *Property) GetLabels()([]Label) { val, err := m.GetBackingStore().Get("labels") @@ -367,7 +367,7 @@ func (m *Property) SetIsSearchable(value *bool)() { panic(err) } } -// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. func (m *Property) SetLabels(value []Label)() { err := m.GetBackingStore().Set("labels", value) if err != nil { diff --git a/models/invited_user_message_info.go b/models/invited_user_message_info.go index 0f3d5fb899..df8874e571 100644 --- a/models/invited_user_message_info.go +++ b/models/invited_user_message_info.go @@ -52,7 +52,7 @@ func (m *InvitedUserMessageInfo) GetCcRecipients()([]Recipientable) { } return nil } -// GetCustomizedMessageBody gets the customizedMessageBody property value. Customized message body you want to send if you don't want the default message. +// GetCustomizedMessageBody gets the customizedMessageBody property value. Customized message body you want to send if you don't want the default message. Only plain text is allowed. // returns a *string when successful func (m *InvitedUserMessageInfo) GetCustomizedMessageBody()(*string) { val, err := m.GetBackingStore().Get("customizedMessageBody") @@ -198,7 +198,7 @@ func (m *InvitedUserMessageInfo) SetCcRecipients(value []Recipientable)() { panic(err) } } -// SetCustomizedMessageBody sets the customizedMessageBody property value. Customized message body you want to send if you don't want the default message. +// SetCustomizedMessageBody sets the customizedMessageBody property value. Customized message body you want to send if you don't want the default message. Only plain text is allowed. func (m *InvitedUserMessageInfo) SetCustomizedMessageBody(value *string)() { err := m.GetBackingStore().Set("customizedMessageBody", value) if err != nil { diff --git a/models/online_meeting.go b/models/online_meeting.go index a093e2f296..21a63eaa1f 100644 --- a/models/online_meeting.go +++ b/models/online_meeting.go @@ -146,6 +146,16 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } + res["meetingTemplateId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMeetingTemplateId(val) + } + return nil + } res["participants"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateMeetingParticipantsFromDiscriminatorValue) if err != nil { @@ -212,6 +222,18 @@ func (m *OnlineMeeting) GetIsBroadcast()(*bool) { } return nil } +// GetMeetingTemplateId gets the meetingTemplateId property value. The ID of the meeting template. +// returns a *string when successful +func (m *OnlineMeeting) GetMeetingTemplateId()(*string) { + val, err := m.GetBackingStore().Get("meetingTemplateId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetParticipants gets the participants property value. The participants associated with the online meeting, including the organizer and the attendees. // returns a MeetingParticipantsable when successful func (m *OnlineMeeting) GetParticipants()(MeetingParticipantsable) { @@ -302,6 +324,12 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } + { + err = writer.WriteStringValue("meetingTemplateId", m.GetMeetingTemplateId()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("participants", m.GetParticipants()) if err != nil { @@ -382,6 +410,13 @@ func (m *OnlineMeeting) SetIsBroadcast(value *bool)() { panic(err) } } +// SetMeetingTemplateId sets the meetingTemplateId property value. The ID of the meeting template. +func (m *OnlineMeeting) SetMeetingTemplateId(value *string)() { + err := m.GetBackingStore().Set("meetingTemplateId", value) + if err != nil { + panic(err) + } +} // SetParticipants sets the participants property value. The participants associated with the online meeting, including the organizer and the attendees. func (m *OnlineMeeting) SetParticipants(value MeetingParticipantsable)() { err := m.GetBackingStore().Set("participants", value) @@ -419,6 +454,7 @@ type OnlineMeetingable interface { GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetExternalId()(*string) GetIsBroadcast()(*bool) + GetMeetingTemplateId()(*string) GetParticipants()(MeetingParticipantsable) GetRecordings()([]CallRecordingable) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) @@ -429,6 +465,7 @@ type OnlineMeetingable interface { SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetExternalId(value *string)() SetIsBroadcast(value *bool)() + SetMeetingTemplateId(value *string)() SetParticipants(value MeetingParticipantsable)() SetRecordings(value []CallRecordingable)() SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() diff --git a/models/online_meeting_base.go b/models/online_meeting_base.go index 567f7bea30..dd951d9890 100644 --- a/models/online_meeting_base.go +++ b/models/online_meeting_base.go @@ -99,6 +99,18 @@ func (m *OnlineMeetingBase) GetAllowParticipantsToChangeName()(*bool) { } return nil } +// GetAllowRecording gets the allowRecording property value. Indicates whether recording is enabled for the meeting. +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowRecording()(*bool) { + val, err := m.GetBackingStore().Get("allowRecording") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAllowTeamworkReactions gets the allowTeamworkReactions property value. Indicates if Teams reactions are enabled for the meeting. // returns a *bool when successful func (m *OnlineMeetingBase) GetAllowTeamworkReactions()(*bool) { @@ -111,6 +123,18 @@ func (m *OnlineMeetingBase) GetAllowTeamworkReactions()(*bool) { } return nil } +// GetAllowTranscription gets the allowTranscription property value. Indicates whether transcription is enabled for the meeting. +// returns a *bool when successful +func (m *OnlineMeetingBase) GetAllowTranscription()(*bool) { + val, err := m.GetBackingStore().Get("allowTranscription") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetAttendanceReports gets the attendanceReports property value. The attendance reports of an online meeting. Read-only. // returns a []MeetingAttendanceReportable when successful func (m *OnlineMeetingBase) GetAttendanceReports()([]MeetingAttendanceReportable) { @@ -147,6 +171,18 @@ func (m *OnlineMeetingBase) GetChatInfo()(ChatInfoable) { } return nil } +// GetChatRestrictions gets the chatRestrictions property value. The chatRestrictions property +// returns a ChatRestrictionsable when successful +func (m *OnlineMeetingBase) GetChatRestrictions()(ChatRestrictionsable) { + val, err := m.GetBackingStore().Get("chatRestrictions") + if err != nil { + panic(err) + } + if val != nil { + return val.(ChatRestrictionsable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -201,6 +237,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowRecording(val) + } + return nil + } res["allowTeamworkReactions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -211,6 +257,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["allowTranscription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowTranscription(val) + } + return nil + } res["attendanceReports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateMeetingAttendanceReportFromDiscriminatorValue) if err != nil { @@ -247,6 +303,16 @@ func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["chatRestrictions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateChatRestrictionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetChatRestrictions(val.(ChatRestrictionsable)) + } + return nil + } res["isEntryExitAnnounced"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -507,12 +573,24 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteBoolValue("allowRecording", m.GetAllowRecording()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("allowTeamworkReactions", m.GetAllowTeamworkReactions()) if err != nil { return err } } + { + err = writer.WriteBoolValue("allowTranscription", m.GetAllowTranscription()) + if err != nil { + return err + } + } if m.GetAttendanceReports() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAttendanceReports())) for i, v := range m.GetAttendanceReports() { @@ -537,6 +615,12 @@ func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteObjectValue("chatRestrictions", m.GetChatRestrictions()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isEntryExitAnnounced", m.GetIsEntryExitAnnounced()) if err != nil { @@ -635,6 +719,13 @@ func (m *OnlineMeetingBase) SetAllowParticipantsToChangeName(value *bool)() { panic(err) } } +// SetAllowRecording sets the allowRecording property value. Indicates whether recording is enabled for the meeting. +func (m *OnlineMeetingBase) SetAllowRecording(value *bool)() { + err := m.GetBackingStore().Set("allowRecording", value) + if err != nil { + panic(err) + } +} // SetAllowTeamworkReactions sets the allowTeamworkReactions property value. Indicates if Teams reactions are enabled for the meeting. func (m *OnlineMeetingBase) SetAllowTeamworkReactions(value *bool)() { err := m.GetBackingStore().Set("allowTeamworkReactions", value) @@ -642,6 +733,13 @@ func (m *OnlineMeetingBase) SetAllowTeamworkReactions(value *bool)() { panic(err) } } +// SetAllowTranscription sets the allowTranscription property value. Indicates whether transcription is enabled for the meeting. +func (m *OnlineMeetingBase) SetAllowTranscription(value *bool)() { + err := m.GetBackingStore().Set("allowTranscription", value) + if err != nil { + panic(err) + } +} // SetAttendanceReports sets the attendanceReports property value. The attendance reports of an online meeting. Read-only. func (m *OnlineMeetingBase) SetAttendanceReports(value []MeetingAttendanceReportable)() { err := m.GetBackingStore().Set("attendanceReports", value) @@ -663,6 +761,13 @@ func (m *OnlineMeetingBase) SetChatInfo(value ChatInfoable)() { panic(err) } } +// SetChatRestrictions sets the chatRestrictions property value. The chatRestrictions property +func (m *OnlineMeetingBase) SetChatRestrictions(value ChatRestrictionsable)() { + err := m.GetBackingStore().Set("chatRestrictions", value) + if err != nil { + panic(err) + } +} // SetIsEntryExitAnnounced sets the isEntryExitAnnounced property value. Indicates whether to announce when callers join or leave. func (m *OnlineMeetingBase) SetIsEntryExitAnnounced(value *bool)() { err := m.GetBackingStore().Set("isEntryExitAnnounced", value) @@ -741,10 +846,13 @@ type OnlineMeetingBaseable interface { GetAllowedPresenters()(*OnlineMeetingPresenters) GetAllowMeetingChat()(*MeetingChatMode) GetAllowParticipantsToChangeName()(*bool) + GetAllowRecording()(*bool) GetAllowTeamworkReactions()(*bool) + GetAllowTranscription()(*bool) GetAttendanceReports()([]MeetingAttendanceReportable) GetAudioConferencing()(AudioConferencingable) GetChatInfo()(ChatInfoable) + GetChatRestrictions()(ChatRestrictionsable) GetIsEntryExitAnnounced()(*bool) GetJoinInformation()(ItemBodyable) GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) @@ -760,10 +868,13 @@ type OnlineMeetingBaseable interface { SetAllowedPresenters(value *OnlineMeetingPresenters)() SetAllowMeetingChat(value *MeetingChatMode)() SetAllowParticipantsToChangeName(value *bool)() + SetAllowRecording(value *bool)() SetAllowTeamworkReactions(value *bool)() + SetAllowTranscription(value *bool)() SetAttendanceReports(value []MeetingAttendanceReportable)() SetAudioConferencing(value AudioConferencingable)() SetChatInfo(value ChatInfoable)() + SetChatRestrictions(value ChatRestrictionsable)() SetIsEntryExitAnnounced(value *bool)() SetJoinInformation(value ItemBodyable)() SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() diff --git a/models/payload.go b/models/payload.go index b79db30b09..f20e1a1fb1 100644 --- a/models/payload.go +++ b/models/payload.go @@ -492,7 +492,7 @@ func (m *Payload) GetStatus()(*SimulationContentStatus) { } return nil } -// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Payload) GetTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("technique") @@ -805,7 +805,7 @@ func (m *Payload) SetStatus(value *SimulationContentStatus)() { panic(err) } } -// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. func (m *Payload) SetTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("technique", value) if err != nil { diff --git a/models/planner_plan_container.go b/models/planner_plan_container.go index da23fab91c..3e35c39d3c 100644 --- a/models/planner_plan_container.go +++ b/models/planner_plan_container.go @@ -110,7 +110,7 @@ func (m *PlannerPlanContainer) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. // returns a *PlannerContainerType when successful func (m *PlannerPlanContainer) GetTypeEscaped()(*PlannerContainerType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -194,7 +194,7 @@ func (m *PlannerPlanContainer) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. func (m *PlannerPlanContainer) SetTypeEscaped(value *PlannerContainerType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/restore_session_base.go b/models/restore_session_base.go index 66d7f41e20..afc8ab3937 100644 --- a/models/restore_session_base.go +++ b/models/restore_session_base.go @@ -190,7 +190,7 @@ func (m *RestoreSessionBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetStatus gets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +// GetStatus gets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. // returns a *RestoreSessionStatus when successful func (m *RestoreSessionBase) GetStatus()(*RestoreSessionStatus) { val, err := m.GetBackingStore().Get("status") @@ -295,7 +295,7 @@ func (m *RestoreSessionBase) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetStatus sets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +// SetStatus sets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. func (m *RestoreSessionBase) SetStatus(value *RestoreSessionStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/risk_detection.go b/models/risk_detection.go index 05067c39ff..0128dcff11 100644 --- a/models/risk_detection.go +++ b/models/risk_detection.go @@ -336,7 +336,7 @@ func (m *RiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. // returns a *RiskDetail when successful func (m *RiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -642,7 +642,7 @@ func (m *RiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Note that you must use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. func (m *RiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/risk_service_principal_activity.go b/models/risk_service_principal_activity.go index 6fd0b2bf14..997d1a4f45 100644 --- a/models/risk_service_principal_activity.go +++ b/models/risk_service_principal_activity.go @@ -40,7 +40,7 @@ func (m *RiskServicePrincipalActivity) GetAdditionalData()(map[string]any) { func (m *RiskServicePrincipalActivity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDetail gets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetDetail gets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. // returns a *RiskDetail when successful func (m *RiskServicePrincipalActivity) GetDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("detail") @@ -158,7 +158,7 @@ func (m *RiskServicePrincipalActivity) SetAdditionalData(value map[string]any)() func (m *RiskServicePrincipalActivity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDetail sets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetDetail sets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. func (m *RiskServicePrincipalActivity) SetDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("detail", value) if err != nil { diff --git a/models/risky_service_principal.go b/models/risky_service_principal.go index fab12d3c16..9b5d5db38f 100644 --- a/models/risky_service_principal.go +++ b/models/risky_service_principal.go @@ -210,7 +210,7 @@ func (m *RiskyServicePrincipal) GetIsProcessing()(*bool) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. // returns a *RiskDetail when successful func (m *RiskyServicePrincipal) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -382,7 +382,7 @@ func (m *RiskyServicePrincipal) SetIsProcessing(value *bool)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. func (m *RiskyServicePrincipal) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/risky_user.go b/models/risky_user.go index eecb05a46e..e7d1e4ed2c 100644 --- a/models/risky_user.go +++ b/models/risky_user.go @@ -176,7 +176,7 @@ func (m *RiskyUser) GetIsProcessing()(*bool) { } return nil } -// GetRiskDetail gets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. +// GetRiskDetail gets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. // returns a *RiskDetail when successful func (m *RiskyUser) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -340,7 +340,7 @@ func (m *RiskyUser) SetIsProcessing(value *bool)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. +// SetRiskDetail sets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. func (m *RiskyUser) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/search_request.go b/models/search_request.go index 480633930c..cd415c0fe2 100644 --- a/models/search_request.go +++ b/models/search_request.go @@ -100,7 +100,7 @@ func (m *SearchRequest) GetEnableTopResults()(*bool) { } return nil } -// GetEntityTypes gets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. +// GetEntityTypes gets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. // returns a []EntityType when successful func (m *SearchRequest) GetEntityTypes()([]EntityType) { val, err := m.GetBackingStore().Get("entityTypes") @@ -610,7 +610,7 @@ func (m *SearchRequest) SetEnableTopResults(value *bool)() { panic(err) } } -// SetEntityTypes sets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. +// SetEntityTypes sets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. func (m *SearchRequest) SetEntityTypes(value []EntityType)() { err := m.GetBackingStore().Set("entityTypes", value) if err != nil { diff --git a/models/security/alert.go b/models/security/alert.go index fb7ce38fef..ea8c187672 100644 --- a/models/security/alert.go +++ b/models/security/alert.go @@ -141,7 +141,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. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. +// 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. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. // returns a *DetectionSource when successful func (m *Alert) GetDetectionSource()(*DetectionSource) { val, err := m.GetBackingStore().Get("detectionSource") @@ -1043,7 +1043,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. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. +// 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. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. func (m *Alert) SetDetectionSource(value *DetectionSource)() { err := m.GetBackingStore().Set("detectionSource", value) if err != nil { diff --git a/models/security/case_operation.go b/models/security/case_operation.go index d38170f8b3..796e83e172 100644 --- a/models/security/case_operation.go +++ b/models/security/case_operation.go @@ -53,7 +53,7 @@ func CreateCaseOperationFromDiscriminatorValue(parseNode i878a80d2330e89d2689638 } return NewCaseOperation(), nil } -// GetAction gets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. +// GetAction gets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. // returns a *CaseAction when successful func (m *CaseOperation) GetAction()(*CaseAction) { val, err := m.GetBackingStore().Get("action") @@ -265,7 +265,7 @@ func (m *CaseOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAction sets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. +// SetAction sets the action property value. The type of action the operation represents. Possible values are: contentExport, applyTags, convertToPdf, index, estimateStatistics, addToReviewSet, holdUpdate, unknownFutureValue, purgeData, exportReport, exportResult. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: purgeData, exportReport, exportResult. func (m *CaseOperation) SetAction(value *CaseAction)() { err := m.GetBackingStore().Set("action", value) if err != nil { diff --git a/models/service_principal_risk_detection.go b/models/service_principal_risk_detection.go index 98d62df959..895abda1f6 100644 --- a/models/service_principal_risk_detection.go +++ b/models/service_principal_risk_detection.go @@ -20,7 +20,7 @@ func NewServicePrincipalRiskDetection()(*ServicePrincipalRiskDetection) { func CreateServicePrincipalRiskDetectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewServicePrincipalRiskDetection(), nil } -// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. // returns a *ActivityType when successful func (m *ServicePrincipalRiskDetection) GetActivity()(*ActivityType) { val, err := m.GetBackingStore().Get("activity") @@ -376,7 +376,7 @@ func (m *ServicePrincipalRiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. // returns a *RiskDetail when successful func (m *ServicePrincipalRiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -606,7 +606,7 @@ func (m *ServicePrincipalRiskDetection) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. func (m *ServicePrincipalRiskDetection) SetActivity(value *ActivityType)() { err := m.GetBackingStore().Set("activity", value) if err != nil { @@ -690,7 +690,7 @@ func (m *ServicePrincipalRiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. func (m *ServicePrincipalRiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/sign_in.go b/models/sign_in.go index 902d50b000..9c5425767e 100644 --- a/models/sign_in.go +++ b/models/sign_in.go @@ -430,7 +430,7 @@ func (m *SignIn) GetResourceId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. // returns a *RiskDetail when successful func (m *SignIn) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -798,7 +798,7 @@ func (m *SignIn) SetResourceId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. You must use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. func (m *SignIn) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/simulation.go b/models/simulation.go index 1b9018b0c8..c969f1cf77 100644 --- a/models/simulation.go +++ b/models/simulation.go @@ -20,7 +20,7 @@ func NewSimulation()(*Simulation) { func CreateSimulationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSimulation(), nil } -// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Simulation) GetAttackTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("attackTechnique") @@ -710,7 +710,7 @@ func (m *Simulation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } return nil } -// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. func (m *Simulation) SetAttackTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("attackTechnique", value) if err != nil { diff --git a/models/subject_rights_request_history.go b/models/subject_rights_request_history.go index 2adc25e5f6..6420977eba 100644 --- a/models/subject_rights_request_history.go +++ b/models/subject_rights_request_history.go @@ -143,7 +143,7 @@ func (m *SubjectRightsRequestHistory) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// GetStage gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestHistory) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -259,7 +259,7 @@ func (m *SubjectRightsRequestHistory) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// SetStage sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. func (m *SubjectRightsRequestHistory) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { diff --git a/models/subject_rights_request_stage_detail.go b/models/subject_rights_request_stage_detail.go index 5246fa5872..f3a8e799c8 100644 --- a/models/subject_rights_request_stage_detail.go +++ b/models/subject_rights_request_stage_detail.go @@ -110,7 +110,7 @@ func (m *SubjectRightsRequestStageDetail) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// GetStage gets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestStageDetail) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -195,7 +195,7 @@ func (m *SubjectRightsRequestStageDetail) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// SetStage sets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. func (m *SubjectRightsRequestStageDetail) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { diff --git a/models/virtual_event.go b/models/virtual_event.go index 3b43e1c771..382c5194c2 100644 --- a/models/virtual_event.go +++ b/models/virtual_event.go @@ -87,6 +87,18 @@ func (m *VirtualEvent) GetEndDateTime()(DateTimeTimeZoneable) { } return nil } +// GetExternalEventInformation gets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. +// returns a []VirtualEventExternalInformationable when successful +func (m *VirtualEvent) GetExternalEventInformation()([]VirtualEventExternalInformationable) { + val, err := m.GetBackingStore().Get("externalEventInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventExternalInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *VirtualEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -131,6 +143,22 @@ func (m *VirtualEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return nil } + res["externalEventInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventExternalInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventExternalInformationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventExternalInformationable) + } + } + m.SetExternalEventInformation(res) + } + return nil + } res["presenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateVirtualEventPresenterFromDiscriminatorValue) if err != nil { @@ -285,6 +313,18 @@ func (m *VirtualEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e return err } } + if m.GetExternalEventInformation() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExternalEventInformation())) + for i, v := range m.GetExternalEventInformation() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("externalEventInformation", cast) + if err != nil { + return err + } + } if m.GetPresenters() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPresenters())) for i, v := range m.GetPresenters() { @@ -358,6 +398,13 @@ func (m *VirtualEvent) SetEndDateTime(value DateTimeTimeZoneable)() { panic(err) } } +// SetExternalEventInformation sets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. +func (m *VirtualEvent) SetExternalEventInformation(value []VirtualEventExternalInformationable)() { + err := m.GetBackingStore().Set("externalEventInformation", value) + if err != nil { + panic(err) + } +} // SetPresenters sets the presenters property value. The virtual event presenters. func (m *VirtualEvent) SetPresenters(value []VirtualEventPresenterable)() { err := m.GetBackingStore().Set("presenters", value) @@ -400,6 +447,7 @@ type VirtualEventable interface { GetDescription()(ItemBodyable) GetDisplayName()(*string) GetEndDateTime()(DateTimeTimeZoneable) + GetExternalEventInformation()([]VirtualEventExternalInformationable) GetPresenters()([]VirtualEventPresenterable) GetSessions()([]VirtualEventSessionable) GetSettings()(VirtualEventSettingsable) @@ -409,6 +457,7 @@ type VirtualEventable interface { SetDescription(value ItemBodyable)() SetDisplayName(value *string)() SetEndDateTime(value DateTimeTimeZoneable)() + SetExternalEventInformation(value []VirtualEventExternalInformationable)() SetPresenters(value []VirtualEventPresenterable)() SetSessions(value []VirtualEventSessionable)() SetSettings(value VirtualEventSettingsable)() diff --git a/models/virtual_event_external_information.go b/models/virtual_event_external_information.go new file mode 100644 index 0000000000..f864240f69 --- /dev/null +++ b/models/virtual_event_external_information.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventExternalInformation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventExternalInformation instantiates a new VirtualEventExternalInformation and sets the default values. +func NewVirtualEventExternalInformation()(*VirtualEventExternalInformation) { + m := &VirtualEventExternalInformation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventExternalInformationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventExternalInformationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventExternalInformation(), 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 *VirtualEventExternalInformation) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetApplicationId gets the applicationId property value. Identifier of the application that hosts the externalEventId. Read-only. +// returns a *string when successful +func (m *VirtualEventExternalInformation) GetApplicationId()(*string) { + val, err := m.GetBackingStore().Get("applicationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *VirtualEventExternalInformation) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalEventId gets the externalEventId property value. The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. +// returns a *string when successful +func (m *VirtualEventExternalInformation) GetExternalEventId()(*string) { + val, err := m.GetBackingStore().Get("externalEventId") + 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 *VirtualEventExternalInformation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["applicationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetApplicationId(val) + } + return nil + } + res["externalEventId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalEventId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *VirtualEventExternalInformation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventExternalInformation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("applicationId", m.GetApplicationId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalEventId", m.GetExternalEventId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEventExternalInformation) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetApplicationId sets the applicationId property value. Identifier of the application that hosts the externalEventId. Read-only. +func (m *VirtualEventExternalInformation) SetApplicationId(value *string)() { + err := m.GetBackingStore().Set("applicationId", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEventExternalInformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalEventId sets the externalEventId property value. The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. +func (m *VirtualEventExternalInformation) SetExternalEventId(value *string)() { + err := m.GetBackingStore().Set("externalEventId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *VirtualEventExternalInformation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type VirtualEventExternalInformationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplicationId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalEventId()(*string) + GetOdataType()(*string) + SetApplicationId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalEventId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/virtual_event_external_registration_information.go b/models/virtual_event_external_registration_information.go new file mode 100644 index 0000000000..a3b4ceba92 --- /dev/null +++ b/models/virtual_event_external_registration_information.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventExternalRegistrationInformation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventExternalRegistrationInformation instantiates a new VirtualEventExternalRegistrationInformation and sets the default values. +func NewVirtualEventExternalRegistrationInformation()(*VirtualEventExternalRegistrationInformation) { + m := &VirtualEventExternalRegistrationInformation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventExternalRegistrationInformation(), 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 *VirtualEventExternalRegistrationInformation) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *VirtualEventExternalRegistrationInformation) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *VirtualEventExternalRegistrationInformation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["referrer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReferrer(val) + } + return nil + } + res["registrationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRegistrationId(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReferrer gets the referrer property value. A URL or string that represents the location from which the registrant registered. Optional. +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetReferrer()(*string) { + val, err := m.GetBackingStore().Get("referrer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRegistrationId gets the registrationId property value. The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetRegistrationId()(*string) { + val, err := m.GetBackingStore().Get("registrationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventExternalRegistrationInformation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("referrer", m.GetReferrer()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("registrationId", m.GetRegistrationId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEventExternalRegistrationInformation) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEventExternalRegistrationInformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *VirtualEventExternalRegistrationInformation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetReferrer sets the referrer property value. A URL or string that represents the location from which the registrant registered. Optional. +func (m *VirtualEventExternalRegistrationInformation) SetReferrer(value *string)() { + err := m.GetBackingStore().Set("referrer", value) + if err != nil { + panic(err) + } +} +// SetRegistrationId sets the registrationId property value. The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. +func (m *VirtualEventExternalRegistrationInformation) SetRegistrationId(value *string)() { + err := m.GetBackingStore().Set("registrationId", value) + if err != nil { + panic(err) + } +} +type VirtualEventExternalRegistrationInformationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetReferrer()(*string) + GetRegistrationId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetReferrer(value *string)() + SetRegistrationId(value *string)() +} diff --git a/models/virtual_event_registration.go b/models/virtual_event_registration.go index 74219cb810..1d7bc01a47 100644 --- a/models/virtual_event_registration.go +++ b/models/virtual_event_registration.go @@ -44,6 +44,18 @@ func (m *VirtualEventRegistration) GetEmail()(*string) { } return nil } +// GetExternalRegistrationInformation gets the externalRegistrationInformation property value. The external information for a virtual event registration. +// returns a VirtualEventExternalRegistrationInformationable when successful +func (m *VirtualEventRegistration) GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) { + val, err := m.GetBackingStore().Get("externalRegistrationInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.(VirtualEventExternalRegistrationInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *VirtualEventRegistration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -68,6 +80,16 @@ func (m *VirtualEventRegistration) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["externalRegistrationInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExternalRegistrationInformation(val.(VirtualEventExternalRegistrationInformationable)) + } + return nil + } res["firstName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -298,6 +320,12 @@ func (m *VirtualEventRegistration) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + { + err = writer.WriteObjectValue("externalRegistrationInformation", m.GetExternalRegistrationInformation()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("firstName", m.GetFirstName()) if err != nil { @@ -381,6 +409,13 @@ func (m *VirtualEventRegistration) SetEmail(value *string)() { panic(err) } } +// SetExternalRegistrationInformation sets the externalRegistrationInformation property value. The external information for a virtual event registration. +func (m *VirtualEventRegistration) SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() { + err := m.GetBackingStore().Set("externalRegistrationInformation", value) + if err != nil { + panic(err) + } +} // SetFirstName sets the firstName property value. First name of the registrant. func (m *VirtualEventRegistration) SetFirstName(value *string)() { err := m.GetBackingStore().Set("firstName", value) @@ -449,6 +484,7 @@ type VirtualEventRegistrationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCancelationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEmail()(*string) + GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) GetFirstName()(*string) GetLastName()(*string) GetPreferredLanguage()(*string) @@ -460,6 +496,7 @@ type VirtualEventRegistrationable interface { GetUserId()(*string) SetCancelationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEmail(value *string)() + SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() SetFirstName(value *string)() SetLastName(value *string)() SetPreferredLanguage(value *string)() diff --git a/models/workforce_integration.go b/models/workforce_integration.go index 12916bcc85..56692c7cf3 100644 --- a/models/workforce_integration.go +++ b/models/workforce_integration.go @@ -45,7 +45,7 @@ func (m *WorkforceIntegration) GetDisplayName()(*string) { } return nil } -// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. // returns a *EligibilityFilteringEnabledEntities when successful func (m *WorkforceIntegration) GetEligibilityFilteringEnabledEntities()(*EligibilityFilteringEnabledEntities) { val, err := m.GetBackingStore().Get("eligibilityFilteringEnabledEntities") @@ -157,7 +157,7 @@ func (m *WorkforceIntegration) GetIsActive()(*bool) { } return nil } -// GetSupportedEntities gets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. +// GetSupportedEntities gets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. // returns a *WorkforceIntegrationSupportedEntities when successful func (m *WorkforceIntegration) GetSupportedEntities()(*WorkforceIntegrationSupportedEntities) { val, err := m.GetBackingStore().Get("supportedEntities") @@ -247,7 +247,7 @@ func (m *WorkforceIntegration) SetDisplayName(value *string)() { panic(err) } } -// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. func (m *WorkforceIntegration) SetEligibilityFilteringEnabledEntities(value *EligibilityFilteringEnabledEntities)() { err := m.GetBackingStore().Set("eligibilityFilteringEnabledEntities", value) if err != nil { @@ -268,7 +268,7 @@ func (m *WorkforceIntegration) SetIsActive(value *bool)() { panic(err) } } -// SetSupportedEntities sets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. +// SetSupportedEntities sets the supportedEntities property value. The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. func (m *WorkforceIntegration) SetSupportedEntities(value *WorkforceIntegrationSupportedEntities)() { err := m.GetBackingStore().Set("supportedEntities", value) if err != nil { diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index f7b393e8d0..efaced0fd0 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -96,12 +96,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put create a cross-tenant user synchronization policy for a partner-specific configuration. +// Put update the user synchronization policy of a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. +// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index ea2f72cc41..788f10c0fa 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters returns the metadata for a list. +// ItemListsListItemRequestBuilderGetQueryParameters get a list of rich long-running operations associated with a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for a list. +// Get get a list of rich long-running operations associated with a list. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +164,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for a list. +// ToGetRequestInformation get a list of rich long-running operations associated with a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go b/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go new file mode 100644 index 0000000000..8567496e28 --- /dev/null +++ b/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go @@ -0,0 +1,113 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventsEventsItemSetExternalEventInformationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody instantiates a new VirtualEventsEventsItemSetExternalEventInformationPostRequestBody and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody()(*VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) { + m := &VirtualEventsEventsItemSetExternalEventInformationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventsEventsItemSetExternalEventInformationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsEventsItemSetExternalEventInformationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody(), 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalEventId gets the externalEventId property value. The externalEventId property +// returns a *string when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetExternalEventId()(*string) { + val, err := m.GetBackingStore().Get("externalEventId") + 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["externalEventId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalEventId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("externalEventId", m.GetExternalEventId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalEventId sets the externalEventId property value. The externalEventId property +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) SetExternalEventId(value *string)() { + err := m.GetBackingStore().Set("externalEventId", value) + if err != nil { + panic(err) + } +} +type VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalEventId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalEventId(value *string)() +} diff --git a/solutions/virtual_events_events_item_set_external_event_information_request_builder.go b/solutions/virtual_events_events_item_set_external_event_information_request_builder.go new file mode 100644 index 0000000000..387b5f36b2 --- /dev/null +++ b/solutions/virtual_events_events_item_set_external_event_information_request_builder.go @@ -0,0 +1,68 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemSetExternalEventInformationRequestBuilder provides operations to call the setExternalEventInformation method. +type VirtualEventsEventsItemSetExternalEventInformationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal instantiates a new VirtualEventsEventsItemSetExternalEventInformationRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + m := &VirtualEventsEventsItemSetExternalEventInformationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder instantiates a new VirtualEventsEventsItemSetExternalEventInformationRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setExternalEventInformation +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) Post(ctx context.Context, body VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable, requestConfiguration *VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action setExternalEventInformation +// returns a *RequestInformation when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable, requestConfiguration *VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_virtual_event_item_request_builder.go b/solutions/virtual_events_events_virtual_event_item_request_builder.go index 2d8abe740b..cff6e615fb 100644 --- a/solutions/virtual_events_events_virtual_event_item_request_builder.go +++ b/solutions/virtual_events_events_virtual_event_item_request_builder.go @@ -130,6 +130,11 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) Publish()(*VirtualEv func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) Sessions()(*VirtualEventsEventsItemSessionsRequestBuilder) { return NewVirtualEventsEventsItemSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SetExternalEventInformation provides operations to call the setExternalEventInformation method. +// returns a *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder when successful +func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) SetExternalEventInformation()(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property events for solutions // returns a *RequestInformation when successful func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsVirtualEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_get_response.go b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_get_response.go new file mode 100644 index 0000000000..ac17854291 --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_get_response.go @@ -0,0 +1,89 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse instantiates a new VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse and sets the default values. +func NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse()(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse) { + m := &VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateVirtualEventTownhallFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []VirtualEventTownhallable when successful +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable)() +} diff --git a/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_request_builder.go b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_request_builder.go new file mode 100644 index 0000000000..f388be32a9 --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_request_builder.go @@ -0,0 +1,125 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder provides operations to call the getByUserIdAndRole method. +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters +} +// NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderInternal instantiates a new VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder and sets the default values. +func NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, role *string, userId *string)(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) { + m := &VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserIdAndRole(userId='{userId}',role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if role != nil { + m.BaseRequestBuilder.PathParameters["role"] = *role + } + if userId != nil { + m.BaseRequestBuilder.PathParameters["userId"] = *userId + } + return m +} +// NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder instantiates a new VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder and sets the default values. +func NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. +// Deprecated: This method is obsolete. Use GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse instead. +// returns a VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable 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/virtualeventtownhall-getbyuseridandrole?view=graph-rest-1.0 +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable), nil +} +// GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. +// returns a VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable 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/virtualeventtownhall-getbyuseridandrole?view=graph-rest-1.0 +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable), nil +} +// ToGetRequestInformation get a list of virtualEventTownhall objects where the specified user is either the organizer or a coorganizer. +// returns a *RequestInformation when successful +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder when successful +func (m *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) { + return NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_response.go b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_response.go new file mode 100644 index 0000000000..13636f3cb9 --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_id_and_role_with_user_id_with_role_response.go @@ -0,0 +1,27 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable instead. +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse struct { + VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse +} +// NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse instantiates a new VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse and sets the default values. +func NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse()(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse) { + m := &VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse{ + VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse: *NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponse(), + } + return m +} +// CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponse(), nil +} +// Deprecated: This class is obsolete. Use VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable instead. +type VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable +} diff --git a/solutions/virtual_events_townhalls_get_by_user_role_with_role_get_response.go b/solutions/virtual_events_townhalls_get_by_user_role_with_role_get_response.go new file mode 100644 index 0000000000..a0ea04140e --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_role_with_role_get_response.go @@ -0,0 +1,89 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewVirtualEventsTownhallsGetByUserRoleWithRoleGetResponse instantiates a new VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse and sets the default values. +func NewVirtualEventsTownhallsGetByUserRoleWithRoleGetResponse()(*VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse) { + m := &VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateVirtualEventsTownhallsGetByUserRoleWithRoleGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsTownhallsGetByUserRoleWithRoleGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsTownhallsGetByUserRoleWithRoleGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateVirtualEventTownhallFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []VirtualEventTownhallable when successful +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallable)() +} diff --git a/solutions/virtual_events_townhalls_get_by_user_role_with_role_request_builder.go b/solutions/virtual_events_townhalls_get_by_user_role_with_role_request_builder.go new file mode 100644 index 0000000000..5f6e033867 --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_role_with_role_request_builder.go @@ -0,0 +1,122 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder provides operations to call the getByUserRole method. +type VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. +type VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetQueryParameters +} +// NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderInternal instantiates a new VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder and sets the default values. +func NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, role *string)(*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) { + m := &VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserRole(role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if role != nil { + m.BaseRequestBuilder.PathParameters["role"] = *role + } + return m +} +// NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder instantiates a new VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder and sets the default values. +func NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. +// Deprecated: This method is obsolete. Use GetAsGetByUserRoleWithRoleGetResponse instead. +// returns a VirtualEventsTownhallsGetByUserRoleWithRoleResponseable 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/virtualeventtownhall-getbyuserrole?view=graph-rest-1.0 +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsTownhallsGetByUserRoleWithRoleResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsTownhallsGetByUserRoleWithRoleResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEventsTownhallsGetByUserRoleWithRoleResponseable), nil +} +// GetAsGetByUserRoleWithRoleGetResponse get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. +// returns a VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable 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/virtualeventtownhall-getbyuserrole?view=graph-rest-1.0 +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) GetAsGetByUserRoleWithRoleGetResponse(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsTownhallsGetByUserRoleWithRoleGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable), nil +} +// ToGetRequestInformation get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer. +// returns a *RequestInformation when successful +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder when successful +func (m *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) { + return NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_townhalls_get_by_user_role_with_role_response.go b/solutions/virtual_events_townhalls_get_by_user_role_with_role_response.go new file mode 100644 index 0000000000..0af1a9656e --- /dev/null +++ b/solutions/virtual_events_townhalls_get_by_user_role_with_role_response.go @@ -0,0 +1,27 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable instead. +type VirtualEventsTownhallsGetByUserRoleWithRoleResponse struct { + VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse +} +// NewVirtualEventsTownhallsGetByUserRoleWithRoleResponse instantiates a new VirtualEventsTownhallsGetByUserRoleWithRoleResponse and sets the default values. +func NewVirtualEventsTownhallsGetByUserRoleWithRoleResponse()(*VirtualEventsTownhallsGetByUserRoleWithRoleResponse) { + m := &VirtualEventsTownhallsGetByUserRoleWithRoleResponse{ + VirtualEventsTownhallsGetByUserRoleWithRoleGetResponse: *NewVirtualEventsTownhallsGetByUserRoleWithRoleGetResponse(), + } + return m +} +// CreateVirtualEventsTownhallsGetByUserRoleWithRoleResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsTownhallsGetByUserRoleWithRoleResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsTownhallsGetByUserRoleWithRoleResponse(), nil +} +// Deprecated: This class is obsolete. Use VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable instead. +type VirtualEventsTownhallsGetByUserRoleWithRoleResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + VirtualEventsTownhallsGetByUserRoleWithRoleGetResponseable +} diff --git a/solutions/virtual_events_townhalls_request_builder.go b/solutions/virtual_events_townhalls_request_builder.go index 6c4cf1e154..1e475c9615 100644 --- a/solutions/virtual_events_townhalls_request_builder.go +++ b/solutions/virtual_events_townhalls_request_builder.go @@ -96,6 +96,16 @@ func (m *VirtualEventsTownhallsRequestBuilder) Get(ctx context.Context, requestC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventTownhallCollectionResponseable), nil } +// GetByUserIdAndRoleWithUserIdWithRole provides operations to call the getByUserIdAndRole method. +// returns a *VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder when successful +func (m *VirtualEventsTownhallsRequestBuilder) GetByUserIdAndRoleWithUserIdWithRole(role *string, userId *string)(*VirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) { + return NewVirtualEventsTownhallsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, role, userId) +} +// GetByUserRoleWithRole provides operations to call the getByUserRole method. +// returns a *VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder when successful +func (m *VirtualEventsTownhallsRequestBuilder) GetByUserRoleWithRole(role *string)(*VirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilder) { + return NewVirtualEventsTownhallsGetByUserRoleWithRoleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, role) +} // Post create a new virtualEventTownhall object in draft mode. // returns a VirtualEventTownhallable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/teams/item_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index 7e55fed7ea..8ffd227b69 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, request } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post add a conversationMember to a channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 func (m *ItemChannelsItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -146,7 +146,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation add a conversationMember to a channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 30a8a46ab2..c30e9e2053 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel 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 { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel 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/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index cbcb06192e..4ab172642e 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -75,12 +75,12 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a multitenant organization. +// Patch create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. // returns a MultiTenantOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a multitenant organization. +// ToPatchRequestInformation create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 9cec4c3c29..83a4cc8158 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -18,7 +18,7 @@ type UserItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserItemRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UserItemRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -139,11 +139,11 @@ func (m *UserItemRequestBuilder) Contacts()(*ItemContactsRequestBuilder) { func (m *UserItemRequestBuilder) CreatedObjects()(*ItemCreatedObjectsRequestBuilder) { return NewItemCreatedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes a user. +// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -218,12 +218,12 @@ func (m *UserItemRequestBuilder) FindMeetingTimes()(*ItemFindMeetingTimesRequest func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilder) { return NewItemFollowedSitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -361,7 +361,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -479,7 +479,7 @@ func (m *UserItemRequestBuilder) Sponsors()(*ItemSponsorsRequestBuilder) { func (m *UserItemRequestBuilder) Teamwork()(*ItemTeamworkRequestBuilder) { return NewItemTeamworkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a user. +// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -495,7 +495,7 @@ func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, func (m *UserItemRequestBuilder) Todo()(*ItemTodoRequestBuilder) { return NewItemTodoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 8f792cacac..0bc5d0b87c 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters list properties and relationships of the user objects. +// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *UsersRequestBuilder) Count()(*CountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the user objects. +// Get retrieve a list of user objects. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e64 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToGetRequestInformation list properties and relationships of the user objects. +// ToGetRequestInformation retrieve a list of user objects. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go index c346d5278a..c54cc378c2 100644 --- a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go +++ b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -18,7 +18,7 @@ type UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters read properties and relationships of the user object. +// UsersWithUserPrincipalNameRequestBuilderGetQueryParameters retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. type UsersWithUserPrincipalNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewUsersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewUsersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete deletes a user. +// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get read properties and relationships of the user object. +// Get retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToDeleteRequestInformation deletes a user. +// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. // returns a *RequestInformation when successful func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the user object. +// ToGetRequestInformation retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. // returns a *RequestInformation when successful func (m *UsersWithUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)