From dd571824a19819db9a62ac11d165730020343165 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 8 Jul 2025 10:26:51 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 192501 --- ...le_extension_properties_request_builder.go | 6 +- applications/item_add_key_request_builder.go | 4 +- ...s_confirm_compromised_post_request_body.go | 122 ++ ...ins_confirm_compromised_request_builder.go | 74 + ...sign_ins_confirm_safe_post_request_body.go | 122 ++ .../sign_ins_confirm_safe_request_builder.go | 74 + .../sign_ins_dismiss_post_request_body.go | 122 ++ auditlogs/sign_ins_dismiss_request_builder.go | 74 + auditlogs/sign_ins_request_builder.go | 15 + chats/item_messages_request_builder.go | 6 +- ...activity_notification_post_request_body.go | 37 + ...tem_participants_invite_request_builder.go | 6 +- contacts/contacts_request_builder.go | 46 +- ...le_extension_properties_request_builder.go | 6 +- contacts/org_contact_item_request_builder.go | 76 - ...le_extension_properties_request_builder.go | 6 +- .../device_app_management_request_builder.go | 4 +- ...licies_item_target_apps_request_builder.go | 2 +- ...managed_app_policy_item_request_builder.go | 8 +- .../managed_app_policies_request_builder.go | 8 +- ...licies_item_target_apps_request_builder.go | 2 +- ...licies_item_target_apps_request_builder.go | 2 +- ...d_app_registration_item_request_builder.go | 8 +- ...naged_app_registrations_request_builder.go | 8 +- ...managed_app_status_item_request_builder.go | 8 +- .../managed_app_statuses_request_builder.go | 8 +- ..._e_book_assignment_item_request_builder.go | 14 +- .../managed_e_books_request_builder.go | 8 +- ..._app_configuration_item_request_builder.go | 8 +- ...le_apps_mobile_app_item_request_builder.go | 20 +- .../mobile_apps_request_builder.go | 14 +- ..._compliance_policy_item_request_builder.go | 14 +- ...ice_compliance_policies_request_builder.go | 14 +- ...vice_configuration_item_request_builder.go | 20 +- .../device_configurations_request_builder.go | 14 +- ...ment_configuration_item_request_builder.go | 20 +- ...rollment_configurations_request_builder.go | 8 +- .../device_management_request_builder.go | 4 +- ...ns_role_definition_item_request_builder.go | 20 +- ...le_extension_properties_request_builder.go | 6 +- ...le_extension_properties_request_builder.go | 6 +- ...le_extension_properties_request_builder.go | 6 +- ...le_extension_properties_request_builder.go | 6 +- ...le_extension_properties_request_builder.go | 6 +- domains/item_verify_request_builder.go | 4 +- ..._items_item_create_link_request_builder.go | 4 +- ...item_items_item_restore_request_builder.go | 4 +- ...ms_item_retention_label_request_builder.go | 6 +- ...le_extension_properties_request_builder.go | 6 +- ...tions_conversation_item_request_builder.go | 2 +- groups/item_conversations_request_builder.go | 6 +- groups/item_settings_request_builder.go | 4 +- ...activity_notification_post_request_body.go | 37 + ...onversation_thread_item_request_builder.go | 8 +- ...item_threads_item_posts_request_builder.go | 8 +- .../group_settings_request_builder.go | 4 +- ...le_extension_properties_request_builder.go | 6 +- ...ons_named_location_item_request_builder.go | 20 +- ...ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go | 14 +- ...ges_access_package_item_request_builder.go | 8 +- ...reements_agreement_item_request_builder.go | 8 +- kiota-dom-export.txt | 1343 ++++++++++++++++- kiota-lock.json | 2 +- models/activities_container.go | 91 ++ models/activity_metadata.go | 154 ++ models/ai_interaction_plugin.go | 227 +++ models/binary_content.go | 81 + models/classifcation_error_base.go | 284 ++++ models/classification_error.go | 109 ++ models/classification_inner_error.go | 265 ++++ models/content_activity.go | 153 ++ .../content_activity_collection_response.go | 91 ++ models/content_base.go | 136 ++ models/content_processing_error_type.go | 39 + models/custom_metadata_dictionary.go | 42 + models/data_security_and_governance.go | 62 + models/device_metadata.go | 227 +++ models/dictionary.go | 2 + models/dlp_action.go | 66 + models/dlp_action_info.go | 174 +++ models/entity.go | 18 + models/execution_mode.go | 39 + models/group_scope.go | 44 + models/integrated_application_metadata.go | 208 +++ models/label_content_right.go | 116 ++ models/operating_system_specifications.go | 190 +++ models/policy_binding.go | 214 +++ models/policy_location.go | 175 +++ models/policy_location_application.go | 44 + models/policy_location_domain.go | 44 + models/policy_location_url.go | 44 + models/policy_pivot_property.go | 42 + models/policy_scope_base.go | 310 ++++ models/policy_tenant_scope.go | 81 + models/policy_user_scope.go | 44 + models/process_content_batch_request.go | 227 +++ models/process_content_metadata_base.go | 470 ++++++ models/process_content_request.go | 313 ++++ models/process_content_response.go | 252 ++++ models/process_content_responses.go | 190 +++ models/process_conversation_metadata.go | 173 +++ models/process_file_metadata.go | 118 ++ models/processing_error.go | 80 + models/protected_application_metadata.go | 81 + models/protection_scope_state.go | 39 + models/restrict_access_action.go | 44 + models/restrict_access_action_base.go | 98 ++ models/restriction_action.go | 39 + models/scope_base.go | 175 +++ models/security.go | 37 + models/tenant_data_security_and_governance.go | 81 + models/tenant_protection_scope_container.go | 42 + models/tenant_scope.go | 44 + models/text_content.go | 81 + models/upload_session.go | 4 +- models/usage_rights.go | 108 ++ models/usage_rights_included.go | 154 ++ models/user.go | 37 + models/user_activity_type.go | 45 + models/user_activity_types.go | 63 + models/user_data_security_and_governance.go | 118 ++ models/user_protection_scope_container.go | 42 + models/user_scope.go | 44 + .../workbook_worksheet_protection_options.go | 44 +- ...le_extension_properties_request_builder.go | 6 +- .../organization_item_request_builder.go | 8 +- organization/organization_request_builder.go | 8 +- ...le_extension_properties_request_builder.go | 6 +- ...dentity_synchronization_request_builder.go | 6 +- ...process_content_async_post_request_body.go | 129 ++ ...nce_process_content_async_post_response.go | 92 ++ ...e_process_content_async_request_builder.go | 96 ++ ...vernance_process_content_async_response.go | 30 + ...ection_scopes_compute_post_request_body.go | 279 ++++ ...protection_scopes_compute_post_response.go | 92 ++ ...otection_scopes_compute_request_builder.go | 96 ++ ...ance_protection_scopes_compute_response.go | 30 + ...nance_protection_scopes_request_builder.go | 165 ++ ...security_and_governance_request_builder.go | 170 +++ security/security_request_builder.go | 5 + ...le_extension_properties_request_builder.go | 6 +- .../item_add_key_request_builder.go | 4 +- sites/item_lists_list_item_request_builder.go | 8 +- sites/sites_request_builder.go | 8 +- ...onversation_member_item_request_builder.go | 6 +- ...m_channels_item_members_request_builder.go | 6 +- ...activity_notification_post_request_body.go | 37 + ...ication_to_recipients_post_request_body.go | 37 + ...d2b2d49d81cd1ea01f0c115db9f66afd0109286.go | 160 ++ ...le_extension_properties_request_builder.go | 6 +- ...activity_notification_post_request_body.go | 37 + ...ontent_activities_count_request_builder.go | 83 + ...ties_content_activities_request_builder.go | 155 ++ ...d_governance_activities_request_builder.go | 165 ++ ...nance_process_content_post_request_body.go | 117 ++ ...ernance_process_content_request_builder.go | 79 + ...ection_scopes_compute_post_request_body.go | 279 ++++ ...protection_scopes_compute_post_response.go | 92 ++ ...otection_scopes_compute_request_builder.go | 96 ++ ...ance_protection_scopes_compute_response.go | 30 + ...nance_protection_scopes_request_builder.go | 165 ++ ...security_and_governance_request_builder.go | 175 +++ ...activity_notification_post_request_body.go | 37 + users/item_presence_request_builder.go | 8 +- ...activity_notification_post_request_body.go | 37 + users/user_item_request_builder.go | 13 +- users/users_request_builder.go | 14 +- ...ith_user_principal_name_request_builder.go | 8 +- 168 files changed, 12278 insertions(+), 423 deletions(-) create mode 100644 auditlogs/sign_ins_confirm_compromised_post_request_body.go create mode 100644 auditlogs/sign_ins_confirm_compromised_request_builder.go create mode 100644 auditlogs/sign_ins_confirm_safe_post_request_body.go create mode 100644 auditlogs/sign_ins_confirm_safe_request_builder.go create mode 100644 auditlogs/sign_ins_dismiss_post_request_body.go create mode 100644 auditlogs/sign_ins_dismiss_request_builder.go create mode 100644 models/activities_container.go create mode 100644 models/activity_metadata.go create mode 100644 models/ai_interaction_plugin.go create mode 100644 models/binary_content.go create mode 100644 models/classifcation_error_base.go create mode 100644 models/classification_error.go create mode 100644 models/classification_inner_error.go create mode 100644 models/content_activity.go create mode 100644 models/content_activity_collection_response.go create mode 100644 models/content_base.go create mode 100644 models/content_processing_error_type.go create mode 100644 models/custom_metadata_dictionary.go create mode 100644 models/data_security_and_governance.go create mode 100644 models/device_metadata.go create mode 100644 models/dlp_action.go create mode 100644 models/dlp_action_info.go create mode 100644 models/execution_mode.go create mode 100644 models/group_scope.go create mode 100644 models/integrated_application_metadata.go create mode 100644 models/label_content_right.go create mode 100644 models/operating_system_specifications.go create mode 100644 models/policy_binding.go create mode 100644 models/policy_location.go create mode 100644 models/policy_location_application.go create mode 100644 models/policy_location_domain.go create mode 100644 models/policy_location_url.go create mode 100644 models/policy_pivot_property.go create mode 100644 models/policy_scope_base.go create mode 100644 models/policy_tenant_scope.go create mode 100644 models/policy_user_scope.go create mode 100644 models/process_content_batch_request.go create mode 100644 models/process_content_metadata_base.go create mode 100644 models/process_content_request.go create mode 100644 models/process_content_response.go create mode 100644 models/process_content_responses.go create mode 100644 models/process_conversation_metadata.go create mode 100644 models/process_file_metadata.go create mode 100644 models/processing_error.go create mode 100644 models/protected_application_metadata.go create mode 100644 models/protection_scope_state.go create mode 100644 models/restrict_access_action.go create mode 100644 models/restrict_access_action_base.go create mode 100644 models/restriction_action.go create mode 100644 models/scope_base.go create mode 100644 models/tenant_data_security_and_governance.go create mode 100644 models/tenant_protection_scope_container.go create mode 100644 models/tenant_scope.go create mode 100644 models/text_content.go create mode 100644 models/usage_rights.go create mode 100644 models/usage_rights_included.go create mode 100644 models/user_activity_type.go create mode 100644 models/user_activity_types.go create mode 100644 models/user_data_security_and_governance.go create mode 100644 models/user_protection_scope_container.go create mode 100644 models/user_scope.go create mode 100644 security/data_security_and_governance_process_content_async_post_request_body.go create mode 100644 security/data_security_and_governance_process_content_async_post_response.go create mode 100644 security/data_security_and_governance_process_content_async_request_builder.go create mode 100644 security/data_security_and_governance_process_content_async_response.go create mode 100644 security/data_security_and_governance_protection_scopes_compute_post_request_body.go create mode 100644 security/data_security_and_governance_protection_scopes_compute_post_response.go create mode 100644 security/data_security_and_governance_protection_scopes_compute_request_builder.go create mode 100644 security/data_security_and_governance_protection_scopes_compute_response.go create mode 100644 security/data_security_and_governance_protection_scopes_request_builder.go create mode 100644 security/data_security_and_governance_request_builder.go create mode 100644 users/a011e56044e52a610ecbbaeffd2b2d49d81cd1ea01f0c115db9f66afd0109286.go create mode 100644 users/item_data_security_and_governance_activities_content_activities_count_request_builder.go create mode 100644 users/item_data_security_and_governance_activities_content_activities_request_builder.go create mode 100644 users/item_data_security_and_governance_activities_request_builder.go create mode 100644 users/item_data_security_and_governance_process_content_post_request_body.go create mode 100644 users/item_data_security_and_governance_process_content_request_builder.go create mode 100644 users/item_data_security_and_governance_protection_scopes_compute_post_request_body.go create mode 100644 users/item_data_security_and_governance_protection_scopes_compute_post_response.go create mode 100644 users/item_data_security_and_governance_protection_scopes_compute_request_builder.go create mode 100644 users/item_data_security_and_governance_protection_scopes_compute_response.go create mode 100644 users/item_data_security_and_governance_protection_scopes_request_builder.go create mode 100644 users/item_data_security_and_governance_request_builder.go diff --git a/applications/get_available_extension_properties_request_builder.go b/applications/get_available_extension_properties_request_builder.go index de6a867b886..4c1fff16c0f 100644 --- a/applications/get_available_extension_properties_request_builder.go +++ b/applications/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_add_key_request_builder.go b/applications/item_add_key_request_builder.go index eb1a1604f41..05c7b021550 100644 --- a/applications/item_add_key_request_builder.go +++ b/applications/item_add_key_request_builder.go @@ -34,7 +34,7 @@ func NewItemAddKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemAddKeyRequestBuilderInternal(urlParams, requestAdapter) } -// Post add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. +// Post add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. // returns a KeyCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemAddKeyRequestBuilder) Post(ctx context.Context, body ItemAddKeyPost } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable), nil } -// ToPostRequestInformation add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. +// ToPostRequestInformation add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. // returns a *RequestInformation when successful func (m *ItemAddKeyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAddKeyPostRequestBodyable, requestConfiguration *ItemAddKeyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/sign_ins_confirm_compromised_post_request_body.go b/auditlogs/sign_ins_confirm_compromised_post_request_body.go new file mode 100644 index 00000000000..16cdba2378e --- /dev/null +++ b/auditlogs/sign_ins_confirm_compromised_post_request_body.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SignInsConfirmCompromisedPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSignInsConfirmCompromisedPostRequestBody instantiates a new SignInsConfirmCompromisedPostRequestBody and sets the default values. +func NewSignInsConfirmCompromisedPostRequestBody()(*SignInsConfirmCompromisedPostRequestBody) { + m := &SignInsConfirmCompromisedPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSignInsConfirmCompromisedPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSignInsConfirmCompromisedPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSignInsConfirmCompromisedPostRequestBody(), 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 *SignInsConfirmCompromisedPostRequestBody) 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 *SignInsConfirmCompromisedPostRequestBody) 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 *SignInsConfirmCompromisedPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["requestIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRequestIds(res) + } + return nil + } + return res +} +// GetRequestIds gets the requestIds property value. The requestIds property +// returns a []string when successful +func (m *SignInsConfirmCompromisedPostRequestBody) GetRequestIds()([]string) { + val, err := m.GetBackingStore().Get("requestIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *SignInsConfirmCompromisedPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRequestIds() != nil { + err := writer.WriteCollectionOfStringValues("requestIds", m.GetRequestIds()) + 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 *SignInsConfirmCompromisedPostRequestBody) 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 *SignInsConfirmCompromisedPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRequestIds sets the requestIds property value. The requestIds property +func (m *SignInsConfirmCompromisedPostRequestBody) SetRequestIds(value []string)() { + err := m.GetBackingStore().Set("requestIds", value) + if err != nil { + panic(err) + } +} +type SignInsConfirmCompromisedPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRequestIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRequestIds(value []string)() +} diff --git a/auditlogs/sign_ins_confirm_compromised_request_builder.go b/auditlogs/sign_ins_confirm_compromised_request_builder.go new file mode 100644 index 00000000000..fe5e71497be --- /dev/null +++ b/auditlogs/sign_ins_confirm_compromised_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// SignInsConfirmCompromisedRequestBuilder provides operations to call the confirmCompromised method. +type SignInsConfirmCompromisedRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewSignInsConfirmCompromisedRequestBuilderInternal instantiates a new SignInsConfirmCompromisedRequestBuilder and sets the default values. +func NewSignInsConfirmCompromisedRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsConfirmCompromisedRequestBuilder) { + m := &SignInsConfirmCompromisedRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmCompromised", pathParameters), + } + return m +} +// NewSignInsConfirmCompromisedRequestBuilder instantiates a new SignInsConfirmCompromisedRequestBuilder and sets the default values. +func NewSignInsConfirmCompromisedRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsConfirmCompromisedRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSignInsConfirmCompromisedRequestBuilderInternal(urlParams, requestAdapter) +} +// Post mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmcompromised?view=graph-rest-1.0 +func (m *SignInsConfirmCompromisedRequestBuilder) Post(ctx context.Context, body SignInsConfirmCompromisedPostRequestBodyable, requestConfiguration *SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration)(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 mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a *RequestInformation when successful +func (m *SignInsConfirmCompromisedRequestBuilder) ToPostRequestInformation(ctx context.Context, body SignInsConfirmCompromisedPostRequestBodyable, requestConfiguration *SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration)(*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 *SignInsConfirmCompromisedRequestBuilder when successful +func (m *SignInsConfirmCompromisedRequestBuilder) WithUrl(rawUrl string)(*SignInsConfirmCompromisedRequestBuilder) { + return NewSignInsConfirmCompromisedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_confirm_safe_post_request_body.go b/auditlogs/sign_ins_confirm_safe_post_request_body.go new file mode 100644 index 00000000000..e8ab51bb246 --- /dev/null +++ b/auditlogs/sign_ins_confirm_safe_post_request_body.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SignInsConfirmSafePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSignInsConfirmSafePostRequestBody instantiates a new SignInsConfirmSafePostRequestBody and sets the default values. +func NewSignInsConfirmSafePostRequestBody()(*SignInsConfirmSafePostRequestBody) { + m := &SignInsConfirmSafePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSignInsConfirmSafePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSignInsConfirmSafePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSignInsConfirmSafePostRequestBody(), 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 *SignInsConfirmSafePostRequestBody) 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 *SignInsConfirmSafePostRequestBody) 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 *SignInsConfirmSafePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["requestIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRequestIds(res) + } + return nil + } + return res +} +// GetRequestIds gets the requestIds property value. The requestIds property +// returns a []string when successful +func (m *SignInsConfirmSafePostRequestBody) GetRequestIds()([]string) { + val, err := m.GetBackingStore().Get("requestIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *SignInsConfirmSafePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRequestIds() != nil { + err := writer.WriteCollectionOfStringValues("requestIds", m.GetRequestIds()) + 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 *SignInsConfirmSafePostRequestBody) 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 *SignInsConfirmSafePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRequestIds sets the requestIds property value. The requestIds property +func (m *SignInsConfirmSafePostRequestBody) SetRequestIds(value []string)() { + err := m.GetBackingStore().Set("requestIds", value) + if err != nil { + panic(err) + } +} +type SignInsConfirmSafePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRequestIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRequestIds(value []string)() +} diff --git a/auditlogs/sign_ins_confirm_safe_request_builder.go b/auditlogs/sign_ins_confirm_safe_request_builder.go new file mode 100644 index 00000000000..27d0e9459ad --- /dev/null +++ b/auditlogs/sign_ins_confirm_safe_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// SignInsConfirmSafeRequestBuilder provides operations to call the confirmSafe method. +type SignInsConfirmSafeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SignInsConfirmSafeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SignInsConfirmSafeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewSignInsConfirmSafeRequestBuilderInternal instantiates a new SignInsConfirmSafeRequestBuilder and sets the default values. +func NewSignInsConfirmSafeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsConfirmSafeRequestBuilder) { + m := &SignInsConfirmSafeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/auditLogs/signIns/confirmSafe", pathParameters), + } + return m +} +// NewSignInsConfirmSafeRequestBuilder instantiates a new SignInsConfirmSafeRequestBuilder and sets the default values. +func NewSignInsConfirmSafeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsConfirmSafeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSignInsConfirmSafeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmsafe?view=graph-rest-1.0 +func (m *SignInsConfirmSafeRequestBuilder) Post(ctx context.Context, body SignInsConfirmSafePostRequestBodyable, requestConfiguration *SignInsConfirmSafeRequestBuilderPostRequestConfiguration)(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 mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a *RequestInformation when successful +func (m *SignInsConfirmSafeRequestBuilder) ToPostRequestInformation(ctx context.Context, body SignInsConfirmSafePostRequestBodyable, requestConfiguration *SignInsConfirmSafeRequestBuilderPostRequestConfiguration)(*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 *SignInsConfirmSafeRequestBuilder when successful +func (m *SignInsConfirmSafeRequestBuilder) WithUrl(rawUrl string)(*SignInsConfirmSafeRequestBuilder) { + return NewSignInsConfirmSafeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_dismiss_post_request_body.go b/auditlogs/sign_ins_dismiss_post_request_body.go new file mode 100644 index 00000000000..f40547bfd0e --- /dev/null +++ b/auditlogs/sign_ins_dismiss_post_request_body.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SignInsDismissPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSignInsDismissPostRequestBody instantiates a new SignInsDismissPostRequestBody and sets the default values. +func NewSignInsDismissPostRequestBody()(*SignInsDismissPostRequestBody) { + m := &SignInsDismissPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSignInsDismissPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSignInsDismissPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSignInsDismissPostRequestBody(), 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 *SignInsDismissPostRequestBody) 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 *SignInsDismissPostRequestBody) 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 *SignInsDismissPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["requestIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetRequestIds(res) + } + return nil + } + return res +} +// GetRequestIds gets the requestIds property value. The requestIds property +// returns a []string when successful +func (m *SignInsDismissPostRequestBody) GetRequestIds()([]string) { + val, err := m.GetBackingStore().Get("requestIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *SignInsDismissPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetRequestIds() != nil { + err := writer.WriteCollectionOfStringValues("requestIds", m.GetRequestIds()) + 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 *SignInsDismissPostRequestBody) 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 *SignInsDismissPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetRequestIds sets the requestIds property value. The requestIds property +func (m *SignInsDismissPostRequestBody) SetRequestIds(value []string)() { + err := m.GetBackingStore().Set("requestIds", value) + if err != nil { + panic(err) + } +} +type SignInsDismissPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetRequestIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetRequestIds(value []string)() +} diff --git a/auditlogs/sign_ins_dismiss_request_builder.go b/auditlogs/sign_ins_dismiss_request_builder.go new file mode 100644 index 00000000000..857e8cb8e1c --- /dev/null +++ b/auditlogs/sign_ins_dismiss_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package auditlogs + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// SignInsDismissRequestBuilder provides operations to call the dismiss method. +type SignInsDismissRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// SignInsDismissRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type SignInsDismissRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewSignInsDismissRequestBuilderInternal instantiates a new SignInsDismissRequestBuilder and sets the default values. +func NewSignInsDismissRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsDismissRequestBuilder) { + m := &SignInsDismissRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/auditLogs/signIns/dismiss", pathParameters), + } + return m +} +// NewSignInsDismissRequestBuilder instantiates a new SignInsDismissRequestBuilder and sets the default values. +func NewSignInsDismissRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsDismissRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewSignInsDismissRequestBuilderInternal(urlParams, requestAdapter) +} +// Post mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/signin-dismiss?view=graph-rest-1.0 +func (m *SignInsDismissRequestBuilder) Post(ctx context.Context, body SignInsDismissPostRequestBodyable, requestConfiguration *SignInsDismissRequestBuilderPostRequestConfiguration)(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 mark an event in Microsoft Entra sign-in logs as dismissed. For details about investigating Identity Protection risks, see How to investigate risk. +// returns a *RequestInformation when successful +func (m *SignInsDismissRequestBuilder) ToPostRequestInformation(ctx context.Context, body SignInsDismissPostRequestBodyable, requestConfiguration *SignInsDismissRequestBuilderPostRequestConfiguration)(*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 *SignInsDismissRequestBuilder when successful +func (m *SignInsDismissRequestBuilder) WithUrl(rawUrl string)(*SignInsDismissRequestBuilder) { + return NewSignInsDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_request_builder.go b/auditlogs/sign_ins_request_builder.go index 8b33625ee77..dadd65d7aa1 100644 --- a/auditlogs/sign_ins_request_builder.go +++ b/auditlogs/sign_ins_request_builder.go @@ -61,6 +61,16 @@ func (m *SignInsRequestBuilder) BySignInId(signInId string)(*SignInsSignInItemRe } return NewSignInsSignInItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) } +// ConfirmCompromised provides operations to call the confirmCompromised method. +// returns a *SignInsConfirmCompromisedRequestBuilder when successful +func (m *SignInsRequestBuilder) ConfirmCompromised()(*SignInsConfirmCompromisedRequestBuilder) { + return NewSignInsConfirmCompromisedRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ConfirmSafe provides operations to call the confirmSafe method. +// returns a *SignInsConfirmSafeRequestBuilder when successful +func (m *SignInsRequestBuilder) ConfirmSafe()(*SignInsConfirmSafeRequestBuilder) { + return NewSignInsConfirmSafeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewSignInsRequestBuilderInternal instantiates a new SignInsRequestBuilder and sets the default values. func NewSignInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*SignInsRequestBuilder) { m := &SignInsRequestBuilder{ @@ -79,6 +89,11 @@ func NewSignInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 func (m *SignInsRequestBuilder) Count()(*SignInsCountRequestBuilder) { return NewSignInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Dismiss provides operations to call the dismiss method. +// returns a *SignInsDismissRequestBuilder when successful +func (m *SignInsRequestBuilder) Dismiss()(*SignInsDismissRequestBuilder) { + return NewSignInsDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. // returns a SignInCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 1f850bb431f..0f120b85b52 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -107,12 +107,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. +// Post send a new chatMessage in the specified channel or a chat. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_send_activity_notification_post_request_body.go b/chats/item_send_activity_notification_post_request_body.go index a58f7b6bda9..63075fa6d69 100644 --- a/chats/item_send_activity_notification_post_request_body.go +++ b/chats/item_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemSendActivityNotificationPostRequestBody) GetFieldDeserializers()(ma } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -150,6 +160,18 @@ func (m *ItemSendActivityNotificationPostRequestBody) GetFieldDeserializers()(ma } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -224,6 +246,12 @@ func (m *ItemSendActivityNotificationPostRequestBody) Serialize(writer i878a80d2 return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -293,6 +321,13 @@ func (m *ItemSendActivityNotificationPostRequestBody) SetChainId(value *int64)() panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -335,6 +370,7 @@ type ItemSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipient()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -343,6 +379,7 @@ type ItemSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipient(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 072db3098f2..d71b1c0f861 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -34,12 +34,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +57,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/contacts_request_builder.go b/contacts/contacts_request_builder.go index f5a655ebfc2..f33e26c2940 100644 --- a/contacts/contacts_request_builder.go +++ b/contacts/contacts_request_builder.go @@ -28,8 +28,6 @@ type ContactsRequestBuilderGetQueryParameters struct { 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"` } @@ -42,13 +40,6 @@ type ContactsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ContactsRequestBuilderGetQueryParameters } -// ContactsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ContactsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} // ByOrgContactId provides operations to manage the collection of orgContact entities. // returns a *OrgContactItemRequestBuilder when successful func (m *ContactsRequestBuilder) ByOrgContactId(orgContactId string)(*OrgContactItemRequestBuilder) { @@ -64,7 +55,7 @@ func (m *ContactsRequestBuilder) ByOrgContactId(orgContactId string)(*OrgContact // NewContactsRequestBuilderInternal instantiates a new ContactsRequestBuilder and sets the default values. func NewContactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ContactsRequestBuilder) { m := &ContactsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", pathParameters), } return m } @@ -117,26 +108,6 @@ func (m *ContactsRequestBuilder) GetAvailableExtensionProperties()(*GetAvailable func (m *ContactsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post add new entity to contacts -// returns a OrgContactable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ContactsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *ContactsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOrgContactFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable), nil -} // ToGetRequestInformation get the list of organizational contacts for this organization. // returns a *RequestInformation when successful func (m *ContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ContactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -151,21 +122,6 @@ func (m *ContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add new entity to contacts -// returns a *RequestInformation when successful -func (m *ContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *ContactsRequestBuilderPostRequestConfiguration)(*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 -} // ValidateProperties provides operations to call the validateProperties method. // returns a *ValidatePropertiesRequestBuilder when successful func (m *ContactsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { diff --git a/contacts/get_available_extension_properties_request_builder.go b/contacts/get_available_extension_properties_request_builder.go index 5901492fc0f..addce0652ba 100644 --- a/contacts/get_available_extension_properties_request_builder.go +++ b/contacts/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/org_contact_item_request_builder.go b/contacts/org_contact_item_request_builder.go index 94312bbe83b..d3638454bc1 100644 --- a/contacts/org_contact_item_request_builder.go +++ b/contacts/org_contact_item_request_builder.go @@ -14,13 +14,6 @@ import ( type OrgContactItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OrgContactItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type OrgContactItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} // OrgContactItemRequestBuilderGetQueryParameters get the properties and relationships of an organizational contact. type OrgContactItemRequestBuilderGetQueryParameters struct { // Expand related entities @@ -37,13 +30,6 @@ type OrgContactItemRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *OrgContactItemRequestBuilderGetQueryParameters } -// OrgContactItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type OrgContactItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} // CheckMemberGroups provides operations to call the checkMemberGroups method. // returns a *ItemCheckMemberGroupsRequestBuilder when successful func (m *OrgContactItemRequestBuilder) CheckMemberGroups()(*ItemCheckMemberGroupsRequestBuilder) { @@ -67,22 +53,6 @@ func NewOrgContactItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewOrgContactItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete entity from contacts -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *OrgContactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} // DirectReports provides operations to manage the directReports property of the microsoft.graph.orgContact entity. // returns a *ItemDirectReportsRequestBuilder when successful func (m *OrgContactItemRequestBuilder) DirectReports()(*ItemDirectReportsRequestBuilder) { @@ -131,26 +101,6 @@ func (m *OrgContactItemRequestBuilder) Manager()(*ItemManagerRequestBuilder) { func (m *OrgContactItemRequestBuilder) MemberOf()(*ItemMemberOfRequestBuilder) { return NewItemMemberOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update entity in contacts -// returns a OrgContactable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *OrgContactItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *OrgContactItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateOrgContactFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable), nil -} // Restore provides operations to call the restore method. // returns a *ItemRestoreRequestBuilder when successful func (m *OrgContactItemRequestBuilder) Restore()(*ItemRestoreRequestBuilder) { @@ -166,17 +116,6 @@ func (m *OrgContactItemRequestBuilder) RetryServiceProvisioning()(*ItemRetryServ func (m *OrgContactItemRequestBuilder) ServiceProvisioningErrors()(*ItemServiceProvisioningErrorsRequestBuilder) { return NewItemServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete entity from contacts -// returns a *RequestInformation when successful -func (m *OrgContactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} // ToGetRequestInformation get the properties and relationships of an organizational contact. // returns a *RequestInformation when successful func (m *OrgContactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -191,21 +130,6 @@ func (m *OrgContactItemRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update entity in contacts -// returns a *RequestInformation when successful -func (m *OrgContactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable, requestConfiguration *OrgContactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} // TransitiveMemberOf provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. // returns a *ItemTransitiveMemberOfRequestBuilder when successful func (m *OrgContactItemRequestBuilder) TransitiveMemberOf()(*ItemTransitiveMemberOfRequestBuilder) { diff --git a/contracts/get_available_extension_properties_request_builder.go b/contracts/get_available_extension_properties_request_builder.go index d75d18eea90..2388687ae19 100644 --- a/contracts/get_available_extension_properties_request_builder.go +++ b/contracts/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*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 dce523419ef..82d4ffafe4d 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -65,7 +65,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-policyset-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 { @@ -133,7 +133,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-onboarding-deviceappmanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index 3e1a6cb8a3a..2f3d84a9947 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -37,7 +37,7 @@ func NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 155b109e629..f6f9de93a76 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windowsInformationProtection object. +// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppConfiguration object. type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the windowsInformationProtection object. +// Get read properties and relationships of the managedAppConfiguration object. // returns a ManagedAppPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0 func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsInformationProtection object. +// ToGetRequestInformation read properties and relationships of the managedAppConfiguration object. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_policies_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index 557752d6372..3555f48a582 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the windowsInformationProtection objects. +// ManagedAppPoliciesRequestBuilderGetQueryParameters list properties and relationships of the managedAppConfiguration objects. type ManagedAppPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewManagedAppPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppPoliciesRequestBuilder) Count()(*ManagedAppPoliciesCountRequestBuilder) { return NewManagedAppPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windowsInformationProtection objects. +// Get list properties and relationships of the managedAppConfiguration objects. // returns a ManagedAppPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0 func (m *ManagedAppPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedAppPoliciesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the windowsInformationProtection objects. +// ToGetRequestInformation list properties and relationships of the managedAppConfiguration objects. // returns a *RequestInformation when successful func (m *ManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 5f1d88caab1..0f8e9f8136b 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -37,7 +37,7 @@ func NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 101d571ae70..6211ac18527 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -37,7 +37,7 @@ func NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0 func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) Post(ctx context.Context, body ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsPostRequestBodyable, requestConfiguration *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index fb894a231ab..3848503a250 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppRegistration object. +// ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters read properties and relationships of the androidManagedAppRegistration object. type ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,12 +78,12 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Delete } return nil } -// Get read properties and relationships of the managedAppRegistration object. +// Get read properties and relationships of the androidManagedAppRegistration object. // returns a ManagedAppRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +142,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppRegistration object. +// ToGetRequestInformation read properties and relationships of the androidManagedAppRegistration object. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_registrations_request_builder.go b/deviceappmanagement/managed_app_registrations_request_builder.go index fb833f151e2..4acf149d16d 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects. +// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the androidManagedAppRegistration objects. type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) { return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the iosManagedAppRegistration objects. +// Get list properties and relationships of the androidManagedAppRegistration objects. // returns a ManagedAppRegistrationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil } -// ToGetRequestInformation list properties and relationships of the iosManagedAppRegistration objects. +// ToGetRequestInformation list properties and relationships of the androidManagedAppRegistration objects. // returns a *RequestInformation when successful func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index ac4c26ba883..c3dacfdf093 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -21,7 +21,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatus object. +// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object. type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex } return nil } -// Get read properties and relationships of the managedAppStatus object. +// Get read properties and relationships of the managedAppStatusRaw object. // returns a ManagedAppStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedAppStatus object. +// ToGetRequestInformation read properties and relationships of the managedAppStatusRaw object. // returns a *RequestInformation when successful func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_app_statuses_request_builder.go b/deviceappmanagement/managed_app_statuses_request_builder.go index acd3997463a..f11e18243de 100644 --- a/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedAppStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatus objects. +// ManagedAppStatusesRequestBuilderGetQueryParameters list properties and relationships of the managedAppStatusRaw objects. type ManagedAppStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewManagedAppStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ManagedAppStatusesRequestBuilder) Count()(*ManagedAppStatusesCountRequestBuilder) { return NewManagedAppStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAppStatus objects. +// Get list properties and relationships of the managedAppStatusRaw objects. // returns a ManagedAppStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 func (m *ManagedAppStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ManagedAppStatusesRequestBuilder) Post(ctx context.Context, body iadcd8 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable), nil } -// ToGetRequestInformation list properties and relationships of the managedAppStatus objects. +// ToGetRequestInformation list properties and relationships of the managedAppStatusRaw objects. // returns a *RequestInformation when successful func (m *ManagedAppStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 0a5ec5c1bd8..ea89b150a0b 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 @@ -21,7 +21,7 @@ type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the iosVppEBookAssignment object. +// ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters read properties and relationships of the managedEBookAssignment object. type ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) D } return nil } -// Get read properties and relationships of the iosVppEBookAssignment object. +// Get read properties and relationships of the managedEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) G } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil } -// Patch update the properties of a iosVppEBookAssignment object. +// Patch update the properties of a managedEBookAssignment object. // returns a ManagedEBookAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +133,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosVppEBookAssignment object. +// ToGetRequestInformation read properties and relationships of the managedEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a iosVppEBookAssignment object. +// ToPatchRequestInformation update the properties of a managedEBookAssignment object. // returns a *RequestInformation when successful func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index ba8b9f2210c..fb34d0db0c4 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -14,7 +14,7 @@ import ( type ManagedEBooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the managedEBook objects. +// ManagedEBooksRequestBuilderGetQueryParameters list properties and relationships of the iosVppEBook objects. type ManagedEBooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewManagedEBooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ManagedEBooksRequestBuilder) Count()(*ManagedEBooksCountRequestBuilder) { return NewManagedEBooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedEBook objects. +// Get list properties and relationships of the iosVppEBook 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-managedebook-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 func (m *ManagedEBooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *ManagedEBooksRequestBuilder) Post(ctx context.Context, body iadcd811244 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookable), nil } -// ToGetRequestInformation list properties and relationships of the managedEBook objects. +// ToGetRequestInformation list properties and relationships of the iosVppEBook objects. // returns a *RequestInformation when successful func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedEBooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index 830e684b85e..3ba5dc1c945 100644 --- a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the managedDeviceMobileAppConfiguration object. +// MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosMobileAppConfiguration object. type MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -96,12 +96,12 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) DeviceStatusSummary()(*MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) { return NewMobileAppConfigurationsItemDeviceStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the managedDeviceMobileAppConfiguration object. +// Get read properties and relationships of the iosMobileAppConfiguration object. // returns a ManagedDeviceMobileAppConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedDeviceMobileAppConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -153,7 +153,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the managedDeviceMobileAppConfiguration object. +// ToGetRequestInformation read properties and relationships of the iosMobileAppConfiguration object. // returns a *RequestInformation when successful func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index 100e705a308..477717b1647 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -21,7 +21,7 @@ type MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the windowsMobileMSI object. +// MobileAppsMobileAppItemRequestBuilderGetQueryParameters read properties and relationships of the iosLobApp object. type MobileAppsMobileAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -72,11 +72,11 @@ func NewMobileAppsMobileAppItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMobileAppsMobileAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a managedIOSStoreApp. +// Delete deletes a iosiPadOSWebClip. // returns a ODataError error 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-iosipadoswebclip-delete?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +91,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read properties and relationships of the windowsMobileMSI object. +// Get read properties and relationships of the iosLobApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-get?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -194,12 +194,12 @@ func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*Mob func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a windowsWebApp object. +// Patch update the properties of a iosVppApp 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-windowswebapp-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-iosvppapp-update?view=graph-rest-1.0 func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -217,7 +217,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToDeleteRequestInformation deletes a managedIOSStoreApp. +// ToDeleteRequestInformation deletes a iosiPadOSWebClip. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -228,7 +228,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the windowsMobileMSI object. +// ToGetRequestInformation read properties and relationships of the iosLobApp object. // returns a *RequestInformation when successful func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsMobileAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -242,7 +242,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windowsWebApp object. +// ToPatchRequestInformation update the properties of a iosVppApp 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 8c7e035eb08..b4d2e7e1ab7 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -14,7 +14,7 @@ import ( type MobileAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the managedAndroidStoreApp objects. +// MobileAppsRequestBuilderGetQueryParameters list properties and relationships of the macOSLobApp objects. type MobileAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewMobileAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *MobileAppsRequestBuilder) Count()(*MobileAppsCountRequestBuilder) { return NewMobileAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the managedAndroidStoreApp objects. +// Get list properties and relationships of the macOSLobApp objects. // returns a MobileAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-list?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -182,12 +182,12 @@ func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphW func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new managedAndroidLobApp object. +// Post create a new macOSLobApp object. // returns a MobileAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-create?view=graph-rest-1.0 func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, requestConfiguration *MobileAppsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -205,7 +205,7 @@ func (m *MobileAppsRequestBuilder) Post(ctx context.Context, body iadcd81124412c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MobileAppable), nil } -// ToGetRequestInformation list properties and relationships of the managedAndroidStoreApp objects. +// ToGetRequestInformation list properties and relationships of the macOSLobApp objects. // returns a *RequestInformation when successful func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -219,7 +219,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new managedAndroidLobApp object. +// ToPostRequestInformation create a new macOSLobApp 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 7ac77371c50..1d6daa5da7a 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 @@ -21,7 +21,7 @@ type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the deviceCompliancePolicy object. +// DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters read properties and relationships of the windows81CompliancePolicy object. type DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,11 @@ func NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a iosCompliancePolicy. +// Delete deletes a androidWorkProfileCompliancePolicy. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-delete?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +101,12 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Devic func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) DeviceStatusOverview()(*DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) { return NewDeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the deviceCompliancePolicy object. +// Get read properties and relationships of the windows81CompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -157,7 +157,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) Sched func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ScheduledActionsForRule()(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a iosCompliancePolicy. +// ToDeleteRequestInformation deletes a androidWorkProfileCompliancePolicy. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -168,7 +168,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceCompliancePolicy object. +// ToGetRequestInformation read properties and relationships of the windows81CompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index 2e03fc60e65..44f95ebb724 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceCompliancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the androidWorkProfileCompliancePolicy objects. +// DeviceCompliancePoliciesRequestBuilderGetQueryParameters list properties and relationships of the macOSCompliancePolicy objects. type DeviceCompliancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewDeviceCompliancePoliciesRequestBuilder(rawUrl string, requestAdapter i2a func (m *DeviceCompliancePoliciesRequestBuilder) Count()(*DeviceCompliancePoliciesCountRequestBuilder) { return NewDeviceCompliancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the androidWorkProfileCompliancePolicy objects. +// Get list properties and relationships of the macOSCompliancePolicy objects. // returns a DeviceCompliancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +102,12 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Get(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyCollectionResponseable), nil } -// Post create a new windows81CompliancePolicy object. +// Post create a new androidCompliancePolicy object. // returns a DeviceCompliancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable), nil } -// ToGetRequestInformation list properties and relationships of the androidWorkProfileCompliancePolicy objects. +// ToGetRequestInformation list properties and relationships of the macOSCompliancePolicy objects. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +139,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windows81CompliancePolicy object. +// ToPostRequestInformation create a new androidCompliancePolicy object. // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceCompliancePolicyable, requestConfiguration *DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index 9f52f2a6b5a..1dc8915bd6e 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the iosCustomConfiguration object. +// DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. type DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,11 @@ func NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windows10GeneralConfiguration. +// Delete deletes a windows10CustomConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-delete?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +101,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatus func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) DeviceStatusOverview()(*DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) { return NewDeviceConfigurationsItemDeviceStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read properties and relationships of the iosCustomConfiguration object. +// Get read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. // returns a DeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-get?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,12 +129,12 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Get(ctx cont func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) GetOmaSettingPlainTextValueWithSecretReferenceValueId(secretReferenceValueId *string)(*DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) { return NewDeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, secretReferenceValueId) } -// Patch update the properties of a windows10GeneralConfiguration object. +// Patch update the properties of a macOSCustomConfiguration 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-windows10generalconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscustomconfiguration-update?view=graph-rest-1.0 func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -152,7 +152,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) Patch(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToDeleteRequestInformation deletes a windows10GeneralConfiguration. +// ToDeleteRequestInformation deletes a windows10CustomConfiguration. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -163,7 +163,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the iosCustomConfiguration object. +// ToGetRequestInformation read properties and relationships of the windows10EnterpriseModernAppManagementConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -177,7 +177,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a windows10GeneralConfiguration object. +// ToPatchRequestInformation update the properties of a macOSCustomConfiguration object. // returns a *RequestInformation when successful func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsDeviceConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index f3ae438441f..cf624a916c0 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the windows10GeneralConfiguration objects. +// DeviceConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. type DeviceConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewDeviceConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *DeviceConfigurationsRequestBuilder) Count()(*DeviceConfigurationsCountRequestBuilder) { return NewDeviceConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the windows10GeneralConfiguration objects. +// Get list properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. // returns a DeviceConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-list?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +102,12 @@ func (m *DeviceConfigurationsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationCollectionResponseable), nil } -// Post create a new windowsPhone81CustomConfiguration object. +// Post create a new macOSGeneralDeviceConfiguration 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-windowsphone81customconfiguration-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-create?view=graph-rest-1.0 func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, requestConfiguration *DeviceConfigurationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsRequestBuilder) Post(ctx context.Context, body iadc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the windows10GeneralConfiguration objects. +// ToGetRequestInformation list properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +139,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new windowsPhone81CustomConfiguration object. +// ToPostRequestInformation create a new macOSGeneralDeviceConfiguration 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 d413646f5e8..a604e1fcf3b 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -21,7 +21,7 @@ type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters read properties and relationships of the deviceEnrollmentLimitConfiguration object. type DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -67,11 +67,11 @@ func NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBu urlParams["request-raw-url"] = rawUrl return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceEnrollmentPlatformRestrictionsConfiguration. +// Delete deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +86,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return nil } -// Get read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// Get read properties and relationships of the 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-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-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 { @@ -109,12 +109,12 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// Patch update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. +// Patch update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a DeviceEnrollmentConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +137,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) SetPriority()(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceEnrollmentPlatformRestrictionsConfiguration. +// ToDeleteRequestInformation deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -148,7 +148,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. +// ToGetRequestInformation read properties and relationships of the deviceEnrollmentLimitConfiguration 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) @@ -162,7 +162,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. +// ToPatchRequestInformation update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable, requestConfiguration *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index fa6319733aa..337dea62f81 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -14,7 +14,7 @@ import ( type DeviceEnrollmentConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters list properties and relationships of the deviceEnrollmentConfiguration objects. type DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl string, requestAdapt func (m *DeviceEnrollmentConfigurationsRequestBuilder) Count()(*DeviceEnrollmentConfigurationsCountRequestBuilder) { return NewDeviceEnrollmentConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// Get list properties and relationships of the deviceEnrollmentConfiguration objects. // returns a DeviceEnrollmentConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 func (m *DeviceEnrollmentConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceEnrollmentConfigurationable), nil } -// ToGetRequestInformation list properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. +// ToGetRequestInformation list properties and relationships of the deviceEnrollmentConfiguration objects. // returns a *RequestInformation when successful func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index 5a465ceb773..24fad5a20f7 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementRequestBuilder) ExchangeConnectors()(*ExchangeConnector // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-get?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -188,7 +188,7 @@ func (m *DeviceManagementRequestBuilder) NotificationMessageTemplates()(*Notific // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-tem-devicemanagement-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-androidforwork-devicemanagement-update?view=graph-rest-1.0 func (m *DeviceManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, requestConfiguration *DeviceManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceManagementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index a728e30a54d..06366ff2974 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -21,7 +21,7 @@ type RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters read properties and relationships of the roleDefinition object. type RoleDefinitionsRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewRoleDefinitionsRoleDefinitionItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewRoleDefinitionsRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a deviceAndAppManagementRoleDefinition. +// Delete deletes a roleDefinition. // returns a ODataError error 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-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// Get read properties and relationships of the roleDefinition object. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Get(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable), nil } -// Patch update the properties of a deviceAndAppManagementRoleDefinition object. +// Patch update the properties of a roleDefinition object. // returns a RoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) Patch(ctx context.Cont func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) RoleAssignments()(*RoleDefinitionsItemRoleAssignmentsRequestBuilder) { return NewRoleDefinitionsItemRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a deviceAndAppManagementRoleDefinition. +// ToDeleteRequestInformation deletes a roleDefinition. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +138,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read properties and relationships of the deviceAndAppManagementRoleDefinition object. +// ToGetRequestInformation read properties and relationships of the roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +152,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceAndAppManagementRoleDefinition object. +// ToPatchRequestInformation update the properties of a roleDefinition object. // returns a *RequestInformation when successful func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RoleDefinitionable, requestConfiguration *RoleDefinitionsRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/get_available_extension_properties_request_builder.go b/devices/get_available_extension_properties_request_builder.go index 5f886da05ae..36a0b236bbf 100644 --- a/devices/get_available_extension_properties_request_builder.go +++ b/devices/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_get_available_extension_properties_request_builder.go b/directory/deleted_items_get_available_extension_properties_request_builder.go index adcb0596631..bd305276f93 100644 --- a/directory/deleted_items_get_available_extension_properties_request_builder.go +++ b/directory/deleted_items_get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewDeletedItemsGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewDeletedItemsGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a DeletedItemsGetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *DeletedItemsGetAvailableExtensionPropertiesRequestBuilder) Post(ctx con } return res.(DeletedItemsGetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a DeletedItemsGetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *DeletedItemsGetAvailableExtensionPropertiesRequestBuilder) PostAsGetAva } return res.(DeletedItemsGetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *DeletedItemsGetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedItemsGetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *DeletedItemsGetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/get_available_extension_properties_request_builder.go b/directoryobjects/get_available_extension_properties_request_builder.go index 9a5f2bb8662..9446607059f 100644 --- a/directoryobjects/get_available_extension_properties_request_builder.go +++ b/directoryobjects/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/get_available_extension_properties_request_builder.go b/directoryroles/get_available_extension_properties_request_builder.go index 83bb599aa1a..55d27bc62f9 100644 --- a/directoryroles/get_available_extension_properties_request_builder.go +++ b/directoryroles/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroletemplates/get_available_extension_properties_request_builder.go b/directoryroletemplates/get_available_extension_properties_request_builder.go index b3c7b9453e6..e7a97529e93 100644 --- a/directoryroletemplates/get_available_extension_properties_request_builder.go +++ b/directoryroletemplates/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_verify_request_builder.go b/domains/item_verify_request_builder.go index 4d4dea39ab7..da65c03d51c 100644 --- a/domains/item_verify_request_builder.go +++ b/domains/item_verify_request_builder.go @@ -34,7 +34,7 @@ func NewItemVerifyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemVerifyRequestBuilderInternal(urlParams, requestAdapter) } -// Post validates the ownership of the domain. +// Post validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. // returns a Domainable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemVerifyRequestBuilder) Post(ctx context.Context, requestConfiguratio } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable), nil } -// ToPostRequestInformation validates the ownership of the domain. +// ToPostRequestInformation validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. // returns a *RequestInformation when successful func (m *ItemVerifyRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemVerifyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_create_link_request_builder.go b/drives/item_items_item_create_link_request_builder.go index d9f8b3006e3..a6738768212 100644 --- a/drives/item_items_item_create_link_request_builder.go +++ b/drives/item_items_item_create_link_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemCreateLinkRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemItemsItemCreateLinkRequestBuilderInternal(urlParams, requestAdapter) } -// Post you can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. +// Post create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body I } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable), nil } -// ToPostRequestInformation you can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. +// ToPostRequestInformation create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors. // returns a *RequestInformation when successful func (m *ItemItemsItemCreateLinkRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_restore_request_builder.go b/drives/item_items_item_restore_request_builder.go index a5485db8f09..57408806e40 100644 --- a/drives/item_items_item_restore_request_builder.go +++ b/drives/item_items_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. +// Post restore a driveItem that has been deleted and is currently in the recycle bin. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemItemsItemRestoreRequestBuilder) Post(ctx context.Context, body Item } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemable), nil } -// ToPostRequestInformation restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. +// ToPostRequestInformation restore a driveItem that has been deleted and is currently in the recycle bin. // returns a *RequestInformation when successful func (m *ItemItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemRestorePostRequestBodyable, requestConfiguration *ItemItemsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 3aa12999aa4..1a020c95649 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable), nil } -// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/get_available_extension_properties_request_builder.go b/groups/get_available_extension_properties_request_builder.go index d67ddb6a709..4fde63a1c30 100644 --- a/groups/get_available_extension_properties_request_builder.go +++ b/groups/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*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 628d622bd74..53b80d9f2bb 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -54,7 +54,7 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 8247f083af9..e07f11bc4d0 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -102,12 +102,12 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationCollectionResponseable), nil } -// Post use reply thread or reply post to further post to that conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use reply thread or reply post to further post to that conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_settings_request_builder.go b/groups/item_settings_request_builder.go index fc7dfbeaa88..26e67663ad6 100644 --- a/groups/item_settings_request_builder.go +++ b/groups/item_settings_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSettingsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.GroupSettingCollectionResponseable), nil } -// Post create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// Post create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. // returns a GroupSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -139,7 +139,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// ToPostRequestInformation create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. // returns a *RequestInformation when successful func (m *ItemSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.GroupSettingable, requestConfiguration *ItemSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_send_activity_notification_post_request_body.go b/groups/item_team_send_activity_notification_post_request_body.go index c9cfda804e4..f72f1d9e6f5 100644 --- a/groups/item_team_send_activity_notification_post_request_body.go +++ b/groups/item_team_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemTeamSendActivityNotificationPostRequestBody) GetFieldDeserializers( } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -150,6 +160,18 @@ func (m *ItemTeamSendActivityNotificationPostRequestBody) GetFieldDeserializers( } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemTeamSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemTeamSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -224,6 +246,12 @@ func (m *ItemTeamSendActivityNotificationPostRequestBody) Serialize(writer i878a return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -293,6 +321,13 @@ func (m *ItemTeamSendActivityNotificationPostRequestBody) SetChainId(value *int6 panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemTeamSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemTeamSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -335,6 +370,7 @@ type ItemTeamSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipient()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -343,6 +379,7 @@ type ItemTeamSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipient(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index c6babe20015..b1c7df68851 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -21,7 +21,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"` @@ -76,12 +76,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 { @@ -143,7 +143,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 596f74f71b4..6224e41a3df 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,12 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +95,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PostCollectionResponseable), nil } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupsettings/group_settings_request_builder.go b/groupsettings/group_settings_request_builder.go index d6a73b3d422..13f345bbe62 100644 --- a/groupsettings/group_settings_request_builder.go +++ b/groupsettings/group_settings_request_builder.go @@ -102,7 +102,7 @@ func (m *GroupSettingsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.GroupSettingCollectionResponseable), nil } -// Post create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// Post create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. // returns a GroupSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -139,7 +139,7 @@ func (m *GroupSettingsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// ToPostRequestInformation create a new group setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. // returns a *RequestInformation when successful func (m *GroupSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.GroupSettingable, requestConfiguration *GroupSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupsettingtemplates/get_available_extension_properties_request_builder.go b/groupsettingtemplates/get_available_extension_properties_request_builder.go index 4c69bdaa259..d2b42371331 100644 --- a/groupsettingtemplates/get_available_extension_properties_request_builder.go +++ b/groupsettingtemplates/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 6b089c69acb..e21506f9597 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -21,7 +21,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a countryNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a namedLocation object. +// Delete delete an ipNamedLocation object. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +76,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a countryNamedLocation object. +// Get retrieve the properties and relationships of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +99,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// Patch update the properties of a countryNamedLocation object. +// Patch update the properties of an ipNamedLocation object. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable), nil } -// ToDeleteRequestInformation delete a namedLocation object. +// ToDeleteRequestInformation delete an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +133,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a countryNamedLocation object. +// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a countryNamedLocation object. +// ToPatchRequestInformation update the properties of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go index e4900026936..688bf4ada3b 100644 --- a/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go +++ b/identitygovernance/035dc70034b87a918d74c29c8ef01e0b77d6b98ba10a3145d6df9ad09f77c65b.go @@ -21,7 +21,7 @@ type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. type EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,11 @@ func NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutEx urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an 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 { @@ -76,12 +76,12 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE } return nil } -// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,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) @@ -133,7 +133,7 @@ func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. // returns a *RequestInformation when successful func (m *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementCatalogsItemCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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 733a2782d6d..bb40e12ed1e 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -21,7 +21,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve 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"` @@ -91,12 +91,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 { @@ -168,7 +168,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/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index b02c5cd1bea..7d213c03337 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -21,7 +21,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -91,12 +91,12 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all files related to an agreement. This includes the default file and all localized files. +// Get retrieve the properties and relationships of an agreement object. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -148,7 +148,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. +// ToGetRequestInformation retrieve the properties and relationships of an agreement object. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 14e52f7c1cb..27511b72857 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -4293,6 +4293,60 @@ github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.ProvisioningRequestBuilder:: github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.ProvisioningRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProvisioningObjectSummaryable; ctx:context.Context; requestConfiguration?:*ProvisioningRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.ProvisioningRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.ProvisioningRequestBuilder::|public|WithUrl(rawUrl:string):*ProvisioningRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBodyable::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBodyable::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedPostRequestBody~~>SignInsConfirmCompromisedPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder.SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder.SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|Post(body:SignInsConfirmCompromisedPostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|ToPostRequestInformation(body:SignInsConfirmCompromisedPostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):*SignInsConfirmCompromisedRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBodyable::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBodyable::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafePostRequestBody~~>SignInsConfirmSafePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder.SignInsConfirmSafeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder.SignInsConfirmSafeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|Post(body:SignInsConfirmSafePostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsConfirmSafeRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|ToPostRequestInformation(body:SignInsConfirmSafePostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsConfirmSafeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsConfirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):*SignInsConfirmSafeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder.SignInsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder.SignInsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -4307,6 +4361,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder:: github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*SignInsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*SignInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBodyable::|public|GetRequestIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBodyable::|public|SetRequestIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissPostRequestBody~~>SignInsDismissPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder.SignInsDismissRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder.SignInsDismissRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|Post(body:SignInsDismissPostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsDismissRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|ToPostRequestInformation(body:SignInsDismissPostRequestBodyable; ctx:context.Context; requestConfiguration?:*SignInsDismissRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsDismissRequestBuilder::|public|WithUrl(rawUrl:string):*SignInsDismissRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder.SignInsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder.SignInsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -4322,9 +4403,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder.SignIn github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder.SignInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder.SignInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|BySignInId(signInId:string):*SignInsSignInItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|confirmCompromised():*SignInsConfirmCompromisedRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|confirmSafe():*SignInsConfirmSafeRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|Count():*SignInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|dismiss():*SignInsDismissRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SignInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SignInCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.auditlogs.SignInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SignInable; ctx:context.Context; requestConfiguration?:*SignInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SignInable @@ -5750,6 +5834,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string @@ -5760,6 +5845,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -5769,6 +5855,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string @@ -5777,6 +5864,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -8620,13 +8708,10 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.Contac github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Orderby:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Search:*string github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Skip:*int32 github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetQueryParameters::|public|Top:*int32 github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ContactsRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder.ContactsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|ByOrgContactId(orgContactId:string):*OrgContactItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void @@ -8636,10 +8721,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|getAvailableExtensionProperties():*GetAvailableExtensionPropertiesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|getByIds():*GetByIdsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*ContactsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ContactsRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*ContactsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|validateProperties():*ValidatePropertiesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.contactsRequestBuilder::|public|WithUrl(rawUrl:string):*ContactsRequestBuilder @@ -9476,35 +9559,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequest github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.ItemTransitiveMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTransitiveMemberOfRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetQueryParameters::|public|Select:[]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*OrgContactItemRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder.OrgContactItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|checkMemberGroups():*ItemCheckMemberGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|checkMemberObjects():*ItemCheckMemberObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|directReports():*ItemDirectReportsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|getMemberGroups():*ItemGetMemberGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|getMemberObjects():*ItemGetMemberObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|manager():*ItemManagerRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|memberOf():*ItemMemberOfRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|restore():*ItemRestoreRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|retryServiceProvisioning():*ItemRetryServiceProvisioningRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|serviceProvisioningErrors():*ItemServiceProvisioningErrorsRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrgContactable; ctx:context.Context; requestConfiguration?:*OrgContactItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|transitiveMemberOf():*ItemTransitiveMemberOfRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.contacts.OrgContactItemRequestBuilder::|public|WithUrl(rawUrl:string):*OrgContactItemRequestBuilder @@ -95208,6 +95283,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificatio github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string @@ -95218,6 +95294,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificatio github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -95227,6 +95304,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificatio github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string @@ -95235,6 +95313,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificatio github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -117953,6 +118032,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.actionState::0003-active github.com/microsoftgraph/msgraph-sdk-go/.models.actionState::0004-done github.com/microsoftgraph/msgraph-sdk-go/.models.actionState::0005-failed github.com/microsoftgraph/msgraph-sdk-go/.models.actionState::0006-notSupported +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|GetContentActivities():[]ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|public|SetContentActivities(value:[]ContentActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainerable::|public|GetContentActivities():[]ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainerable::|public|SetContentActivities(value:[]ContentActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activitiesContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.activityBasedTimeoutPolicy-->*StsPolicy github.com/microsoftgraph/msgraph-sdk-go/.models.activityBasedTimeoutPolicy::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.activityBasedTimeoutPolicy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -118027,6 +118117,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.activityHistoryItemCollectionRe github.com/microsoftgraph/msgraph-sdk-go/.models.activityHistoryItemCollectionResponseable::|public|GetValue():[]ActivityHistoryItemable github.com/microsoftgraph/msgraph-sdk-go/.models.activityHistoryItemCollectionResponseable::|public|SetValue(value:[]ActivityHistoryItemable):void github.com/microsoftgraph/msgraph-sdk-go/.models.activityHistoryItemCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|GetActivity():*UserActivityType +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|SetActivity(value:*UserActivityType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|GetActivity():*UserActivityType +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|SetActivity(value:*UserActivityType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.activityMetadata~~>ActivityMetadataable github.com/microsoftgraph/msgraph-sdk-go/.models.activityType::0000-signin github.com/microsoftgraph/msgraph-sdk-go/.models.activityType::0001-user github.com/microsoftgraph/msgraph-sdk-go/.models.activityType::0002-unknownFutureValue @@ -118653,6 +118763,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentityS github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|SetConversation(value:TeamworkConversationIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|SetTag(value:TeamworkTagIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionMentionedIdentitySetable~~>IdentitySetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPluginable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionPlugin~~>AiInteractionPluginable github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0000-userPrompt github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0001-aiResponse github.com/microsoftgraph/msgraph-sdk-go/.models.aiInteractionType::0002-unknownFutureValue @@ -123876,6 +124014,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.basicAuthenticationable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.basicAuthenticationable::|public|SetPassword(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.basicAuthenticationable::|public|SetUsername(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.basicAuthenticationable~~>ApiAuthenticationConfigurationBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent-->*ContentBase +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|GetData():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|public|SetData(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContentable::|public|GetData():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContentable::|public|SetData(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.binaryContentable~~>ContentBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.binaryOperator::0000-or github.com/microsoftgraph/msgraph-sdk-go/.models.binaryOperator::0001-and github.com/microsoftgraph/msgraph-sdk-go/.models.bitlocker-->*Entity @@ -128526,6 +128675,81 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.claimsMappingPolicyCollectionRe github.com/microsoftgraph/msgraph-sdk-go/.models.claimsMappingPolicyCollectionResponseable::|public|GetValue():[]ClaimsMappingPolicyable github.com/microsoftgraph/msgraph-sdk-go/.models.claimsMappingPolicyCollectionResponseable::|public|SetValue(value:[]ClaimsMappingPolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.claimsMappingPolicyCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetInnerError():ClassificationInnerErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetMessage():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|GetTarget():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetInnerError(value:ClassificationInnerErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetMessage(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|public|SetTarget(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetInnerError():ClassificationInnerErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetMessage():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|GetTarget():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetInnerError(value:ClassificationInnerErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetMessage(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable::|public|SetTarget(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classifcationErrorBase~~>ClassifcationErrorBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError-->*ClassifcationErrorBase +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|GetDetails():[]ClassifcationErrorBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|public|SetDetails(value:[]ClassifcationErrorBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationErrorable::|public|GetDetails():[]ClassifcationErrorBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationErrorable::|public|SetDetails(value:[]ClassifcationErrorBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationErrorable~~>ClassifcationErrorBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetActivityId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetClientRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetErrorDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetActivityId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetClientRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetErrorDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetActivityId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetClientRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetErrorDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetActivityId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetClientRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetErrorDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerErrorable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.classificationInnerError~~>ClassificationInnerErrorable github.com/microsoftgraph/msgraph-sdk-go/.models.clickSource::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.clickSource::0001-qrCode github.com/microsoftgraph/msgraph-sdk-go/.models.clickSource::0002-phishingUrl @@ -131366,6 +131590,35 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.containerFilterable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.containerFilterable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.containerFilterable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.containerFilter~~>ContainerFilterable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|GetContentMetadata():ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|GetScopeIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|SetContentMetadata(value:ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|SetScopeIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|GetContentMetadata():ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|GetScopeIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|SetContentMetadata(value:ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|SetScopeIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|public|GetValue():[]ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|public|SetValue(value:[]ContentActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponseable::|public|GetValue():[]ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponseable::|public|SetValue(value:[]ContentActivityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentActivityCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumn::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumn::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumn::|public|GetBackingStore():BackingStore @@ -131382,6 +131635,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumnable github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumnable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumnable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.contentApprovalStatusColumn~~>ContentApprovalStatusColumnable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentBase~~>ContentBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomization::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomization::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomization::|public|GetAttributeCollection():[]KeyValueable @@ -131414,6 +131683,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomizationable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomizationable::|public|SetRegistrationCampaignRelativeUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomizationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.contentCustomization~~>ContentCustomizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.contentProcessingErrorType::0000-transient +github.com/microsoftgraph/msgraph-sdk-go/.models.contentProcessingErrorType::0001-permanent +github.com/microsoftgraph/msgraph-sdk-go/.models.contentProcessingErrorType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.contentSharingSession-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.contentSharingSession::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.contentSharingSession::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -132527,6 +132799,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.customExtensionStageSettingColl github.com/microsoftgraph/msgraph-sdk-go/.models.customExtensionStageSettingCollectionResponseable::|public|GetValue():[]CustomExtensionStageSettingable github.com/microsoftgraph/msgraph-sdk-go/.models.customExtensionStageSettingCollectionResponseable::|public|SetValue(value:[]CustomExtensionStageSettingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.customExtensionStageSettingCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary-->*Dictionary +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.customMetadataDictionaryable~~>Dictionaryable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.customSecurityAttributeDefinition-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.customSecurityAttributeDefinition::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.customSecurityAttributeDefinition::|public|GetAllowedValues():[]AllowedValueable @@ -132688,6 +132967,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0001 github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0002-complete github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0003-failed github.com/microsoftgraph/msgraph-sdk-go/.models.dataPolicyOperationStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dataSecurityAndGovernanceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.dataSubject::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.dataSubject::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.dataSubject::|public|GetBackingStore():BackingStore @@ -136052,6 +136338,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementTroubleshooting github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementTroubleshootingEventCollectionResponseable::|public|GetValue():[]DeviceManagementTroubleshootingEventable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementTroubleshootingEventCollectionResponseable::|public|SetValue(value:[]DeviceManagementTroubleshootingEventable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceManagementTroubleshootingEventCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetDeviceType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetIpAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|GetOperatingSystemSpecifications():OperatingSystemSpecificationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetDeviceType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetIpAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|public|SetOperatingSystemSpecifications(value:OperatingSystemSpecificationsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|GetDeviceType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|GetIpAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|GetOperatingSystemSpecifications():OperatingSystemSpecificationsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|SetDeviceType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|SetIpAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable::|public|SetOperatingSystemSpecifications(value:OperatingSystemSpecificationsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deviceMetadata~~>DeviceMetadataable github.com/microsoftgraph/msgraph-sdk-go/.models.deviceOperatingSystemSummary::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.deviceOperatingSystemSummary::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.deviceOperatingSystemSummary::|public|GetAndroidCorporateWorkProfileCount():*int32 @@ -136595,6 +136909,38 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.displayNameLocalizationable::|p github.com/microsoftgraph/msgraph-sdk-go/.models.displayNameLocalizationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.displayNameLocalizationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.displayNameLocalization~~>DisplayNameLocalizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0000-notifyUser +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0001-blockAccess +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0002-deviceRestriction +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0003-browserRestriction +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0005-restrictAccess +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0006-generateAlert +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0007-generateIncidentReportAction +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0008-sPBlockAnonymousAccess +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0009-sPRuntimeAccessControl +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0010-sPSharingNotifyUser +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0011-sPSharingGenerateIncidentReport +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetAction():*DlpAction +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|SetAction(value:*DlpAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|GetAction():*DlpAction +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|SetAction(value:*DlpAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo~~>DlpActionInfoable github.com/microsoftgraph/msgraph-sdk-go/.models.documentSet::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.documentSet::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.documentSet::|public|GetAllowedContentTypes():[]ContentTypeInfoable @@ -140206,6 +140552,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.exclusionGroupAssignmentTarget: github.com/microsoftgraph/msgraph-sdk-go/.models.exclusionGroupAssignmentTarget::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.exclusionGroupAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.exclusionGroupAssignmentTargetable~~>GroupAssignmentTargetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.executionMode::0000-evaluateInline +github.com/microsoftgraph/msgraph-sdk-go/.models.executionMode::0001-evaluateOffline +github.com/microsoftgraph/msgraph-sdk-go/.models.executionMode::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.expirationPattern::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.expirationPattern::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.expirationPattern::|public|GetBackingStore():BackingStore @@ -142376,6 +142725,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupPeerOutlierRecommendationI github.com/microsoftgraph/msgraph-sdk-go/.models.groupPeerOutlierRecommendationInsightSettings::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupPeerOutlierRecommendationInsightSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.groupPeerOutlierRecommendationInsightSettingsable~~>AccessReviewRecommendationInsightSettingable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope-->*ScopeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.groupScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.groupSetting-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.groupSetting::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.groupSetting::|public|GetDisplayName():*string @@ -144715,6 +145071,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.integerRangeable::|public|SetOd github.com/microsoftgraph/msgraph-sdk-go/.models.integerRangeable::|public|SetStart(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.integerRangeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.integerRange~~>IntegerRangeable +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|GetVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable::|public|SetVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.integratedApplicationMetadata~~>IntegratedApplicationMetadataable github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation-->*SamlOrWsFedProvider github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.internalDomainFederation::|public|GetActiveSignInUri():*string @@ -146927,6 +147307,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.keyValuePairable::|public|SetVa github.com/microsoftgraph/msgraph-sdk-go/.models.keyValuePairable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.keyValuePair~~>KeyValuePairable github.com/microsoftgraph/msgraph-sdk-go/.models.keyValue~~>KeyValueable +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|GetCid():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|GetFormat():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|SetCid(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|public|SetFormat(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRightable::|public|GetCid():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRightable::|public|GetFormat():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRightable::|public|SetCid(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRightable::|public|SetFormat(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.labelContentRightable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.landingPage-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.landingPage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.landingPage::|public|GetCreatedBy():EmailIdentityable @@ -154542,6 +154937,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.openTypeExtension::|static|publ github.com/microsoftgraph/msgraph-sdk-go/.models.openTypeExtensionable::|public|GetExtensionName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.openTypeExtensionable::|public|SetExtensionName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.openTypeExtensionable~~>Extensionable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|GetOperatingSystemPlatform():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|SetOperatingSystemPlatform(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|GetOperatingSystemPlatform():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|SetOperatingSystemPlatform(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecificationsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemSpecifications~~>OperatingSystemSpecificationsable github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemUpgradeEligibility::0000-upgraded github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemUpgradeEligibility::0001-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.operatingSystemUpgradeEligibility::0002-notCapable @@ -157449,6 +157868,75 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyBaseable::|public|GetDisp github.com/microsoftgraph/msgraph-sdk-go/.models.policyBaseable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyBaseable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyBaseable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|GetExclusions():[]ScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|GetInclusions():[]ScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|SetExclusions(value:[]ScopeBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|SetInclusions(value:[]ScopeBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|GetExclusions():[]ScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|GetInclusions():[]ScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|SetExclusions(value:[]ScopeBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|SetInclusions(value:[]ScopeBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBindingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyBinding~~>PolicyBindingable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication-->*PolicyLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationApplicationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain-->*PolicyLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomain::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationDomainable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl-->*PolicyLocation +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocationUrlable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyLocation~~>PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyPivotProperty::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.policyPivotProperty::0001-activity +github.com/microsoftgraph/msgraph-sdk-go/.models.policyPivotProperty::0002-location +github.com/microsoftgraph/msgraph-sdk-go/.models.policyPivotProperty::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.policyPlatformType::0000-android github.com/microsoftgraph/msgraph-sdk-go/.models.policyPlatformType::0001-androidForWork github.com/microsoftgraph/msgraph-sdk-go/.models.policyPlatformType::0002-iOS @@ -157544,6 +158032,38 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetRole github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetTokenIssuancePolicies(value:[]TokenIssuancePolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable::|public|SetTokenLifetimePolicies(value:[]TokenLifetimePolicyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetActivities():*UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetExecutionMode():*ExecutionMode +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetLocations():[]PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|GetPolicyActions():[]DlpActionInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetActivities(value:*UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetExecutionMode(value:*ExecutionMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetLocations(value:[]PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|public|SetPolicyActions(value:[]DlpActionInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetActivities():*UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetExecutionMode():*ExecutionMode +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetLocations():[]PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|GetPolicyActions():[]DlpActionInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetActivities(value:*UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetExecutionMode(value:*ExecutionMode):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetLocations(value:[]PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable::|public|SetPolicyActions(value:[]DlpActionInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyScopeBase~~>PolicyScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplate-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -157559,6 +158079,24 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplateable::|public|Get github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplateable::|public|SetMultiTenantOrganizationIdentitySynchronization(value:MultiTenantOrganizationIdentitySyncPolicyTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplateable::|public|SetMultiTenantOrganizationPartnerConfiguration(value:MultiTenantOrganizationPartnerConfigurationTemplateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.policyTemplateable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope-->*PolicyScopeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|GetPolicyScope():PolicyBindingable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|public|SetPolicyScope(value:PolicyBindingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScopeable::|public|GetPolicyScope():PolicyBindingable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScopeable::|public|SetPolicyScope(value:PolicyBindingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyTenantScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope-->*PolicyScopeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.policyUserScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.positiveReinforcementNotification-->*BaseEndUserNotification github.com/microsoftgraph/msgraph-sdk-go/.models.positiveReinforcementNotification::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.positiveReinforcementNotification::|public|GetDeliveryPreference():*NotificationDeliveryPreference @@ -160432,6 +160970,219 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.processable::|public|SetParentP github.com/microsoftgraph/msgraph-sdk-go/.models.processable::|public|SetPath(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.processable::|public|SetProcessId(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.processable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetContentToProcess():ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetContentToProcess(value:ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|GetContentToProcess():ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|GetUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|SetContentToProcess(value:ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable::|public|SetUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequestable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentBatchRequest~~>ProcessContentBatchRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetContent():ContentBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetIsTruncated():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetLength():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|GetSequenceNumber():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetContent(value:ContentBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetIsTruncated(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetLength(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|public|SetSequenceNumber(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetContent():ContentBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetIsTruncated():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetLength():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|GetSequenceNumber():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetContent(value:ContentBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetIsTruncated(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetLength(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable::|public|SetSequenceNumber(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentMetadataBase~~>ProcessContentMetadataBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetActivityMetadata():ActivityMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetContentEntries():[]ProcessContentMetadataBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetDeviceMetadata():DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetIntegratedAppMetadata():IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|GetProtectedAppMetadata():ProtectedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetActivityMetadata(value:ActivityMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetContentEntries(value:[]ProcessContentMetadataBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetDeviceMetadata(value:DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetIntegratedAppMetadata(value:IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|public|SetProtectedAppMetadata(value:ProtectedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetActivityMetadata():ActivityMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetContentEntries():[]ProcessContentMetadataBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetDeviceMetadata():DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetIntegratedAppMetadata():IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|GetProtectedAppMetadata():ProtectedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetActivityMetadata(value:ActivityMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetContentEntries(value:[]ProcessContentMetadataBaseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetDeviceMetadata(value:DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetIntegratedAppMetadata(value:IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable::|public|SetProtectedAppMetadata(value:ProtectedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequestable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentRequest~~>ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetPolicyActions():[]DlpActionInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetProcessingErrors():[]ProcessingErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|GetProtectionScopeState():*ProtectionScopeState +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetPolicyActions(value:[]DlpActionInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetProcessingErrors(value:[]ProcessingErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|public|SetProtectionScopeState(value:*ProtectionScopeState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|GetPolicyActions():[]DlpActionInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|GetProcessingErrors():[]ProcessingErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|GetProtectionScopeState():*ProtectionScopeState +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|SetPolicyActions(value:[]DlpActionInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|SetProcessingErrors(value:[]ProcessingErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable::|public|SetProtectionScopeState(value:*ProtectionScopeState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|GetResults():ProcessContentResponseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|public|SetResults(value:ProcessContentResponseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|GetResults():ProcessContentResponseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable::|public|SetResults(value:ProcessContentResponseable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponsesable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponses~~>ProcessContentResponsesable +github.com/microsoftgraph/msgraph-sdk-go/.models.processContentResponse~~>ProcessContentResponseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata-->*ProcessContentMetadataBase +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetAccessedResources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetParentMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|GetPlugins():[]AiInteractionPluginable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetAccessedResources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetParentMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|public|SetPlugins(value:[]AiInteractionPluginable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetAccessedResources():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetParentMessageId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|GetPlugins():[]AiInteractionPluginable +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetAccessedResources(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetParentMessageId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable::|public|SetPlugins(value:[]AiInteractionPluginable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processConversationMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ProcessContentMetadataBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata-->*ProcessContentMetadataBase +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|GetCustomProperties():CustomMetadataDictionaryable +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|GetOwnerId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|SetCustomProperties(value:CustomMetadataDictionaryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|public|SetOwnerId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadataable::|public|GetCustomProperties():CustomMetadataDictionaryable +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadataable::|public|GetOwnerId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadataable::|public|SetCustomProperties(value:CustomMetadataDictionaryable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadataable::|public|SetOwnerId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processFileMetadataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ProcessContentMetadataBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError-->*ClassificationError +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|GetErrorType():*ContentProcessingErrorType +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|public|SetErrorType(value:*ContentProcessingErrorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processingError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.processingErrorable::|public|GetErrorType():*ContentProcessingErrorType +github.com/microsoftgraph/msgraph-sdk-go/.models.processingErrorable::|public|SetErrorType(value:*ContentProcessingErrorType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.processingErrorable~~>ClassificationErrorable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.processIntegrityLevel::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.processIntegrityLevel::0001-untrusted github.com/microsoftgraph/msgraph-sdk-go/.models.processIntegrityLevel::0002-low @@ -160545,6 +161296,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.pronounsSettings::|static|publi github.com/microsoftgraph/msgraph-sdk-go/.models.pronounsSettingsable::|public|GetIsEnabledInOrganization():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.pronounsSettingsable::|public|SetIsEnabledInOrganization(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.pronounsSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata-->*IntegratedApplicationMetadata +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|GetApplicationLocation():PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|public|SetApplicationLocation(value:PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadataable::|public|GetApplicationLocation():PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadataable::|public|SetApplicationLocation(value:PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.protectedApplicationMetadataable~~>IntegratedApplicationMetadataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionPolicyBase::|public|GetCreatedBy():IdentitySetable @@ -160635,6 +161397,9 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0001-acti github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0002-completed github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0003-completedWithErrors github.com/microsoftgraph/msgraph-sdk-go/.models.protectionRuleStatus::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0000-notModified +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0001-modified +github.com/microsoftgraph/msgraph-sdk-go/.models.protectionScopeState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.protectionUnitBase::|public|GetCreatedBy():IdentitySetable @@ -162964,6 +163729,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.restoreSessionStatus::0003-comp github.com/microsoftgraph/msgraph-sdk-go/.models.restoreSessionStatus::0004-completed github.com/microsoftgraph/msgraph-sdk-go/.models.restoreSessionStatus::0005-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.restoreSessionStatus::0006-failed +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction-->*RestrictAccessActionBase +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessAction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; RestrictAccessActionBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase-->*DlpActionInfo +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|GetRestrictionAction():*RestrictionAction +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|public|SetRestrictionAction(value:*RestrictionAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBaseable::|public|GetRestrictionAction():*RestrictionAction +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBaseable::|public|SetRestrictionAction(value:*RestrictionAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictAccessActionBaseable~~>DlpActionInfoable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictionAction::0000-warn +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictionAction::0001-audit +github.com/microsoftgraph/msgraph-sdk-go/.models.restrictionAction::0002-block github.com/microsoftgraph/msgraph-sdk-go/.models.resultInfo::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resultInfo::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.resultInfo::|public|GetBackingStore():BackingStore @@ -164285,6 +165071,26 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.schemaExtensionCollectionRespon github.com/microsoftgraph/msgraph-sdk-go/.models.schemaExtensionCollectionResponseable::|public|GetValue():[]SchemaExtensionable github.com/microsoftgraph/msgraph-sdk-go/.models.schemaExtensionCollectionResponseable::|public|SetValue(value:[]SchemaExtensionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.schemaExtensionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|GetIdentity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|SetIdentity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|GetIdentity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|SetIdentity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase~~>ScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership::|public|GetAdministrativeUnitId():*string @@ -170943,6 +171749,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.whoisRecordCollectionR github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|GetAlerts():[]Alertable github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|GetAttackSimulation():AttackSimulationRootable +github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|GetDataSecurityAndGovernance():TenantDataSecurityAndGovernanceable github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|GetSecureScoreControlProfiles():[]SecureScoreControlProfileable github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|GetSecureScores():[]SecureScoreable @@ -170951,17 +171758,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|OdataType:*st github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetAlerts(value:[]Alertable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetAttackSimulation(value:AttackSimulationRootable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetDataSecurityAndGovernance(value:TenantDataSecurityAndGovernanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetSecureScoreControlProfiles(value:[]SecureScoreControlProfileable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetSecureScores(value:[]SecureScoreable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|public|SetSubjectRightsRequests(value:[]SubjectRightsRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetAlerts():[]Alertable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetAttackSimulation():AttackSimulationRootable +github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetDataSecurityAndGovernance():TenantDataSecurityAndGovernanceable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetSecureScoreControlProfiles():[]SecureScoreControlProfileable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetSecureScores():[]SecureScoreable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|GetSubjectRightsRequests():[]SubjectRightsRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetAlerts(value:[]Alertable):void github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetAttackSimulation(value:AttackSimulationRootable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetDataSecurityAndGovernance(value:TenantDataSecurityAndGovernanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetSecureScoreControlProfiles(value:[]SecureScoreControlProfileable):void github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetSecureScores(value:[]SecureScoreable):void github.com/microsoftgraph/msgraph-sdk-go/.models.securityable::|public|SetSubjectRightsRequests(value:[]SubjectRightsRequestable):void @@ -177483,6 +178293,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.tenantAppManagementPolicyable:: github.com/microsoftgraph/msgraph-sdk-go/.models.tenantAppManagementPolicyable::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantAppManagementPolicyable::|public|SetServicePrincipalRestrictions(value:AppManagementServicePrincipalConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantAppManagementPolicyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PolicyBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance-->*DataSecurityAndGovernance +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|GetProtectionScopes():TenantProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|public|SetProtectionScopes(value:TenantProtectionScopeContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernanceable::|public|GetProtectionScopes():TenantProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernanceable::|public|SetProtectionScopes(value:TenantProtectionScopeContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantDataSecurityAndGovernanceable~~>DataSecurityAndGovernanceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformation::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformation::|public|GetBackingStore():BackingStore @@ -177515,6 +178336,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformationable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformationable::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.tenantInformation~~>TenantInformationable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantProtectionScopeContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationship::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationship::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationship::|public|GetBackingStore():BackingStore @@ -177543,6 +178371,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationshipable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationshipable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationshipable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.tenantRelationship~~>TenantRelationshipable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope-->*ScopeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.tenantScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.termColumn::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.termColumn::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.termColumn::|public|GetAllowMultipleValues():*bool @@ -178045,6 +178880,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.textColumnable::|public|SetOdat github.com/microsoftgraph/msgraph-sdk-go/.models.textColumnable::|public|SetTextType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.textColumnable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.textColumn~~>TextColumnable +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent-->*ContentBase +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|GetData():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|public|SetData(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.textContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.textContentable::|public|GetData():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.textContentable::|public|SetData(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.textContentable~~>ContentBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.textWebPart-->*WebPart github.com/microsoftgraph/msgraph-sdk-go/.models.textWebPart::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.textWebPart::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -180381,6 +181227,46 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.usageDetailsable::|public|SetLa github.com/microsoftgraph/msgraph-sdk-go/.models.usageDetailsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.usageDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.usageDetails~~>UsageDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0001-docEdit +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0002-edit +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0003-comment +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0004-export +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0005-forward +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0006-owner +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0007-print +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0008-reply +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0009-replyAll +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0010-view +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0011-extract +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0012-viewRightsData +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0013-editRightsData +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0014-objModel +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0015-accessDenied +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0016-userDefinedProtectionTypeNotSupportedException +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0017-encryptedProtectionTypeNotSupportedException +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0018-purviewClaimsChallengeNotSupportedException +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0019-exception +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRights::0020-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|GetOwnerEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|GetUserEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|GetValue():*UsageRights +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|SetOwnerEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|SetUserEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|public|SetValue(value:*UsageRights):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncluded::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|GetOwnerEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|GetUserEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|GetValue():*UsageRights +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|SetOwnerEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|SetUserEmail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable::|public|SetValue(value:*UsageRights):void +github.com/microsoftgraph/msgraph-sdk-go/.models.usageRightsIncludedable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.usedInsight-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.usedInsight::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.usedInsight::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -180444,6 +181330,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCreatedDateTim github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCreatedObjects():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCreationType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetCustomSecurityAttributes():CustomSecurityAttributeValueable +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetDataSecurityAndGovernance():UserDataSecurityAndGovernanceable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetDepartment():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetDeviceEnrollmentLimit():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetDeviceManagementTroubleshootingEvents():[]DeviceManagementTroubleshootingEventable @@ -180576,6 +181463,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCreatedDateTim github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCreatedObjects(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCreationType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetCustomSecurityAttributes(value:CustomSecurityAttributeValueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetDataSecurityAndGovernance(value:UserDataSecurityAndGovernanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetDepartment(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetDeviceEnrollmentLimit(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetDeviceManagementTroubleshootingEvents(value:[]DeviceManagementTroubleshootingEventable):void @@ -180706,6 +181594,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCreatedDat github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCreatedObjects():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCreationType():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetCustomSecurityAttributes():CustomSecurityAttributeValueable +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetDataSecurityAndGovernance():UserDataSecurityAndGovernanceable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetDepartment():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetDeviceEnrollmentLimit():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetDeviceManagementTroubleshootingEvents():[]DeviceManagementTroubleshootingEventable @@ -180835,6 +181724,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCreatedDat github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCreatedObjects(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCreationType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetCustomSecurityAttributes(value:CustomSecurityAttributeValueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetDataSecurityAndGovernance(value:UserDataSecurityAndGovernanceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetDepartment(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetDeviceEnrollmentLimit(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetDeviceManagementTroubleshootingEvents(value:[]DeviceManagementTroubleshootingEventable):void @@ -181015,6 +181905,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityCollectionResponse: github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityCollectionResponseable::|public|GetValue():[]UserActivityable github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityCollectionResponseable::|public|SetValue(value:[]UserActivityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityType::0000-uploadText +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityType::0001-uploadFile +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityType::0002-downloadText +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityType::0003-downloadFile +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityType::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0000-none +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0001-uploadText +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0002-uploadFile +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0003-downloadText +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0004-downloadFile +github.com/microsoftgraph/msgraph-sdk-go/.models.userActivityTypes::0005-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.userAttributeValuesItem::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.userAttributeValuesItem::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.userAttributeValuesItem::|public|GetBackingStore():BackingStore @@ -181078,6 +181979,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userConsentRequestCollectionRes github.com/microsoftgraph/msgraph-sdk-go/.models.userConsentRequestCollectionResponseable::|public|GetValue():[]UserConsentRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.userConsentRequestCollectionResponseable::|public|SetValue(value:[]UserConsentRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userConsentRequestCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance-->*DataSecurityAndGovernance +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|GetActivities():ActivitiesContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|GetProtectionScopes():UserProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|SetActivities(value:ActivitiesContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|public|SetProtectionScopes(value:UserProtectionScopeContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernanceable::|public|GetActivities():ActivitiesContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernanceable::|public|GetProtectionScopes():UserProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernanceable::|public|SetActivities(value:ActivitiesContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernanceable::|public|SetProtectionScopes(value:UserProtectionScopeContainerable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userDataSecurityAndGovernanceable~~>DataSecurityAndGovernanceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userDefaultAuthenticationMethod::0000-push github.com/microsoftgraph/msgraph-sdk-go/.models.userDefaultAuthenticationMethod::0001-oath github.com/microsoftgraph/msgraph-sdk-go/.models.userDefaultAuthenticationMethod::0002-voiceMobile @@ -182717,6 +183633,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userPrintable::|public|SetOdata github.com/microsoftgraph/msgraph-sdk-go/.models.userPrintable::|public|SetRecentPrinterShares(value:[]PrinterShareable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userPrintable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userPrint~~>UserPrintable +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userProtectionScopeContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userPurpose::0000-user github.com/microsoftgraph/msgraph-sdk-go/.models.userPurpose::0001-linked github.com/microsoftgraph/msgraph-sdk-go/.models.userPurpose::0002-shared @@ -182913,6 +183836,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userRegistrationMethodSummaryab github.com/microsoftgraph/msgraph-sdk-go/.models.userRegistrationMethodSummaryable::|public|SetUserTypes(value:*IncludedUserTypes):void github.com/microsoftgraph/msgraph-sdk-go/.models.userRegistrationMethodSummaryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.userRegistrationMethodSummary~~>UserRegistrationMethodSummaryable +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope-->*ScopeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.userScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ScopeBaseable github.com/microsoftgraph/msgraph-sdk-go/.models.userScopeTeamsAppInstallation-->*TeamsAppInstallation github.com/microsoftgraph/msgraph-sdk-go/.models.userScopeTeamsAppInstallation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.userScopeTeamsAppInstallation::|public|GetChat():Chatable @@ -204974,6 +205904,153 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CasesRootable; ctx:context.Context; requestConfiguration?:*CasesRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.CasesRequestBuilder::|public|WithUrl(rawUrl:string):*CasesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|GetProcessContentRequests():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|public|SetProcessContentRequests(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable::|public|GetProcessContentRequests():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable::|public|SetProcessContentRequests(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostRequestBody~~>DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncPostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder.DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder.DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|Post(body:DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration):DataSecurityAndGovernanceProcessContentAsyncResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|PostAsProcessContentAsyncPostResponse(body:DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration):DataSecurityAndGovernanceProcessContentAsyncPostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|ToPostRequestInformation(body:DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncRequestBuilder::|public|WithUrl(rawUrl:string):*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncResponse-->*DataSecurityAndGovernanceProcessContentAsyncPostResponse +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProcessContentAsyncResponseable~~>DataSecurityAndGovernanceProcessContentAsyncPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetActivities():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetDeviceMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetIntegratedAppMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetLocations():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetPivotOn():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetActivities(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetDeviceMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetIntegratedAppMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetLocations(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetPivotOn(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetActivities():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetDeviceMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetIntegratedAppMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetLocations():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetPivotOn():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetActivities(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetDeviceMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetIntegratedAppMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetLocations(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetPivotOn(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostRequestBody~~>DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputePostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|Post(body:DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):DataSecurityAndGovernanceProtectionScopesComputeResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|PostAsComputePostResponse(body:DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):DataSecurityAndGovernanceProtectionScopesComputePostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|ToPostRequestInformation(body:DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|WithUrl(rawUrl:string):*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeResponse-->*DataSecurityAndGovernanceProtectionScopesComputePostResponse +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesComputeResponseable~~>DataSecurityAndGovernanceProtectionScopesComputePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder.DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|compute():*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):*DataSecurityAndGovernanceProtectionScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataSecurityAndGovernanceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder.DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|processContentAsync():*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|protectionScopes():*DataSecurityAndGovernanceProtectionScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable; ctx:context.Context; requestConfiguration?:*DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.DataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):*DataSecurityAndGovernanceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesCountRequestBuilder.IdentitiesHealthIssuesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesCountRequestBuilder.IdentitiesHealthIssuesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -206157,6 +207234,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|publ github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|cases():*CasesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|dataSecurityAndGovernance():*DataSecurityAndGovernanceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SecurityRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Securityable github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|identities():*IdentitiesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.securityRequestBuilder::|public|incidents():*IncidentsRequestBuilder @@ -237362,6 +238440,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string @@ -237372,6 +238451,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -237381,6 +238461,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string @@ -237389,6 +238470,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPost github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -239180,6 +240262,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRec github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetRecipients():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|GetTeamsAppId():*string @@ -239190,6 +240273,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRec github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetRecipients(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -239199,6 +240283,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRec github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetRecipients():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|GetTeamsAppId():*string @@ -239207,6 +240292,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRec github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetRecipients(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.teamwork.SendActivityNotificationToRecipientsPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -244824,6 +245910,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotific github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string @@ -244834,6 +245921,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotific github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -244843,6 +245931,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotific github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string @@ -244851,6 +245940,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotific github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -246130,6 +247220,224 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCreatedObjectsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCreatedObjectsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemCreatedObjectsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCreatedObjectsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemCreatedObjectsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCreatedObjectsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|ByContentActivityId(contentActivityId:string):*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|Count():*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder.ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|contentActivities():*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceActivitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|GetContentToProcess():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|public|SetContentToProcess(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable::|public|GetContentToProcess():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable::|public|SetContentToProcess(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentPostRequestBody~~>ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder.ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder.ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|Post(body:ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|ToPostRequestInformation(body:ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProcessContentRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceProcessContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetActivities():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetDeviceMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetIntegratedAppMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetLocations():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|GetPivotOn():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetActivities(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetDeviceMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetIntegratedAppMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetLocations(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|public|SetPivotOn(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetActivities():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetDeviceMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetIntegratedAppMetadata():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetLocations():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|GetPivotOn():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetActivities(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetDeviceMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetIntegratedAppMetadata(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetLocations(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable::|public|SetPivotOn(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody~~>ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|Post(body:ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|PostAsComputePostResponse(body:ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|ToPostRequestInformation(body:ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeResponse-->*ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable~~>ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|compute():*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder.ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|activities():*ItemDataSecurityAndGovernanceActivitiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|processContent():*ItemDataSecurityAndGovernanceProcessContentRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|protectionScopes():*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable; ctx:context.Context; requestConfiguration?:*ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDataSecurityAndGovernanceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDeviceManagementTroubleshootingEventsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDeviceManagementTroubleshootingEventsCountRequestBuilder.ItemDeviceManagementTroubleshootingEventsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemDeviceManagementTroubleshootingEventsCountRequestBuilder.ItemDeviceManagementTroubleshootingEventsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -252052,6 +253360,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityN github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string @@ -252062,6 +253371,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityN github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void @@ -252071,6 +253381,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityN github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetRecipient():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string @@ -252079,6 +253390,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityN github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetRecipient(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void @@ -261270,6 +262582,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotifica github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetChainId():*int64 github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetTeamsAppId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|GetTemplateParameters():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable @@ -261279,6 +262592,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotifica github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetTeamsAppId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBody::|public|SetTemplateParameters(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable):void @@ -261287,6 +262601,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotifica github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetChainId():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetIconId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetPreviewText():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetTeamsAppId():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|GetTemplateParameters():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable @@ -261294,6 +262609,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotifica github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetActivityType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetChainId(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetIconId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetPreviewText(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetTeamsAppId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemTeamworkSendActivityNotificationPostRequestBodyable::|public|SetTemplateParameters(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable):void @@ -262278,6 +263594,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|contactFolders():*ItemContactFoldersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|contacts():*ItemContactsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|createdObjects():*ItemCreatedObjectsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|dataSecurityAndGovernance():*ItemDataSecurityAndGovernanceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*UserItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|deviceManagementTroubleshootingEvents():*ItemDeviceManagementTroubleshootingEventsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.UserItemRequestBuilder::|public|directReports():*ItemDirectReportsRequestBuilder diff --git a/kiota-lock.json b/kiota-lock.json index a3dfc17eaf3..d6f2f85d04c 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "D30AE728B02B4955989D20416397BFCF71ACE641A7F6394AB926849E078B3ADAC03C2E4AC6219CDBAD366474CD6FE047BAA29452865D993B65AE503698935A13", + "descriptionHash": "645999DA4E657EB400D8A694456CA5F9D1E62FE46056F8B00797AD20C48BFD4522A925588EF4DD2AD33AE76361C65DDDEDB5C4C77BE6167C97F26B389CDD0E3D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.28.0", diff --git a/models/activities_container.go b/models/activities_container.go new file mode 100644 index 00000000000..31d825c780c --- /dev/null +++ b/models/activities_container.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ActivitiesContainer struct { + Entity +} +// NewActivitiesContainer instantiates a new ActivitiesContainer and sets the default values. +func NewActivitiesContainer()(*ActivitiesContainer) { + m := &ActivitiesContainer{ + Entity: *NewEntity(), + } + return m +} +// CreateActivitiesContainerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivitiesContainerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivitiesContainer(), nil +} +// GetContentActivities gets the contentActivities property value. Collection of activity logs related to content processing. +// returns a []ContentActivityable when successful +func (m *ActivitiesContainer) GetContentActivities()([]ContentActivityable) { + val, err := m.GetBackingStore().Get("contentActivities") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ContentActivityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ActivitiesContainer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["contentActivities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateContentActivityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ContentActivityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ContentActivityable) + } + } + m.SetContentActivities(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ActivitiesContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetContentActivities() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetContentActivities())) + for i, v := range m.GetContentActivities() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("contentActivities", cast) + if err != nil { + return err + } + } + return nil +} +// SetContentActivities sets the contentActivities property value. Collection of activity logs related to content processing. +func (m *ActivitiesContainer) SetContentActivities(value []ContentActivityable)() { + err := m.GetBackingStore().Set("contentActivities", value) + if err != nil { + panic(err) + } +} +type ActivitiesContainerable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetContentActivities()([]ContentActivityable) + SetContentActivities(value []ContentActivityable)() +} diff --git a/models/activity_metadata.go b/models/activity_metadata.go new file mode 100644 index 00000000000..3475f95a381 --- /dev/null +++ b/models/activity_metadata.go @@ -0,0 +1,154 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ActivityMetadata struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewActivityMetadata instantiates a new ActivityMetadata and sets the default values. +func NewActivityMetadata()(*ActivityMetadata) { + m := &ActivityMetadata{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateActivityMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActivityMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActivityMetadata(), nil +} +// GetActivity gets the activity property value. The activity property +// returns a *UserActivityType when successful +func (m *ActivityMetadata) GetActivity()(*UserActivityType) { + val, err := m.GetBackingStore().Get("activity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*UserActivityType) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ActivityMetadata) 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 *ActivityMetadata) 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 *ActivityMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseUserActivityType) + if err != nil { + return err + } + if val != nil { + m.SetActivity(val.(*UserActivityType)) + } + 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 *ActivityMetadata) 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 *ActivityMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetActivity() != nil { + cast := (*m.GetActivity()).String() + err := writer.WriteStringValue("activity", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActivity sets the activity property value. The activity property +func (m *ActivityMetadata) SetActivity(value *UserActivityType)() { + err := m.GetBackingStore().Set("activity", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ActivityMetadata) 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 *ActivityMetadata) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ActivityMetadata) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ActivityMetadataable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivity()(*UserActivityType) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetActivity(value *UserActivityType)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/ai_interaction_plugin.go b/models/ai_interaction_plugin.go new file mode 100644 index 00000000000..15f1f6d38c3 --- /dev/null +++ b/models/ai_interaction_plugin.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AiInteractionPlugin struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAiInteractionPlugin instantiates a new AiInteractionPlugin and sets the default values. +func NewAiInteractionPlugin()(*AiInteractionPlugin) { + m := &AiInteractionPlugin{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAiInteractionPluginFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionPluginFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionPlugin(), 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 *AiInteractionPlugin) 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 *AiInteractionPlugin) 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 *AiInteractionPlugin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["identifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentifier(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetIdentifier gets the identifier property value. The unique identifier of the plugin. +// returns a *string when successful +func (m *AiInteractionPlugin) GetIdentifier()(*string) { + val, err := m.GetBackingStore().Get("identifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetName gets the name property value. The display name of the plugin. +// returns a *string when successful +func (m *AiInteractionPlugin) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AiInteractionPlugin) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVersion gets the version property value. The version of the plugin used. +// returns a *string when successful +func (m *AiInteractionPlugin) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionPlugin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("identifier", m.GetIdentifier()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("version", m.GetVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AiInteractionPlugin) 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 *AiInteractionPlugin) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentifier sets the identifier property value. The unique identifier of the plugin. +func (m *AiInteractionPlugin) SetIdentifier(value *string)() { + err := m.GetBackingStore().Set("identifier", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The display name of the plugin. +func (m *AiInteractionPlugin) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AiInteractionPlugin) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version of the plugin used. +func (m *AiInteractionPlugin) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type AiInteractionPluginable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentifier()(*string) + GetName()(*string) + GetOdataType()(*string) + GetVersion()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentifier(value *string)() + SetName(value *string)() + SetOdataType(value *string)() + SetVersion(value *string)() +} diff --git a/models/binary_content.go b/models/binary_content.go new file mode 100644 index 00000000000..626a4165952 --- /dev/null +++ b/models/binary_content.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BinaryContent struct { + ContentBase +} +// NewBinaryContent instantiates a new BinaryContent and sets the default values. +func NewBinaryContent()(*BinaryContent) { + m := &BinaryContent{ + ContentBase: *NewContentBase(), + } + odataTypeValue := "#microsoft.graph.binaryContent" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateBinaryContentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBinaryContentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBinaryContent(), nil +} +// GetData gets the data property value. The binary content, encoded as a Base64 string. Inherited from contentBase. +// returns a []byte when successful +func (m *BinaryContent) GetData()([]byte) { + val, err := m.GetBackingStore().Get("data") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BinaryContent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ContentBase.GetFieldDeserializers() + res["data"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetData(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *BinaryContent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ContentBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteByteArrayValue("data", m.GetData()) + if err != nil { + return err + } + } + return nil +} +// SetData sets the data property value. The binary content, encoded as a Base64 string. Inherited from contentBase. +func (m *BinaryContent) SetData(value []byte)() { + err := m.GetBackingStore().Set("data", value) + if err != nil { + panic(err) + } +} +type BinaryContentable interface { + ContentBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetData()([]byte) + SetData(value []byte)() +} diff --git a/models/classifcation_error_base.go b/models/classifcation_error_base.go new file mode 100644 index 00000000000..7e0ae471c2c --- /dev/null +++ b/models/classifcation_error_base.go @@ -0,0 +1,284 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ClassifcationErrorBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewClassifcationErrorBase instantiates a new ClassifcationErrorBase and sets the default values. +func NewClassifcationErrorBase()(*ClassifcationErrorBase) { + m := &ClassifcationErrorBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateClassifcationErrorBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateClassifcationErrorBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.classificationError": + return NewClassificationError(), nil + case "#microsoft.graph.processingError": + return NewProcessingError(), nil + } + } + } + } + return NewClassifcationErrorBase(), 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 *ClassifcationErrorBase) 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 *ClassifcationErrorBase) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCode gets the code property value. A service-defined error code string. +// returns a *string when successful +func (m *ClassifcationErrorBase) GetCode()(*string) { + val, err := m.GetBackingStore().Get("code") + 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 *ClassifcationErrorBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCode(val) + } + return nil + } + res["innerError"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateClassificationInnerErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInnerError(val.(ClassificationInnerErrorable)) + } + return nil + } + res["message"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMessage(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["target"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTarget(val) + } + return nil + } + return res +} +// GetInnerError gets the innerError property value. Contains more specific, potentially internal error details. +// returns a ClassificationInnerErrorable when successful +func (m *ClassifcationErrorBase) GetInnerError()(ClassificationInnerErrorable) { + val, err := m.GetBackingStore().Get("innerError") + if err != nil { + panic(err) + } + if val != nil { + return val.(ClassificationInnerErrorable) + } + return nil +} +// GetMessage gets the message property value. A human-readable representation of the error. +// returns a *string when successful +func (m *ClassifcationErrorBase) GetMessage()(*string) { + val, err := m.GetBackingStore().Get("message") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ClassifcationErrorBase) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTarget gets the target property value. The target of the error (for example, the specific property or item causing the issue). +// returns a *string when successful +func (m *ClassifcationErrorBase) GetTarget()(*string) { + val, err := m.GetBackingStore().Get("target") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ClassifcationErrorBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("code", m.GetCode()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("innerError", m.GetInnerError()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("message", m.GetMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("target", m.GetTarget()) + 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 *ClassifcationErrorBase) 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 *ClassifcationErrorBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCode sets the code property value. A service-defined error code string. +func (m *ClassifcationErrorBase) SetCode(value *string)() { + err := m.GetBackingStore().Set("code", value) + if err != nil { + panic(err) + } +} +// SetInnerError sets the innerError property value. Contains more specific, potentially internal error details. +func (m *ClassifcationErrorBase) SetInnerError(value ClassificationInnerErrorable)() { + err := m.GetBackingStore().Set("innerError", value) + if err != nil { + panic(err) + } +} +// SetMessage sets the message property value. A human-readable representation of the error. +func (m *ClassifcationErrorBase) SetMessage(value *string)() { + err := m.GetBackingStore().Set("message", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ClassifcationErrorBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTarget sets the target property value. The target of the error (for example, the specific property or item causing the issue). +func (m *ClassifcationErrorBase) SetTarget(value *string)() { + err := m.GetBackingStore().Set("target", value) + if err != nil { + panic(err) + } +} +type ClassifcationErrorBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCode()(*string) + GetInnerError()(ClassificationInnerErrorable) + GetMessage()(*string) + GetOdataType()(*string) + GetTarget()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCode(value *string)() + SetInnerError(value ClassificationInnerErrorable)() + SetMessage(value *string)() + SetOdataType(value *string)() + SetTarget(value *string)() +} diff --git a/models/classification_error.go b/models/classification_error.go new file mode 100644 index 00000000000..7d083ffc0b5 --- /dev/null +++ b/models/classification_error.go @@ -0,0 +1,109 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ClassificationError struct { + ClassifcationErrorBase +} +// NewClassificationError instantiates a new ClassificationError and sets the default values. +func NewClassificationError()(*ClassificationError) { + m := &ClassificationError{ + ClassifcationErrorBase: *NewClassifcationErrorBase(), + } + return m +} +// CreateClassificationErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateClassificationErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.processingError": + return NewProcessingError(), nil + } + } + } + } + return NewClassificationError(), nil +} +// GetDetails gets the details property value. A collection of more specific errors contributing to the overall error. +// returns a []ClassifcationErrorBaseable when successful +func (m *ClassificationError) GetDetails()([]ClassifcationErrorBaseable) { + val, err := m.GetBackingStore().Get("details") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ClassifcationErrorBaseable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ClassificationError) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ClassifcationErrorBase.GetFieldDeserializers() + res["details"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateClassifcationErrorBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ClassifcationErrorBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ClassifcationErrorBaseable) + } + } + m.SetDetails(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ClassificationError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ClassifcationErrorBase.Serialize(writer) + if err != nil { + return err + } + if m.GetDetails() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDetails())) + for i, v := range m.GetDetails() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("details", cast) + if err != nil { + return err + } + } + return nil +} +// SetDetails sets the details property value. A collection of more specific errors contributing to the overall error. +func (m *ClassificationError) SetDetails(value []ClassifcationErrorBaseable)() { + err := m.GetBackingStore().Set("details", value) + if err != nil { + panic(err) + } +} +type ClassificationErrorable interface { + ClassifcationErrorBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDetails()([]ClassifcationErrorBaseable) + SetDetails(value []ClassifcationErrorBaseable)() +} diff --git a/models/classification_inner_error.go b/models/classification_inner_error.go new file mode 100644 index 00000000000..738c8028158 --- /dev/null +++ b/models/classification_inner_error.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ClassificationInnerError struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewClassificationInnerError instantiates a new ClassificationInnerError and sets the default values. +func NewClassificationInnerError()(*ClassificationInnerError) { + m := &ClassificationInnerError{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateClassificationInnerErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateClassificationInnerErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewClassificationInnerError(), nil +} +// GetActivityId gets the activityId property value. The activity ID associated with the request that generated the error. +// returns a *string when successful +func (m *ClassificationInnerError) GetActivityId()(*string) { + val, err := m.GetBackingStore().Get("activityId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ClassificationInnerError) 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 *ClassificationInnerError) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetClientRequestId gets the clientRequestId property value. The client request ID, if provided by the caller. +// returns a *string when successful +func (m *ClassificationInnerError) GetClientRequestId()(*string) { + val, err := m.GetBackingStore().Get("clientRequestId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCode gets the code property value. A more specific, potentially internal, error code string. +// returns a *string when successful +func (m *ClassificationInnerError) GetCode()(*string) { + val, err := m.GetBackingStore().Get("code") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetErrorDateTime gets the errorDateTime property value. The date and time the inner error occurred. +// returns a *Time when successful +func (m *ClassificationInnerError) GetErrorDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("errorDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ClassificationInnerError) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activityId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetActivityId(val) + } + return nil + } + res["clientRequestId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientRequestId(val) + } + return nil + } + res["code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCode(val) + } + return nil + } + res["errorDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetErrorDateTime(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 *ClassificationInnerError) 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 *ClassificationInnerError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("activityId", m.GetActivityId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("clientRequestId", m.GetClientRequestId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("code", m.GetCode()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("errorDateTime", m.GetErrorDateTime()) + 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 +} +// SetActivityId sets the activityId property value. The activity ID associated with the request that generated the error. +func (m *ClassificationInnerError) SetActivityId(value *string)() { + err := m.GetBackingStore().Set("activityId", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ClassificationInnerError) 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 *ClassificationInnerError) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetClientRequestId sets the clientRequestId property value. The client request ID, if provided by the caller. +func (m *ClassificationInnerError) SetClientRequestId(value *string)() { + err := m.GetBackingStore().Set("clientRequestId", value) + if err != nil { + panic(err) + } +} +// SetCode sets the code property value. A more specific, potentially internal, error code string. +func (m *ClassificationInnerError) SetCode(value *string)() { + err := m.GetBackingStore().Set("code", value) + if err != nil { + panic(err) + } +} +// SetErrorDateTime sets the errorDateTime property value. The date and time the inner error occurred. +func (m *ClassificationInnerError) SetErrorDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("errorDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ClassificationInnerError) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ClassificationInnerErrorable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivityId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClientRequestId()(*string) + GetCode()(*string) + GetErrorDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + SetActivityId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClientRequestId(value *string)() + SetCode(value *string)() + SetErrorDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() +} diff --git a/models/content_activity.go b/models/content_activity.go new file mode 100644 index 00000000000..f80e2c34db2 --- /dev/null +++ b/models/content_activity.go @@ -0,0 +1,153 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ContentActivity struct { + Entity +} +// NewContentActivity instantiates a new ContentActivity and sets the default values. +func NewContentActivity()(*ContentActivity) { + m := &ContentActivity{ + Entity: *NewEntity(), + } + return m +} +// CreateContentActivityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateContentActivityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewContentActivity(), nil +} +// GetContentMetadata gets the contentMetadata property value. The contentMetadata property +// returns a ProcessContentRequestable when successful +func (m *ContentActivity) GetContentMetadata()(ProcessContentRequestable) { + val, err := m.GetBackingStore().Get("contentMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProcessContentRequestable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ContentActivity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["contentMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProcessContentRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContentMetadata(val.(ProcessContentRequestable)) + } + return nil + } + res["scopeIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetScopeIdentifier(val) + } + return nil + } + res["userId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserId(val) + } + return nil + } + return res +} +// GetScopeIdentifier gets the scopeIdentifier property value. The scope identified from computed protection scopes. +// returns a *string when successful +func (m *ContentActivity) GetScopeIdentifier()(*string) { + val, err := m.GetBackingStore().Get("scopeIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserId gets the userId property value. ID of the user. +// returns a *string when successful +func (m *ContentActivity) GetUserId()(*string) { + val, err := m.GetBackingStore().Get("userId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ContentActivity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("contentMetadata", m.GetContentMetadata()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("scopeIdentifier", m.GetScopeIdentifier()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userId", m.GetUserId()) + if err != nil { + return err + } + } + return nil +} +// SetContentMetadata sets the contentMetadata property value. The contentMetadata property +func (m *ContentActivity) SetContentMetadata(value ProcessContentRequestable)() { + err := m.GetBackingStore().Set("contentMetadata", value) + if err != nil { + panic(err) + } +} +// SetScopeIdentifier sets the scopeIdentifier property value. The scope identified from computed protection scopes. +func (m *ContentActivity) SetScopeIdentifier(value *string)() { + err := m.GetBackingStore().Set("scopeIdentifier", value) + if err != nil { + panic(err) + } +} +// SetUserId sets the userId property value. ID of the user. +func (m *ContentActivity) SetUserId(value *string)() { + err := m.GetBackingStore().Set("userId", value) + if err != nil { + panic(err) + } +} +type ContentActivityable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetContentMetadata()(ProcessContentRequestable) + GetScopeIdentifier()(*string) + GetUserId()(*string) + SetContentMetadata(value ProcessContentRequestable)() + SetScopeIdentifier(value *string)() + SetUserId(value *string)() +} diff --git a/models/content_activity_collection_response.go b/models/content_activity_collection_response.go new file mode 100644 index 00000000000..a3ef31363f3 --- /dev/null +++ b/models/content_activity_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ContentActivityCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewContentActivityCollectionResponse instantiates a new ContentActivityCollectionResponse and sets the default values. +func NewContentActivityCollectionResponse()(*ContentActivityCollectionResponse) { + m := &ContentActivityCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateContentActivityCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateContentActivityCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewContentActivityCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ContentActivityCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateContentActivityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ContentActivityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ContentActivityable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ContentActivityable when successful +func (m *ContentActivityCollectionResponse) GetValue()([]ContentActivityable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ContentActivityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ContentActivityCollectionResponse) 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 *ContentActivityCollectionResponse) SetValue(value []ContentActivityable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ContentActivityCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ContentActivityable) + SetValue(value []ContentActivityable)() +} diff --git a/models/content_base.go b/models/content_base.go new file mode 100644 index 00000000000..49e1b189771 --- /dev/null +++ b/models/content_base.go @@ -0,0 +1,136 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ContentBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewContentBase instantiates a new ContentBase and sets the default values. +func NewContentBase()(*ContentBase) { + m := &ContentBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateContentBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateContentBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.binaryContent": + return NewBinaryContent(), nil + case "#microsoft.graph.textContent": + return NewTextContent(), nil + } + } + } + } + return NewContentBase(), 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 *ContentBase) 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 *ContentBase) 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 *ContentBase) 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 + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ContentBase) 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 *ContentBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + 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 *ContentBase) 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 *ContentBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ContentBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ContentBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/content_processing_error_type.go b/models/content_processing_error_type.go new file mode 100644 index 00000000000..a5e91ecf3aa --- /dev/null +++ b/models/content_processing_error_type.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ContentProcessingErrorType int + +const ( + TRANSIENT_CONTENTPROCESSINGERRORTYPE ContentProcessingErrorType = iota + PERMANENT_CONTENTPROCESSINGERRORTYPE + UNKNOWNFUTUREVALUE_CONTENTPROCESSINGERRORTYPE +) + +func (i ContentProcessingErrorType) String() string { + return []string{"transient", "permanent", "unknownFutureValue"}[i] +} +func ParseContentProcessingErrorType(v string) (any, error) { + result := TRANSIENT_CONTENTPROCESSINGERRORTYPE + switch v { + case "transient": + result = TRANSIENT_CONTENTPROCESSINGERRORTYPE + case "permanent": + result = PERMANENT_CONTENTPROCESSINGERRORTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CONTENTPROCESSINGERRORTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeContentProcessingErrorType(values []ContentProcessingErrorType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ContentProcessingErrorType) isMultiValue() bool { + return false +} diff --git a/models/custom_metadata_dictionary.go b/models/custom_metadata_dictionary.go new file mode 100644 index 00000000000..25739fd6dbd --- /dev/null +++ b/models/custom_metadata_dictionary.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CustomMetadataDictionary struct { + Dictionary +} +// NewCustomMetadataDictionary instantiates a new CustomMetadataDictionary and sets the default values. +func NewCustomMetadataDictionary()(*CustomMetadataDictionary) { + m := &CustomMetadataDictionary{ + Dictionary: *NewDictionary(), + } + return m +} +// CreateCustomMetadataDictionaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCustomMetadataDictionaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCustomMetadataDictionary(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CustomMetadataDictionary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Dictionary.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *CustomMetadataDictionary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Dictionary.Serialize(writer) + if err != nil { + return err + } + return nil +} +type CustomMetadataDictionaryable interface { + Dictionaryable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/data_security_and_governance.go b/models/data_security_and_governance.go new file mode 100644 index 00000000000..718b596d710 --- /dev/null +++ b/models/data_security_and_governance.go @@ -0,0 +1,62 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DataSecurityAndGovernance struct { + Entity +} +// NewDataSecurityAndGovernance instantiates a new DataSecurityAndGovernance and sets the default values. +func NewDataSecurityAndGovernance()(*DataSecurityAndGovernance) { + m := &DataSecurityAndGovernance{ + Entity: *NewEntity(), + } + return m +} +// CreateDataSecurityAndGovernanceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.tenantDataSecurityAndGovernance": + return NewTenantDataSecurityAndGovernance(), nil + case "#microsoft.graph.userDataSecurityAndGovernance": + return NewUserDataSecurityAndGovernance(), nil + } + } + } + } + return NewDataSecurityAndGovernance(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataSecurityAndGovernance) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *DataSecurityAndGovernance) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type DataSecurityAndGovernanceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/device_metadata.go b/models/device_metadata.go new file mode 100644 index 00000000000..c8fbfb4005e --- /dev/null +++ b/models/device_metadata.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeviceMetadata struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeviceMetadata instantiates a new DeviceMetadata and sets the default values. +func NewDeviceMetadata()(*DeviceMetadata) { + m := &DeviceMetadata{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeviceMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeviceMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeviceMetadata(), 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 *DeviceMetadata) 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 *DeviceMetadata) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDeviceType gets the deviceType property value. Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). +// returns a *string when successful +func (m *DeviceMetadata) GetDeviceType()(*string) { + val, err := m.GetBackingStore().Get("deviceType") + 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 *DeviceMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["deviceType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDeviceType(val) + } + return nil + } + res["ipAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIpAddress(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["operatingSystemSpecifications"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOperatingSystemSpecificationsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystemSpecifications(val.(OperatingSystemSpecificationsable)) + } + return nil + } + return res +} +// GetIpAddress gets the ipAddress property value. The Internet Protocol (IP) address of the device. +// returns a *string when successful +func (m *DeviceMetadata) GetIpAddress()(*string) { + val, err := m.GetBackingStore().Get("ipAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DeviceMetadata) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOperatingSystemSpecifications gets the operatingSystemSpecifications property value. Details about the operating system platform and version. +// returns a OperatingSystemSpecificationsable when successful +func (m *DeviceMetadata) GetOperatingSystemSpecifications()(OperatingSystemSpecificationsable) { + val, err := m.GetBackingStore().Get("operatingSystemSpecifications") + if err != nil { + panic(err) + } + if val != nil { + return val.(OperatingSystemSpecificationsable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeviceMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("deviceType", m.GetDeviceType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("ipAddress", m.GetIpAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("operatingSystemSpecifications", m.GetOperatingSystemSpecifications()) + 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 *DeviceMetadata) 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 *DeviceMetadata) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDeviceType sets the deviceType property value. Optional. The general type of the device (for example, 'Managed', 'Unmanaged'). +func (m *DeviceMetadata) SetDeviceType(value *string)() { + err := m.GetBackingStore().Set("deviceType", value) + if err != nil { + panic(err) + } +} +// SetIpAddress sets the ipAddress property value. The Internet Protocol (IP) address of the device. +func (m *DeviceMetadata) SetIpAddress(value *string)() { + err := m.GetBackingStore().Set("ipAddress", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DeviceMetadata) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystemSpecifications sets the operatingSystemSpecifications property value. Details about the operating system platform and version. +func (m *DeviceMetadata) SetOperatingSystemSpecifications(value OperatingSystemSpecificationsable)() { + err := m.GetBackingStore().Set("operatingSystemSpecifications", value) + if err != nil { + panic(err) + } +} +type DeviceMetadataable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDeviceType()(*string) + GetIpAddress()(*string) + GetOdataType()(*string) + GetOperatingSystemSpecifications()(OperatingSystemSpecificationsable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDeviceType(value *string)() + SetIpAddress(value *string)() + SetOdataType(value *string)() + SetOperatingSystemSpecifications(value OperatingSystemSpecificationsable)() +} diff --git a/models/dictionary.go b/models/dictionary.go index 2f603f11f74..02ddd7effd4 100644 --- a/models/dictionary.go +++ b/models/dictionary.go @@ -35,6 +35,8 @@ func CreateDictionaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3 } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.customMetadataDictionary": + return NewCustomMetadataDictionary(), nil case "#microsoft.graph.fileStorageContainerCustomPropertyDictionary": return NewFileStorageContainerCustomPropertyDictionary(), nil case "#microsoft.graph.resultTemplateDictionary": diff --git a/models/dlp_action.go b/models/dlp_action.go new file mode 100644 index 00000000000..25a8dcb4eb4 --- /dev/null +++ b/models/dlp_action.go @@ -0,0 +1,66 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type DlpAction int + +const ( + NOTIFYUSER_DLPACTION DlpAction = iota + BLOCKACCESS_DLPACTION + DEVICERESTRICTION_DLPACTION + BROWSERRESTRICTION_DLPACTION + UNKNOWNFUTUREVALUE_DLPACTION + RESTRICTACCESS_DLPACTION + GENERATEALERT_DLPACTION + GENERATEINCIDENTREPORTACTION_DLPACTION + SPBLOCKANONYMOUSACCESS_DLPACTION + SPRUNTIMEACCESSCONTROL_DLPACTION + SPSHARINGNOTIFYUSER_DLPACTION + SPSHARINGGENERATEINCIDENTREPORT_DLPACTION +) + +func (i DlpAction) String() string { + return []string{"notifyUser", "blockAccess", "deviceRestriction", "browserRestriction", "unknownFutureValue", "restrictAccess", "generateAlert", "generateIncidentReportAction", "sPBlockAnonymousAccess", "sPRuntimeAccessControl", "sPSharingNotifyUser", "sPSharingGenerateIncidentReport"}[i] +} +func ParseDlpAction(v string) (any, error) { + result := NOTIFYUSER_DLPACTION + switch v { + case "notifyUser": + result = NOTIFYUSER_DLPACTION + case "blockAccess": + result = BLOCKACCESS_DLPACTION + case "deviceRestriction": + result = DEVICERESTRICTION_DLPACTION + case "browserRestriction": + result = BROWSERRESTRICTION_DLPACTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_DLPACTION + case "restrictAccess": + result = RESTRICTACCESS_DLPACTION + case "generateAlert": + result = GENERATEALERT_DLPACTION + case "generateIncidentReportAction": + result = GENERATEINCIDENTREPORTACTION_DLPACTION + case "sPBlockAnonymousAccess": + result = SPBLOCKANONYMOUSACCESS_DLPACTION + case "sPRuntimeAccessControl": + result = SPRUNTIMEACCESSCONTROL_DLPACTION + case "sPSharingNotifyUser": + result = SPSHARINGNOTIFYUSER_DLPACTION + case "sPSharingGenerateIncidentReport": + result = SPSHARINGGENERATEINCIDENTREPORT_DLPACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeDlpAction(values []DlpAction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i DlpAction) isMultiValue() bool { + return false +} diff --git a/models/dlp_action_info.go b/models/dlp_action_info.go new file mode 100644 index 00000000000..22f46ebe753 --- /dev/null +++ b/models/dlp_action_info.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DlpActionInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDlpActionInfo instantiates a new DlpActionInfo and sets the default values. +func NewDlpActionInfo()(*DlpActionInfo) { + m := &DlpActionInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDlpActionInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDlpActionInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.restrictAccessAction": + return NewRestrictAccessAction(), nil + case "#microsoft.graph.restrictAccessActionBase": + return NewRestrictAccessActionBase(), nil + } + } + } + } + return NewDlpActionInfo(), nil +} +// GetAction gets the action property value. The type of DLP action. Possible value is restrictAccessAction. +// returns a *DlpAction when successful +func (m *DlpActionInfo) GetAction()(*DlpAction) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*DlpAction) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DlpActionInfo) 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 *DlpActionInfo) 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 *DlpActionInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseDlpAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*DlpAction)) + } + 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 *DlpActionInfo) 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 *DlpActionInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The type of DLP action. Possible value is restrictAccessAction. +func (m *DlpActionInfo) SetAction(value *DlpAction)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DlpActionInfo) 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 *DlpActionInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DlpActionInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type DlpActionInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*DlpAction) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAction(value *DlpAction)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/entity.go b/models/entity.go index 2d0b22d7ae4..1df2aa40492 100644 --- a/models/entity.go +++ b/models/entity.go @@ -87,6 +87,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAccessReviewSet(), nil case "#microsoft.graph.accessReviewStage": return NewAccessReviewStage(), nil + case "#microsoft.graph.activitiesContainer": + return NewActivitiesContainer(), nil case "#microsoft.graph.activityBasedTimeoutPolicy": return NewActivityBasedTimeoutPolicy(), nil case "#microsoft.graph.activityHistoryItem": @@ -361,6 +363,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewContact(), nil case "#microsoft.graph.contactFolder": return NewContactFolder(), nil + case "#microsoft.graph.contentActivity": + return NewContentActivity(), nil case "#microsoft.graph.contentSharingSession": return NewContentSharingSession(), nil case "#microsoft.graph.contentType": @@ -395,6 +399,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCustomSecurityAttributeDefinition(), nil case "#microsoft.graph.dataPolicyOperation": return NewDataPolicyOperation(), nil + case "#microsoft.graph.dataSecurityAndGovernance": + return NewDataSecurityAndGovernance(), nil case "#microsoft.graph.dayNote": return NewDayNote(), nil case "#microsoft.graph.defaultManagedAppProtection": @@ -769,6 +775,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewItemInsights(), nil case "#microsoft.graph.itemRetentionLabel": return NewItemRetentionLabel(), nil + case "#microsoft.graph.labelContentRight": + return NewLabelContentRight(), nil case "#microsoft.graph.landingPage": return NewLandingPage(), nil case "#microsoft.graph.landingPageDetail": @@ -1397,6 +1405,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewTemporaryAccessPassAuthenticationMethodConfiguration(), nil case "#microsoft.graph.tenantAppManagementPolicy": return NewTenantAppManagementPolicy(), nil + case "#microsoft.graph.tenantDataSecurityAndGovernance": + return NewTenantDataSecurityAndGovernance(), nil + case "#microsoft.graph.tenantProtectionScopeContainer": + return NewTenantProtectionScopeContainer(), nil case "#microsoft.graph.termsAndConditions": return NewTermsAndConditions(), nil case "#microsoft.graph.termsAndConditionsAcceptanceStatus": @@ -1485,6 +1497,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUpdateRecordingStatusOperation(), nil case "#microsoft.graph.urlAssessmentRequest": return NewUrlAssessmentRequest(), nil + case "#microsoft.graph.usageRightsIncluded": + return NewUsageRightsIncluded(), nil case "#microsoft.graph.usedInsight": return NewUsedInsight(), nil case "#microsoft.graph.user": @@ -1493,6 +1507,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUserActivity(), nil case "#microsoft.graph.userConsentRequest": return NewUserConsentRequest(), nil + case "#microsoft.graph.userDataSecurityAndGovernance": + return NewUserDataSecurityAndGovernance(), nil case "#microsoft.graph.userExperienceAnalyticsAppHealthApplicationPerformance": return NewUserExperienceAnalyticsAppHealthApplicationPerformance(), nil case "#microsoft.graph.userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails": @@ -1549,6 +1565,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUserInsightsSettings(), nil case "#microsoft.graph.userInstallStateSummary": return NewUserInstallStateSummary(), nil + case "#microsoft.graph.userProtectionScopeContainer": + return NewUserProtectionScopeContainer(), nil case "#microsoft.graph.userRegistrationDetails": return NewUserRegistrationDetails(), nil case "#microsoft.graph.userScopeTeamsAppInstallation": diff --git a/models/execution_mode.go b/models/execution_mode.go new file mode 100644 index 00000000000..3608f96e9ea --- /dev/null +++ b/models/execution_mode.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ExecutionMode int + +const ( + EVALUATEINLINE_EXECUTIONMODE ExecutionMode = iota + EVALUATEOFFLINE_EXECUTIONMODE + UNKNOWNFUTUREVALUE_EXECUTIONMODE +) + +func (i ExecutionMode) String() string { + return []string{"evaluateInline", "evaluateOffline", "unknownFutureValue"}[i] +} +func ParseExecutionMode(v string) (any, error) { + result := EVALUATEINLINE_EXECUTIONMODE + switch v { + case "evaluateInline": + result = EVALUATEINLINE_EXECUTIONMODE + case "evaluateOffline": + result = EVALUATEOFFLINE_EXECUTIONMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_EXECUTIONMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeExecutionMode(values []ExecutionMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ExecutionMode) isMultiValue() bool { + return false +} diff --git a/models/group_scope.go b/models/group_scope.go new file mode 100644 index 00000000000..42305d30a89 --- /dev/null +++ b/models/group_scope.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type GroupScope struct { + ScopeBase +} +// NewGroupScope instantiates a new GroupScope and sets the default values. +func NewGroupScope()(*GroupScope) { + m := &GroupScope{ + ScopeBase: *NewScopeBase(), + } + odataTypeValue := "#microsoft.graph.groupScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateGroupScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateGroupScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewGroupScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *GroupScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ScopeBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *GroupScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ScopeBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type GroupScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ScopeBaseable +} diff --git a/models/integrated_application_metadata.go b/models/integrated_application_metadata.go new file mode 100644 index 00000000000..def53971c71 --- /dev/null +++ b/models/integrated_application_metadata.go @@ -0,0 +1,208 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type IntegratedApplicationMetadata struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIntegratedApplicationMetadata instantiates a new IntegratedApplicationMetadata and sets the default values. +func NewIntegratedApplicationMetadata()(*IntegratedApplicationMetadata) { + m := &IntegratedApplicationMetadata{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIntegratedApplicationMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIntegratedApplicationMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.protectedApplicationMetadata": + return NewProtectedApplicationMetadata(), nil + } + } + } + } + return NewIntegratedApplicationMetadata(), 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 *IntegratedApplicationMetadata) 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 *IntegratedApplicationMetadata) 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 *IntegratedApplicationMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetName gets the name property value. The name of the integrated application. +// returns a *string when successful +func (m *IntegratedApplicationMetadata) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *IntegratedApplicationMetadata) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVersion gets the version property value. The version number of the integrated application. +// returns a *string when successful +func (m *IntegratedApplicationMetadata) GetVersion()(*string) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *IntegratedApplicationMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("version", m.GetVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IntegratedApplicationMetadata) 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 *IntegratedApplicationMetadata) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. The name of the integrated application. +func (m *IntegratedApplicationMetadata) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *IntegratedApplicationMetadata) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version number of the integrated application. +func (m *IntegratedApplicationMetadata) SetVersion(value *string)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type IntegratedApplicationMetadataable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + GetVersion()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() + SetVersion(value *string)() +} diff --git a/models/label_content_right.go b/models/label_content_right.go new file mode 100644 index 00000000000..40dd588d165 --- /dev/null +++ b/models/label_content_right.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type LabelContentRight struct { + Entity +} +// NewLabelContentRight instantiates a new LabelContentRight and sets the default values. +func NewLabelContentRight()(*LabelContentRight) { + m := &LabelContentRight{ + Entity: *NewEntity(), + } + return m +} +// CreateLabelContentRightFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLabelContentRightFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLabelContentRight(), nil +} +// GetCid gets the cid property value. The content identifier. +// returns a *string when successful +func (m *LabelContentRight) GetCid()(*string) { + val, err := m.GetBackingStore().Get("cid") + 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 *LabelContentRight) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["cid"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCid(val) + } + return nil + } + res["format"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFormat(val) + } + return nil + } + return res +} +// GetFormat gets the format property value. The content format. +// returns a *string when successful +func (m *LabelContentRight) GetFormat()(*string) { + val, err := m.GetBackingStore().Get("format") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *LabelContentRight) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("cid", m.GetCid()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("format", m.GetFormat()) + if err != nil { + return err + } + } + return nil +} +// SetCid sets the cid property value. The content identifier. +func (m *LabelContentRight) SetCid(value *string)() { + err := m.GetBackingStore().Set("cid", value) + if err != nil { + panic(err) + } +} +// SetFormat sets the format property value. The content format. +func (m *LabelContentRight) SetFormat(value *string)() { + err := m.GetBackingStore().Set("format", value) + if err != nil { + panic(err) + } +} +type LabelContentRightable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCid()(*string) + GetFormat()(*string) + SetCid(value *string)() + SetFormat(value *string)() +} diff --git a/models/operating_system_specifications.go b/models/operating_system_specifications.go new file mode 100644 index 00000000000..3a1055010ea --- /dev/null +++ b/models/operating_system_specifications.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OperatingSystemSpecifications struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOperatingSystemSpecifications instantiates a new OperatingSystemSpecifications and sets the default values. +func NewOperatingSystemSpecifications()(*OperatingSystemSpecifications) { + m := &OperatingSystemSpecifications{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOperatingSystemSpecificationsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOperatingSystemSpecificationsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOperatingSystemSpecifications(), 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 *OperatingSystemSpecifications) 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 *OperatingSystemSpecifications) 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 *OperatingSystemSpecifications) 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["operatingSystemPlatform"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystemPlatform(val) + } + return nil + } + res["operatingSystemVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystemVersion(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OperatingSystemSpecifications) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOperatingSystemPlatform gets the operatingSystemPlatform property value. The platform of the operating system (for example, 'Windows'). +// returns a *string when successful +func (m *OperatingSystemSpecifications) GetOperatingSystemPlatform()(*string) { + val, err := m.GetBackingStore().Get("operatingSystemPlatform") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOperatingSystemVersion gets the operatingSystemVersion property value. The version string of the operating system. +// returns a *string when successful +func (m *OperatingSystemSpecifications) GetOperatingSystemVersion()(*string) { + val, err := m.GetBackingStore().Get("operatingSystemVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OperatingSystemSpecifications) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("operatingSystemPlatform", m.GetOperatingSystemPlatform()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("operatingSystemVersion", m.GetOperatingSystemVersion()) + 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 *OperatingSystemSpecifications) 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 *OperatingSystemSpecifications) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OperatingSystemSpecifications) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystemPlatform sets the operatingSystemPlatform property value. The platform of the operating system (for example, 'Windows'). +func (m *OperatingSystemSpecifications) SetOperatingSystemPlatform(value *string)() { + err := m.GetBackingStore().Set("operatingSystemPlatform", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystemVersion sets the operatingSystemVersion property value. The version string of the operating system. +func (m *OperatingSystemSpecifications) SetOperatingSystemVersion(value *string)() { + err := m.GetBackingStore().Set("operatingSystemVersion", value) + if err != nil { + panic(err) + } +} +type OperatingSystemSpecificationsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetOperatingSystemPlatform()(*string) + GetOperatingSystemVersion()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetOperatingSystemPlatform(value *string)() + SetOperatingSystemVersion(value *string)() +} diff --git a/models/policy_binding.go b/models/policy_binding.go new file mode 100644 index 00000000000..fc0c05dcbb3 --- /dev/null +++ b/models/policy_binding.go @@ -0,0 +1,214 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PolicyBinding struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPolicyBinding instantiates a new PolicyBinding and sets the default values. +func NewPolicyBinding()(*PolicyBinding) { + m := &PolicyBinding{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePolicyBindingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyBindingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyBinding(), 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 *PolicyBinding) 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 *PolicyBinding) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExclusions gets the exclusions property value. Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. +// returns a []ScopeBaseable when successful +func (m *PolicyBinding) GetExclusions()([]ScopeBaseable) { + val, err := m.GetBackingStore().Get("exclusions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ScopeBaseable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyBinding) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["exclusions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateScopeBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ScopeBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ScopeBaseable) + } + } + m.SetExclusions(res) + } + return nil + } + res["inclusions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateScopeBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ScopeBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ScopeBaseable) + } + } + m.SetInclusions(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetInclusions gets the inclusions property value. Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. +// returns a []ScopeBaseable when successful +func (m *PolicyBinding) GetInclusions()([]ScopeBaseable) { + val, err := m.GetBackingStore().Get("inclusions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ScopeBaseable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PolicyBinding) 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 *PolicyBinding) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetExclusions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExclusions())) + for i, v := range m.GetExclusions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("exclusions", cast) + if err != nil { + return err + } + } + if m.GetInclusions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetInclusions())) + for i, v := range m.GetInclusions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("inclusions", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PolicyBinding) 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 *PolicyBinding) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExclusions sets the exclusions property value. Specifies the users or groups to be explicitly excluded from this policy scope. Can be null or empty. +func (m *PolicyBinding) SetExclusions(value []ScopeBaseable)() { + err := m.GetBackingStore().Set("exclusions", value) + if err != nil { + panic(err) + } +} +// SetInclusions sets the inclusions property value. Specifies the users or groups to be included in this policy scope. Often set to tenantScope for 'All users'. +func (m *PolicyBinding) SetInclusions(value []ScopeBaseable)() { + err := m.GetBackingStore().Set("inclusions", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PolicyBinding) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type PolicyBindingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExclusions()([]ScopeBaseable) + GetInclusions()([]ScopeBaseable) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExclusions(value []ScopeBaseable)() + SetInclusions(value []ScopeBaseable)() + SetOdataType(value *string)() +} diff --git a/models/policy_location.go b/models/policy_location.go new file mode 100644 index 00000000000..8a2bd26597a --- /dev/null +++ b/models/policy_location.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PolicyLocation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPolicyLocation instantiates a new PolicyLocation and sets the default values. +func NewPolicyLocation()(*PolicyLocation) { + m := &PolicyLocation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePolicyLocationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyLocationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.policyLocationApplication": + return NewPolicyLocationApplication(), nil + case "#microsoft.graph.policyLocationDomain": + return NewPolicyLocationDomain(), nil + case "#microsoft.graph.policyLocationUrl": + return NewPolicyLocationUrl(), nil + } + } + } + } + return NewPolicyLocation(), 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 *PolicyLocation) 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 *PolicyLocation) 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 *PolicyLocation) 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["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PolicyLocation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. The actual value representing the location. Location value is specific for concretetype of the policyLocation - policyLocationDomain, policyLocationUrl, or policyLocationApplication (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). +// returns a *string when successful +func (m *PolicyLocation) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyLocation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + 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 *PolicyLocation) 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 *PolicyLocation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PolicyLocation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. The actual value representing the location. Location value is specific for concretetype of the policyLocation - policyLocationDomain, policyLocationUrl, or policyLocationApplication (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). +func (m *PolicyLocation) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type PolicyLocationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetValue()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetValue(value *string)() +} diff --git a/models/policy_location_application.go b/models/policy_location_application.go new file mode 100644 index 00000000000..c1154b50e8e --- /dev/null +++ b/models/policy_location_application.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PolicyLocationApplication struct { + PolicyLocation +} +// NewPolicyLocationApplication instantiates a new PolicyLocationApplication and sets the default values. +func NewPolicyLocationApplication()(*PolicyLocationApplication) { + m := &PolicyLocationApplication{ + PolicyLocation: *NewPolicyLocation(), + } + odataTypeValue := "#microsoft.graph.policyLocationApplication" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePolicyLocationApplicationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyLocationApplicationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyLocationApplication(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyLocationApplication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PolicyLocation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *PolicyLocationApplication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PolicyLocation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type PolicyLocationApplicationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PolicyLocationable +} diff --git a/models/policy_location_domain.go b/models/policy_location_domain.go new file mode 100644 index 00000000000..68e140ee487 --- /dev/null +++ b/models/policy_location_domain.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PolicyLocationDomain struct { + PolicyLocation +} +// NewPolicyLocationDomain instantiates a new PolicyLocationDomain and sets the default values. +func NewPolicyLocationDomain()(*PolicyLocationDomain) { + m := &PolicyLocationDomain{ + PolicyLocation: *NewPolicyLocation(), + } + odataTypeValue := "#microsoft.graph.policyLocationDomain" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePolicyLocationDomainFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyLocationDomainFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyLocationDomain(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyLocationDomain) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PolicyLocation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *PolicyLocationDomain) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PolicyLocation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type PolicyLocationDomainable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PolicyLocationable +} diff --git a/models/policy_location_url.go b/models/policy_location_url.go new file mode 100644 index 00000000000..f49c4ce0ea6 --- /dev/null +++ b/models/policy_location_url.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PolicyLocationUrl struct { + PolicyLocation +} +// NewPolicyLocationUrl instantiates a new PolicyLocationUrl and sets the default values. +func NewPolicyLocationUrl()(*PolicyLocationUrl) { + m := &PolicyLocationUrl{ + PolicyLocation: *NewPolicyLocation(), + } + odataTypeValue := "#microsoft.graph.policyLocationUrl" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePolicyLocationUrlFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyLocationUrlFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyLocationUrl(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyLocationUrl) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PolicyLocation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *PolicyLocationUrl) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PolicyLocation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type PolicyLocationUrlable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PolicyLocationable +} diff --git a/models/policy_pivot_property.go b/models/policy_pivot_property.go new file mode 100644 index 00000000000..cd17460f747 --- /dev/null +++ b/models/policy_pivot_property.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type PolicyPivotProperty int + +const ( + NONE_POLICYPIVOTPROPERTY PolicyPivotProperty = iota + ACTIVITY_POLICYPIVOTPROPERTY + LOCATION_POLICYPIVOTPROPERTY + UNKNOWNFUTUREVALUE_POLICYPIVOTPROPERTY +) + +func (i PolicyPivotProperty) String() string { + return []string{"none", "activity", "location", "unknownFutureValue"}[i] +} +func ParsePolicyPivotProperty(v string) (any, error) { + result := NONE_POLICYPIVOTPROPERTY + switch v { + case "none": + result = NONE_POLICYPIVOTPROPERTY + case "activity": + result = ACTIVITY_POLICYPIVOTPROPERTY + case "location": + result = LOCATION_POLICYPIVOTPROPERTY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_POLICYPIVOTPROPERTY + default: + return nil, nil + } + return &result, nil +} +func SerializePolicyPivotProperty(values []PolicyPivotProperty) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PolicyPivotProperty) isMultiValue() bool { + return false +} diff --git a/models/policy_scope_base.go b/models/policy_scope_base.go new file mode 100644 index 00000000000..148fb012fd5 --- /dev/null +++ b/models/policy_scope_base.go @@ -0,0 +1,310 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type PolicyScopeBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPolicyScopeBase instantiates a new PolicyScopeBase and sets the default values. +func NewPolicyScopeBase()(*PolicyScopeBase) { + m := &PolicyScopeBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePolicyScopeBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyScopeBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.policyTenantScope": + return NewPolicyTenantScope(), nil + case "#microsoft.graph.policyUserScope": + return NewPolicyUserScope(), nil + } + } + } + } + return NewPolicyScopeBase(), nil +} +// GetActivities gets the activities property value. The activities property +// returns a *UserActivityTypes when successful +func (m *PolicyScopeBase) GetActivities()(*UserActivityTypes) { + val, err := m.GetBackingStore().Get("activities") + if err != nil { + panic(err) + } + if val != nil { + return val.(*UserActivityTypes) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *PolicyScopeBase) 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 *PolicyScopeBase) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExecutionMode gets the executionMode property value. The executionMode property +// returns a *ExecutionMode when successful +func (m *PolicyScopeBase) GetExecutionMode()(*ExecutionMode) { + val, err := m.GetBackingStore().Get("executionMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ExecutionMode) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyScopeBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseUserActivityTypes) + if err != nil { + return err + } + if val != nil { + m.SetActivities(val.(*UserActivityTypes)) + } + return nil + } + res["executionMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseExecutionMode) + if err != nil { + return err + } + if val != nil { + m.SetExecutionMode(val.(*ExecutionMode)) + } + return nil + } + res["locations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePolicyLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PolicyLocationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PolicyLocationable) + } + } + m.SetLocations(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["policyActions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDlpActionInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DlpActionInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DlpActionInfoable) + } + } + m.SetPolicyActions(res) + } + return nil + } + return res +} +// GetLocations gets the locations property value. The locations (like domains or URLs) to be protected. Required. +// returns a []PolicyLocationable when successful +func (m *PolicyScopeBase) GetLocations()([]PolicyLocationable) { + val, err := m.GetBackingStore().Get("locations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PolicyLocationable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *PolicyScopeBase) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyActions gets the policyActions property value. The enforcement actions to take if the policy conditions are met within this scope. Required. +// returns a []DlpActionInfoable when successful +func (m *PolicyScopeBase) GetPolicyActions()([]DlpActionInfoable) { + val, err := m.GetBackingStore().Get("policyActions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DlpActionInfoable) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyScopeBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetActivities() != nil { + cast := (*m.GetActivities()).String() + err := writer.WriteStringValue("activities", &cast) + if err != nil { + return err + } + } + if m.GetExecutionMode() != nil { + cast := (*m.GetExecutionMode()).String() + err := writer.WriteStringValue("executionMode", &cast) + if err != nil { + return err + } + } + if m.GetLocations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLocations())) + for i, v := range m.GetLocations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("locations", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPolicyActions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPolicyActions())) + for i, v := range m.GetPolicyActions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("policyActions", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActivities sets the activities property value. The activities property +func (m *PolicyScopeBase) SetActivities(value *UserActivityTypes)() { + err := m.GetBackingStore().Set("activities", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *PolicyScopeBase) 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 *PolicyScopeBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExecutionMode sets the executionMode property value. The executionMode property +func (m *PolicyScopeBase) SetExecutionMode(value *ExecutionMode)() { + err := m.GetBackingStore().Set("executionMode", value) + if err != nil { + panic(err) + } +} +// SetLocations sets the locations property value. The locations (like domains or URLs) to be protected. Required. +func (m *PolicyScopeBase) SetLocations(value []PolicyLocationable)() { + err := m.GetBackingStore().Set("locations", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PolicyScopeBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPolicyActions sets the policyActions property value. The enforcement actions to take if the policy conditions are met within this scope. Required. +func (m *PolicyScopeBase) SetPolicyActions(value []DlpActionInfoable)() { + err := m.GetBackingStore().Set("policyActions", value) + if err != nil { + panic(err) + } +} +type PolicyScopeBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivities()(*UserActivityTypes) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExecutionMode()(*ExecutionMode) + GetLocations()([]PolicyLocationable) + GetOdataType()(*string) + GetPolicyActions()([]DlpActionInfoable) + SetActivities(value *UserActivityTypes)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExecutionMode(value *ExecutionMode)() + SetLocations(value []PolicyLocationable)() + SetOdataType(value *string)() + SetPolicyActions(value []DlpActionInfoable)() +} diff --git a/models/policy_tenant_scope.go b/models/policy_tenant_scope.go new file mode 100644 index 00000000000..a2ae6c9e303 --- /dev/null +++ b/models/policy_tenant_scope.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PolicyTenantScope struct { + PolicyScopeBase +} +// NewPolicyTenantScope instantiates a new PolicyTenantScope and sets the default values. +func NewPolicyTenantScope()(*PolicyTenantScope) { + m := &PolicyTenantScope{ + PolicyScopeBase: *NewPolicyScopeBase(), + } + odataTypeValue := "#microsoft.graph.policyTenantScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePolicyTenantScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyTenantScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyTenantScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyTenantScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PolicyScopeBase.GetFieldDeserializers() + res["policyScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePolicyBindingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPolicyScope(val.(PolicyBindingable)) + } + return nil + } + return res +} +// GetPolicyScope gets the policyScope property value. Specifies the users and groups included in or excluded from this tenant-level policy scope. +// returns a PolicyBindingable when successful +func (m *PolicyTenantScope) GetPolicyScope()(PolicyBindingable) { + val, err := m.GetBackingStore().Get("policyScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(PolicyBindingable) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyTenantScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PolicyScopeBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("policyScope", m.GetPolicyScope()) + if err != nil { + return err + } + } + return nil +} +// SetPolicyScope sets the policyScope property value. Specifies the users and groups included in or excluded from this tenant-level policy scope. +func (m *PolicyTenantScope) SetPolicyScope(value PolicyBindingable)() { + err := m.GetBackingStore().Set("policyScope", value) + if err != nil { + panic(err) + } +} +type PolicyTenantScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PolicyScopeBaseable + GetPolicyScope()(PolicyBindingable) + SetPolicyScope(value PolicyBindingable)() +} diff --git a/models/policy_user_scope.go b/models/policy_user_scope.go new file mode 100644 index 00000000000..9d8475f7545 --- /dev/null +++ b/models/policy_user_scope.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type PolicyUserScope struct { + PolicyScopeBase +} +// NewPolicyUserScope instantiates a new PolicyUserScope and sets the default values. +func NewPolicyUserScope()(*PolicyUserScope) { + m := &PolicyUserScope{ + PolicyScopeBase: *NewPolicyScopeBase(), + } + odataTypeValue := "#microsoft.graph.policyUserScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreatePolicyUserScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyUserScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyUserScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyUserScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PolicyScopeBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *PolicyUserScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PolicyScopeBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type PolicyUserScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PolicyScopeBaseable +} diff --git a/models/process_content_batch_request.go b/models/process_content_batch_request.go new file mode 100644 index 00000000000..26580cd7eff --- /dev/null +++ b/models/process_content_batch_request.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProcessContentBatchRequest struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProcessContentBatchRequest instantiates a new ProcessContentBatchRequest and sets the default values. +func NewProcessContentBatchRequest()(*ProcessContentBatchRequest) { + m := &ProcessContentBatchRequest{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProcessContentBatchRequestFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessContentBatchRequestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessContentBatchRequest(), 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 *ProcessContentBatchRequest) 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 *ProcessContentBatchRequest) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContentToProcess gets the contentToProcess property value. The contentToProcess property +// returns a ProcessContentRequestable when successful +func (m *ProcessContentBatchRequest) GetContentToProcess()(ProcessContentRequestable) { + val, err := m.GetBackingStore().Get("contentToProcess") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProcessContentRequestable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProcessContentBatchRequest) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["contentToProcess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProcessContentRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContentToProcess(val.(ProcessContentRequestable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["requestId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRequestId(val) + } + return nil + } + res["userId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserId(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProcessContentBatchRequest) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRequestId gets the requestId property value. A unique identifier provided by the client to correlate this specific request item within the batch. +// returns a *string when successful +func (m *ProcessContentBatchRequest) GetRequestId()(*string) { + val, err := m.GetBackingStore().Get("requestId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserId gets the userId property value. The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. +// returns a *string when successful +func (m *ProcessContentBatchRequest) GetUserId()(*string) { + val, err := m.GetBackingStore().Get("userId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessContentBatchRequest) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("contentToProcess", m.GetContentToProcess()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("requestId", m.GetRequestId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("userId", m.GetUserId()) + 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 *ProcessContentBatchRequest) 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 *ProcessContentBatchRequest) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContentToProcess sets the contentToProcess property value. The contentToProcess property +func (m *ProcessContentBatchRequest) SetContentToProcess(value ProcessContentRequestable)() { + err := m.GetBackingStore().Set("contentToProcess", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProcessContentBatchRequest) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRequestId sets the requestId property value. A unique identifier provided by the client to correlate this specific request item within the batch. +func (m *ProcessContentBatchRequest) SetRequestId(value *string)() { + err := m.GetBackingStore().Set("requestId", value) + if err != nil { + panic(err) + } +} +// SetUserId sets the userId property value. The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. +func (m *ProcessContentBatchRequest) SetUserId(value *string)() { + err := m.GetBackingStore().Set("userId", value) + if err != nil { + panic(err) + } +} +type ProcessContentBatchRequestable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContentToProcess()(ProcessContentRequestable) + GetOdataType()(*string) + GetRequestId()(*string) + GetUserId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContentToProcess(value ProcessContentRequestable)() + SetOdataType(value *string)() + SetRequestId(value *string)() + SetUserId(value *string)() +} diff --git a/models/process_content_metadata_base.go b/models/process_content_metadata_base.go new file mode 100644 index 00000000000..f3f556dfb31 --- /dev/null +++ b/models/process_content_metadata_base.go @@ -0,0 +1,470 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProcessContentMetadataBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProcessContentMetadataBase instantiates a new ProcessContentMetadataBase and sets the default values. +func NewProcessContentMetadataBase()(*ProcessContentMetadataBase) { + m := &ProcessContentMetadataBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProcessContentMetadataBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessContentMetadataBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.processConversationMetadata": + return NewProcessConversationMetadata(), nil + case "#microsoft.graph.processFileMetadata": + return NewProcessFileMetadata(), nil + } + } + } + } + return NewProcessContentMetadataBase(), 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 *ProcessContentMetadataBase) 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 *ProcessContentMetadataBase) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContent gets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. +// returns a ContentBaseable when successful +func (m *ProcessContentMetadataBase) GetContent()(ContentBaseable) { + val, err := m.GetBackingStore().Get("content") + if err != nil { + panic(err) + } + if val != nil { + return val.(ContentBaseable) + } + return nil +} +// GetCorrelationId gets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). +// returns a *string when successful +func (m *ProcessContentMetadataBase) GetCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("correlationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). +// returns a *Time when successful +func (m *ProcessContentMetadataBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProcessContentMetadataBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["content"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateContentBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContent(val.(ContentBaseable)) + } + return nil + } + res["correlationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCorrelationId(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["identifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentifier(val) + } + return nil + } + res["isTruncated"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsTruncated(val) + } + return nil + } + res["length"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetLength(val) + } + return nil + } + res["modifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetModifiedDateTime(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + 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["sequenceNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSequenceNumber(val) + } + return nil + } + return res +} +// GetIdentifier gets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). +// returns a *string when successful +func (m *ProcessContentMetadataBase) GetIdentifier()(*string) { + val, err := m.GetBackingStore().Get("identifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIsTruncated gets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). +// returns a *bool when successful +func (m *ProcessContentMetadataBase) GetIsTruncated()(*bool) { + val, err := m.GetBackingStore().Get("isTruncated") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLength gets the length property value. The length of the original content in bytes. +// returns a *int64 when successful +func (m *ProcessContentMetadataBase) GetLength()(*int64) { + val, err := m.GetBackingStore().Get("length") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetModifiedDateTime gets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. +// returns a *Time when successful +func (m *ProcessContentMetadataBase) GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("modifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetName gets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). +// returns a *string when successful +func (m *ProcessContentMetadataBase) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProcessContentMetadataBase) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSequenceNumber gets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. +// returns a *int64 when successful +func (m *ProcessContentMetadataBase) GetSequenceNumber()(*int64) { + val, err := m.GetBackingStore().Get("sequenceNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessContentMetadataBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("content", m.GetContent()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("correlationId", m.GetCorrelationId()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("identifier", m.GetIdentifier()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isTruncated", m.GetIsTruncated()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("length", m.GetLength()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("modifiedDateTime", m.GetModifiedDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("sequenceNumber", m.GetSequenceNumber()) + 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 *ProcessContentMetadataBase) 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 *ProcessContentMetadataBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContent sets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. +func (m *ProcessContentMetadataBase) SetContent(value ContentBaseable)() { + err := m.GetBackingStore().Set("content", value) + if err != nil { + panic(err) + } +} +// SetCorrelationId sets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). +func (m *ProcessContentMetadataBase) SetCorrelationId(value *string)() { + err := m.GetBackingStore().Set("correlationId", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). +func (m *ProcessContentMetadataBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetIdentifier sets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). +func (m *ProcessContentMetadataBase) SetIdentifier(value *string)() { + err := m.GetBackingStore().Set("identifier", value) + if err != nil { + panic(err) + } +} +// SetIsTruncated sets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). +func (m *ProcessContentMetadataBase) SetIsTruncated(value *bool)() { + err := m.GetBackingStore().Set("isTruncated", value) + if err != nil { + panic(err) + } +} +// SetLength sets the length property value. The length of the original content in bytes. +func (m *ProcessContentMetadataBase) SetLength(value *int64)() { + err := m.GetBackingStore().Set("length", value) + if err != nil { + panic(err) + } +} +// SetModifiedDateTime sets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. +func (m *ProcessContentMetadataBase) SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("modifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). +func (m *ProcessContentMetadataBase) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProcessContentMetadataBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSequenceNumber sets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. +func (m *ProcessContentMetadataBase) SetSequenceNumber(value *int64)() { + err := m.GetBackingStore().Set("sequenceNumber", value) + if err != nil { + panic(err) + } +} +type ProcessContentMetadataBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContent()(ContentBaseable) + GetCorrelationId()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetIdentifier()(*string) + GetIsTruncated()(*bool) + GetLength()(*int64) + GetModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetName()(*string) + GetOdataType()(*string) + GetSequenceNumber()(*int64) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContent(value ContentBaseable)() + SetCorrelationId(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetIdentifier(value *string)() + SetIsTruncated(value *bool)() + SetLength(value *int64)() + SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetName(value *string)() + SetOdataType(value *string)() + SetSequenceNumber(value *int64)() +} diff --git a/models/process_content_request.go b/models/process_content_request.go new file mode 100644 index 00000000000..16959d37b46 --- /dev/null +++ b/models/process_content_request.go @@ -0,0 +1,313 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProcessContentRequest struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProcessContentRequest instantiates a new ProcessContentRequest and sets the default values. +func NewProcessContentRequest()(*ProcessContentRequest) { + m := &ProcessContentRequest{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProcessContentRequestFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessContentRequestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessContentRequest(), nil +} +// GetActivityMetadata gets the activityMetadata property value. The activityMetadata property +// returns a ActivityMetadataable when successful +func (m *ProcessContentRequest) GetActivityMetadata()(ActivityMetadataable) { + val, err := m.GetBackingStore().Get("activityMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(ActivityMetadataable) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ProcessContentRequest) 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 *ProcessContentRequest) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContentEntries gets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. +// returns a []ProcessContentMetadataBaseable when successful +func (m *ProcessContentRequest) GetContentEntries()([]ProcessContentMetadataBaseable) { + val, err := m.GetBackingStore().Get("contentEntries") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProcessContentMetadataBaseable) + } + return nil +} +// GetDeviceMetadata gets the deviceMetadata property value. The deviceMetadata property +// returns a DeviceMetadataable when successful +func (m *ProcessContentRequest) GetDeviceMetadata()(DeviceMetadataable) { + val, err := m.GetBackingStore().Get("deviceMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(DeviceMetadataable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProcessContentRequest) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activityMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateActivityMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetActivityMetadata(val.(ActivityMetadataable)) + } + return nil + } + res["contentEntries"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProcessContentMetadataBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProcessContentMetadataBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProcessContentMetadataBaseable) + } + } + m.SetContentEntries(res) + } + return nil + } + res["deviceMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDeviceMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeviceMetadata(val.(DeviceMetadataable)) + } + return nil + } + res["integratedAppMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIntegratedApplicationMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIntegratedAppMetadata(val.(IntegratedApplicationMetadataable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["protectedAppMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProtectedApplicationMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectedAppMetadata(val.(ProtectedApplicationMetadataable)) + } + return nil + } + return res +} +// GetIntegratedAppMetadata gets the integratedAppMetadata property value. The integratedAppMetadata property +// returns a IntegratedApplicationMetadataable when successful +func (m *ProcessContentRequest) GetIntegratedAppMetadata()(IntegratedApplicationMetadataable) { + val, err := m.GetBackingStore().Get("integratedAppMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(IntegratedApplicationMetadataable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProcessContentRequest) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProtectedAppMetadata gets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. +// returns a ProtectedApplicationMetadataable when successful +func (m *ProcessContentRequest) GetProtectedAppMetadata()(ProtectedApplicationMetadataable) { + val, err := m.GetBackingStore().Get("protectedAppMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProtectedApplicationMetadataable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessContentRequest) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("activityMetadata", m.GetActivityMetadata()) + if err != nil { + return err + } + } + if m.GetContentEntries() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetContentEntries())) + for i, v := range m.GetContentEntries() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("contentEntries", cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("deviceMetadata", m.GetDeviceMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("integratedAppMetadata", m.GetIntegratedAppMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("protectedAppMetadata", m.GetProtectedAppMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActivityMetadata sets the activityMetadata property value. The activityMetadata property +func (m *ProcessContentRequest) SetActivityMetadata(value ActivityMetadataable)() { + err := m.GetBackingStore().Set("activityMetadata", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ProcessContentRequest) 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 *ProcessContentRequest) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContentEntries sets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. +func (m *ProcessContentRequest) SetContentEntries(value []ProcessContentMetadataBaseable)() { + err := m.GetBackingStore().Set("contentEntries", value) + if err != nil { + panic(err) + } +} +// SetDeviceMetadata sets the deviceMetadata property value. The deviceMetadata property +func (m *ProcessContentRequest) SetDeviceMetadata(value DeviceMetadataable)() { + err := m.GetBackingStore().Set("deviceMetadata", value) + if err != nil { + panic(err) + } +} +// SetIntegratedAppMetadata sets the integratedAppMetadata property value. The integratedAppMetadata property +func (m *ProcessContentRequest) SetIntegratedAppMetadata(value IntegratedApplicationMetadataable)() { + err := m.GetBackingStore().Set("integratedAppMetadata", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProcessContentRequest) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetProtectedAppMetadata sets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. +func (m *ProcessContentRequest) SetProtectedAppMetadata(value ProtectedApplicationMetadataable)() { + err := m.GetBackingStore().Set("protectedAppMetadata", value) + if err != nil { + panic(err) + } +} +type ProcessContentRequestable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivityMetadata()(ActivityMetadataable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContentEntries()([]ProcessContentMetadataBaseable) + GetDeviceMetadata()(DeviceMetadataable) + GetIntegratedAppMetadata()(IntegratedApplicationMetadataable) + GetOdataType()(*string) + GetProtectedAppMetadata()(ProtectedApplicationMetadataable) + SetActivityMetadata(value ActivityMetadataable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContentEntries(value []ProcessContentMetadataBaseable)() + SetDeviceMetadata(value DeviceMetadataable)() + SetIntegratedAppMetadata(value IntegratedApplicationMetadataable)() + SetOdataType(value *string)() + SetProtectedAppMetadata(value ProtectedApplicationMetadataable)() +} diff --git a/models/process_content_response.go b/models/process_content_response.go new file mode 100644 index 00000000000..1ec395521f5 --- /dev/null +++ b/models/process_content_response.go @@ -0,0 +1,252 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProcessContentResponse struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProcessContentResponse instantiates a new ProcessContentResponse and sets the default values. +func NewProcessContentResponse()(*ProcessContentResponse) { + m := &ProcessContentResponse{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProcessContentResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessContentResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessContentResponse(), 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 *ProcessContentResponse) 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 *ProcessContentResponse) 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 *ProcessContentResponse) 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["policyActions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDlpActionInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DlpActionInfoable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DlpActionInfoable) + } + } + m.SetPolicyActions(res) + } + return nil + } + res["processingErrors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProcessingErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProcessingErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProcessingErrorable) + } + } + m.SetProcessingErrors(res) + } + return nil + } + res["protectionScopeState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseProtectionScopeState) + if err != nil { + return err + } + if val != nil { + m.SetProtectionScopeState(val.(*ProtectionScopeState)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProcessContentResponse) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPolicyActions gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policy action supported in for this resource type is restrictAccess. +// returns a []DlpActionInfoable when successful +func (m *ProcessContentResponse) GetPolicyActions()([]DlpActionInfoable) { + val, err := m.GetBackingStore().Get("policyActions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DlpActionInfoable) + } + return nil +} +// GetProcessingErrors gets the processingErrors property value. A collection of errors encountered during the content processing. +// returns a []ProcessingErrorable when successful +func (m *ProcessContentResponse) GetProcessingErrors()([]ProcessingErrorable) { + val, err := m.GetBackingStore().Get("processingErrors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProcessingErrorable) + } + return nil +} +// GetProtectionScopeState gets the protectionScopeState property value. The protectionScopeState property +// returns a *ProtectionScopeState when successful +func (m *ProcessContentResponse) GetProtectionScopeState()(*ProtectionScopeState) { + val, err := m.GetBackingStore().Get("protectionScopeState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ProtectionScopeState) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessContentResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPolicyActions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPolicyActions())) + for i, v := range m.GetPolicyActions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("policyActions", cast) + if err != nil { + return err + } + } + if m.GetProcessingErrors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProcessingErrors())) + for i, v := range m.GetProcessingErrors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("processingErrors", cast) + if err != nil { + return err + } + } + if m.GetProtectionScopeState() != nil { + cast := (*m.GetProtectionScopeState()).String() + err := writer.WriteStringValue("protectionScopeState", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ProcessContentResponse) 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 *ProcessContentResponse) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProcessContentResponse) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPolicyActions sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policy action supported in for this resource type is restrictAccess. +func (m *ProcessContentResponse) SetPolicyActions(value []DlpActionInfoable)() { + err := m.GetBackingStore().Set("policyActions", value) + if err != nil { + panic(err) + } +} +// SetProcessingErrors sets the processingErrors property value. A collection of errors encountered during the content processing. +func (m *ProcessContentResponse) SetProcessingErrors(value []ProcessingErrorable)() { + err := m.GetBackingStore().Set("processingErrors", value) + if err != nil { + panic(err) + } +} +// SetProtectionScopeState sets the protectionScopeState property value. The protectionScopeState property +func (m *ProcessContentResponse) SetProtectionScopeState(value *ProtectionScopeState)() { + err := m.GetBackingStore().Set("protectionScopeState", value) + if err != nil { + panic(err) + } +} +type ProcessContentResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPolicyActions()([]DlpActionInfoable) + GetProcessingErrors()([]ProcessingErrorable) + GetProtectionScopeState()(*ProtectionScopeState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPolicyActions(value []DlpActionInfoable)() + SetProcessingErrors(value []ProcessingErrorable)() + SetProtectionScopeState(value *ProtectionScopeState)() +} diff --git a/models/process_content_responses.go b/models/process_content_responses.go new file mode 100644 index 00000000000..d3093cd0e3c --- /dev/null +++ b/models/process_content_responses.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProcessContentResponses struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProcessContentResponses instantiates a new ProcessContentResponses and sets the default values. +func NewProcessContentResponses()(*ProcessContentResponses) { + m := &ProcessContentResponses{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProcessContentResponsesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessContentResponsesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessContentResponses(), 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 *ProcessContentResponses) 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 *ProcessContentResponses) 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 *ProcessContentResponses) 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["requestId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRequestId(val) + } + return nil + } + res["results"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateProcessContentResponseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetResults(val.(ProcessContentResponseable)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProcessContentResponses) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRequestId gets the requestId property value. The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. +// returns a *string when successful +func (m *ProcessContentResponses) GetRequestId()(*string) { + val, err := m.GetBackingStore().Get("requestId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResults gets the results property value. The results property +// returns a ProcessContentResponseable when successful +func (m *ProcessContentResponses) GetResults()(ProcessContentResponseable) { + val, err := m.GetBackingStore().Get("results") + if err != nil { + panic(err) + } + if val != nil { + return val.(ProcessContentResponseable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessContentResponses) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("requestId", m.GetRequestId()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("results", m.GetResults()) + 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 *ProcessContentResponses) 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 *ProcessContentResponses) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProcessContentResponses) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRequestId sets the requestId property value. The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. +func (m *ProcessContentResponses) SetRequestId(value *string)() { + err := m.GetBackingStore().Set("requestId", value) + if err != nil { + panic(err) + } +} +// SetResults sets the results property value. The results property +func (m *ProcessContentResponses) SetResults(value ProcessContentResponseable)() { + err := m.GetBackingStore().Set("results", value) + if err != nil { + panic(err) + } +} +type ProcessContentResponsesable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetRequestId()(*string) + GetResults()(ProcessContentResponseable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetRequestId(value *string)() + SetResults(value ProcessContentResponseable)() +} diff --git a/models/process_conversation_metadata.go b/models/process_conversation_metadata.go new file mode 100644 index 00000000000..a8c48151e32 --- /dev/null +++ b/models/process_conversation_metadata.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProcessConversationMetadata struct { + ProcessContentMetadataBase +} +// NewProcessConversationMetadata instantiates a new ProcessConversationMetadata and sets the default values. +func NewProcessConversationMetadata()(*ProcessConversationMetadata) { + m := &ProcessConversationMetadata{ + ProcessContentMetadataBase: *NewProcessContentMetadataBase(), + } + odataTypeValue := "#microsoft.graph.processConversationMetadata" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateProcessConversationMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessConversationMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessConversationMetadata(), nil +} +// GetAccessedResources gets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). +// returns a []string when successful +func (m *ProcessConversationMetadata) GetAccessedResources()([]string) { + val, err := m.GetBackingStore().Get("accessedResources") + 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 *ProcessConversationMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProcessContentMetadataBase.GetFieldDeserializers() + res["accessedResources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetAccessedResources(res) + } + return nil + } + res["parentMessageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetParentMessageId(val) + } + return nil + } + res["plugins"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionPluginFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionPluginable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionPluginable) + } + } + m.SetPlugins(res) + } + return nil + } + return res +} +// GetParentMessageId gets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. +// returns a *string when successful +func (m *ProcessConversationMetadata) GetParentMessageId()(*string) { + val, err := m.GetBackingStore().Get("parentMessageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPlugins gets the plugins property value. List of plugins used during the generation of this message (relevant for AI/bot interactions). +// returns a []AiInteractionPluginable when successful +func (m *ProcessConversationMetadata) GetPlugins()([]AiInteractionPluginable) { + val, err := m.GetBackingStore().Get("plugins") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionPluginable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessConversationMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProcessContentMetadataBase.Serialize(writer) + if err != nil { + return err + } + if m.GetAccessedResources() != nil { + err = writer.WriteCollectionOfStringValues("accessedResources", m.GetAccessedResources()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("parentMessageId", m.GetParentMessageId()) + if err != nil { + return err + } + } + if m.GetPlugins() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPlugins())) + for i, v := range m.GetPlugins() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("plugins", cast) + if err != nil { + return err + } + } + return nil +} +// SetAccessedResources sets the accessedResources property value. List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). +func (m *ProcessConversationMetadata) SetAccessedResources(value []string)() { + err := m.GetBackingStore().Set("accessedResources", value) + if err != nil { + panic(err) + } +} +// SetParentMessageId sets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. +func (m *ProcessConversationMetadata) SetParentMessageId(value *string)() { + err := m.GetBackingStore().Set("parentMessageId", value) + if err != nil { + panic(err) + } +} +// SetPlugins sets the plugins property value. List of plugins used during the generation of this message (relevant for AI/bot interactions). +func (m *ProcessConversationMetadata) SetPlugins(value []AiInteractionPluginable)() { + err := m.GetBackingStore().Set("plugins", value) + if err != nil { + panic(err) + } +} +type ProcessConversationMetadataable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProcessContentMetadataBaseable + GetAccessedResources()([]string) + GetParentMessageId()(*string) + GetPlugins()([]AiInteractionPluginable) + SetAccessedResources(value []string)() + SetParentMessageId(value *string)() + SetPlugins(value []AiInteractionPluginable)() +} diff --git a/models/process_file_metadata.go b/models/process_file_metadata.go new file mode 100644 index 00000000000..45fe15f52d4 --- /dev/null +++ b/models/process_file_metadata.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProcessFileMetadata struct { + ProcessContentMetadataBase +} +// NewProcessFileMetadata instantiates a new ProcessFileMetadata and sets the default values. +func NewProcessFileMetadata()(*ProcessFileMetadata) { + m := &ProcessFileMetadata{ + ProcessContentMetadataBase: *NewProcessContentMetadataBase(), + } + odataTypeValue := "#microsoft.graph.processFileMetadata" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateProcessFileMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessFileMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessFileMetadata(), nil +} +// GetCustomProperties gets the customProperties property value. A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. +// returns a CustomMetadataDictionaryable when successful +func (m *ProcessFileMetadata) GetCustomProperties()(CustomMetadataDictionaryable) { + val, err := m.GetBackingStore().Get("customProperties") + if err != nil { + panic(err) + } + if val != nil { + return val.(CustomMetadataDictionaryable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProcessFileMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ProcessContentMetadataBase.GetFieldDeserializers() + res["customProperties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCustomMetadataDictionaryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCustomProperties(val.(CustomMetadataDictionaryable)) + } + return nil + } + res["ownerId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOwnerId(val) + } + return nil + } + return res +} +// GetOwnerId gets the ownerId property value. The unique identifier (for example, Entra User ID or UPN) of the owner of the file. +// returns a *string when successful +func (m *ProcessFileMetadata) GetOwnerId()(*string) { + val, err := m.GetBackingStore().Get("ownerId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ProcessFileMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ProcessContentMetadataBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("customProperties", m.GetCustomProperties()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("ownerId", m.GetOwnerId()) + if err != nil { + return err + } + } + return nil +} +// SetCustomProperties sets the customProperties property value. A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. +func (m *ProcessFileMetadata) SetCustomProperties(value CustomMetadataDictionaryable)() { + err := m.GetBackingStore().Set("customProperties", value) + if err != nil { + panic(err) + } +} +// SetOwnerId sets the ownerId property value. The unique identifier (for example, Entra User ID or UPN) of the owner of the file. +func (m *ProcessFileMetadata) SetOwnerId(value *string)() { + err := m.GetBackingStore().Set("ownerId", value) + if err != nil { + panic(err) + } +} +type ProcessFileMetadataable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ProcessContentMetadataBaseable + GetCustomProperties()(CustomMetadataDictionaryable) + GetOwnerId()(*string) + SetCustomProperties(value CustomMetadataDictionaryable)() + SetOwnerId(value *string)() +} diff --git a/models/processing_error.go b/models/processing_error.go new file mode 100644 index 00000000000..ed68f596acc --- /dev/null +++ b/models/processing_error.go @@ -0,0 +1,80 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProcessingError struct { + ClassificationError +} +// NewProcessingError instantiates a new ProcessingError and sets the default values. +func NewProcessingError()(*ProcessingError) { + m := &ProcessingError{ + ClassificationError: *NewClassificationError(), + } + return m +} +// CreateProcessingErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProcessingErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProcessingError(), nil +} +// GetErrorType gets the errorType property value. The errorType property +// returns a *ContentProcessingErrorType when successful +func (m *ProcessingError) GetErrorType()(*ContentProcessingErrorType) { + val, err := m.GetBackingStore().Get("errorType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ContentProcessingErrorType) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProcessingError) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ClassificationError.GetFieldDeserializers() + res["errorType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseContentProcessingErrorType) + if err != nil { + return err + } + if val != nil { + m.SetErrorType(val.(*ContentProcessingErrorType)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ProcessingError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ClassificationError.Serialize(writer) + if err != nil { + return err + } + if m.GetErrorType() != nil { + cast := (*m.GetErrorType()).String() + err = writer.WriteStringValue("errorType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetErrorType sets the errorType property value. The errorType property +func (m *ProcessingError) SetErrorType(value *ContentProcessingErrorType)() { + err := m.GetBackingStore().Set("errorType", value) + if err != nil { + panic(err) + } +} +type ProcessingErrorable interface { + ClassificationErrorable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetErrorType()(*ContentProcessingErrorType) + SetErrorType(value *ContentProcessingErrorType)() +} diff --git a/models/protected_application_metadata.go b/models/protected_application_metadata.go new file mode 100644 index 00000000000..fb201ea2f80 --- /dev/null +++ b/models/protected_application_metadata.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProtectedApplicationMetadata struct { + IntegratedApplicationMetadata +} +// NewProtectedApplicationMetadata instantiates a new ProtectedApplicationMetadata and sets the default values. +func NewProtectedApplicationMetadata()(*ProtectedApplicationMetadata) { + m := &ProtectedApplicationMetadata{ + IntegratedApplicationMetadata: *NewIntegratedApplicationMetadata(), + } + odataTypeValue := "#microsoft.graph.protectedApplicationMetadata" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateProtectedApplicationMetadataFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProtectedApplicationMetadataFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProtectedApplicationMetadata(), nil +} +// GetApplicationLocation gets the applicationLocation property value. The client (application) ID of the Microsoft Entra application. Required. +// returns a PolicyLocationable when successful +func (m *ProtectedApplicationMetadata) GetApplicationLocation()(PolicyLocationable) { + val, err := m.GetBackingStore().Get("applicationLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(PolicyLocationable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProtectedApplicationMetadata) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IntegratedApplicationMetadata.GetFieldDeserializers() + res["applicationLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePolicyLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetApplicationLocation(val.(PolicyLocationable)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ProtectedApplicationMetadata) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IntegratedApplicationMetadata.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("applicationLocation", m.GetApplicationLocation()) + if err != nil { + return err + } + } + return nil +} +// SetApplicationLocation sets the applicationLocation property value. The client (application) ID of the Microsoft Entra application. Required. +func (m *ProtectedApplicationMetadata) SetApplicationLocation(value PolicyLocationable)() { + err := m.GetBackingStore().Set("applicationLocation", value) + if err != nil { + panic(err) + } +} +type ProtectedApplicationMetadataable interface { + IntegratedApplicationMetadataable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplicationLocation()(PolicyLocationable) + SetApplicationLocation(value PolicyLocationable)() +} diff --git a/models/protection_scope_state.go b/models/protection_scope_state.go new file mode 100644 index 00000000000..823f0378d72 --- /dev/null +++ b/models/protection_scope_state.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ProtectionScopeState int + +const ( + NOTMODIFIED_PROTECTIONSCOPESTATE ProtectionScopeState = iota + MODIFIED_PROTECTIONSCOPESTATE + UNKNOWNFUTUREVALUE_PROTECTIONSCOPESTATE +) + +func (i ProtectionScopeState) String() string { + return []string{"notModified", "modified", "unknownFutureValue"}[i] +} +func ParseProtectionScopeState(v string) (any, error) { + result := NOTMODIFIED_PROTECTIONSCOPESTATE + switch v { + case "notModified": + result = NOTMODIFIED_PROTECTIONSCOPESTATE + case "modified": + result = MODIFIED_PROTECTIONSCOPESTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PROTECTIONSCOPESTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeProtectionScopeState(values []ProtectionScopeState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ProtectionScopeState) isMultiValue() bool { + return false +} diff --git a/models/restrict_access_action.go b/models/restrict_access_action.go new file mode 100644 index 00000000000..5e899277782 --- /dev/null +++ b/models/restrict_access_action.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestrictAccessAction struct { + RestrictAccessActionBase +} +// NewRestrictAccessAction instantiates a new RestrictAccessAction and sets the default values. +func NewRestrictAccessAction()(*RestrictAccessAction) { + m := &RestrictAccessAction{ + RestrictAccessActionBase: *NewRestrictAccessActionBase(), + } + odataTypeValue := "#microsoft.graph.restrictAccessAction" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRestrictAccessActionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestrictAccessActionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRestrictAccessAction(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestrictAccessAction) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.RestrictAccessActionBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *RestrictAccessAction) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.RestrictAccessActionBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type RestrictAccessActionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + RestrictAccessActionBaseable +} diff --git a/models/restrict_access_action_base.go b/models/restrict_access_action_base.go new file mode 100644 index 00000000000..c994a62cb7a --- /dev/null +++ b/models/restrict_access_action_base.go @@ -0,0 +1,98 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RestrictAccessActionBase struct { + DlpActionInfo +} +// NewRestrictAccessActionBase instantiates a new RestrictAccessActionBase and sets the default values. +func NewRestrictAccessActionBase()(*RestrictAccessActionBase) { + m := &RestrictAccessActionBase{ + DlpActionInfo: *NewDlpActionInfo(), + } + return m +} +// CreateRestrictAccessActionBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRestrictAccessActionBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.restrictAccessAction": + return NewRestrictAccessAction(), nil + } + } + } + } + return NewRestrictAccessActionBase(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RestrictAccessActionBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DlpActionInfo.GetFieldDeserializers() + res["restrictionAction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRestrictionAction) + if err != nil { + return err + } + if val != nil { + m.SetRestrictionAction(val.(*RestrictionAction)) + } + return nil + } + return res +} +// GetRestrictionAction gets the restrictionAction property value. Action for the app to take. The possible values are: warn, audit, block. +// returns a *RestrictionAction when successful +func (m *RestrictAccessActionBase) GetRestrictionAction()(*RestrictionAction) { + val, err := m.GetBackingStore().Get("restrictionAction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RestrictionAction) + } + return nil +} +// Serialize serializes information the current object +func (m *RestrictAccessActionBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DlpActionInfo.Serialize(writer) + if err != nil { + return err + } + if m.GetRestrictionAction() != nil { + cast := (*m.GetRestrictionAction()).String() + err = writer.WriteStringValue("restrictionAction", &cast) + if err != nil { + return err + } + } + return nil +} +// SetRestrictionAction sets the restrictionAction property value. Action for the app to take. The possible values are: warn, audit, block. +func (m *RestrictAccessActionBase) SetRestrictionAction(value *RestrictionAction)() { + err := m.GetBackingStore().Set("restrictionAction", value) + if err != nil { + panic(err) + } +} +type RestrictAccessActionBaseable interface { + DlpActionInfoable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetRestrictionAction()(*RestrictionAction) + SetRestrictionAction(value *RestrictionAction)() +} diff --git a/models/restriction_action.go b/models/restriction_action.go new file mode 100644 index 00000000000..3960f124290 --- /dev/null +++ b/models/restriction_action.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type RestrictionAction int + +const ( + WARN_RESTRICTIONACTION RestrictionAction = iota + AUDIT_RESTRICTIONACTION + BLOCK_RESTRICTIONACTION +) + +func (i RestrictionAction) String() string { + return []string{"warn", "audit", "block"}[i] +} +func ParseRestrictionAction(v string) (any, error) { + result := WARN_RESTRICTIONACTION + switch v { + case "warn": + result = WARN_RESTRICTIONACTION + case "audit": + result = AUDIT_RESTRICTIONACTION + case "block": + result = BLOCK_RESTRICTIONACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeRestrictionAction(values []RestrictionAction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RestrictionAction) isMultiValue() bool { + return false +} diff --git a/models/scope_base.go b/models/scope_base.go new file mode 100644 index 00000000000..45d3029b644 --- /dev/null +++ b/models/scope_base.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ScopeBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewScopeBase instantiates a new ScopeBase and sets the default values. +func NewScopeBase()(*ScopeBase) { + m := &ScopeBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateScopeBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateScopeBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.groupScope": + return NewGroupScope(), nil + case "#microsoft.graph.tenantScope": + return NewTenantScope(), nil + case "#microsoft.graph.userScope": + return NewUserScope(), nil + } + } + } + } + return NewScopeBase(), 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 *ScopeBase) 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 *ScopeBase) 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 *ScopeBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["identity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentity(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 +} +// GetIdentity gets the identity property value. The identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. +// returns a *string when successful +func (m *ScopeBase) GetIdentity()(*string) { + val, err := m.GetBackingStore().Get("identity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ScopeBase) 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 *ScopeBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("identity", m.GetIdentity()) + 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 *ScopeBase) 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 *ScopeBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentity sets the identity property value. The identifier for the scope. This could be a user ID, group ID, or a keyword like 'All' for tenant scope. +func (m *ScopeBase) SetIdentity(value *string)() { + err := m.GetBackingStore().Set("identity", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ScopeBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ScopeBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentity()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentity(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security.go b/models/security.go index 349507216e2..b0ad9db26f4 100644 --- a/models/security.go +++ b/models/security.go @@ -46,6 +46,18 @@ func (m *Security) GetAttackSimulation()(AttackSimulationRootable) { } return nil } +// GetDataSecurityAndGovernance gets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property +// returns a TenantDataSecurityAndGovernanceable when successful +func (m *Security) GetDataSecurityAndGovernance()(TenantDataSecurityAndGovernanceable) { + val, err := m.GetBackingStore().Get("dataSecurityAndGovernance") + if err != nil { + panic(err) + } + if val != nil { + return val.(TenantDataSecurityAndGovernanceable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Security) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -76,6 +88,16 @@ func (m *Security) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["dataSecurityAndGovernance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTenantDataSecurityAndGovernanceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDataSecurityAndGovernance(val.(TenantDataSecurityAndGovernanceable)) + } + return nil + } res["secureScoreControlProfiles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateSecureScoreControlProfileFromDiscriminatorValue) if err != nil { @@ -186,6 +208,12 @@ func (m *Security) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err = writer.WriteObjectValue("dataSecurityAndGovernance", m.GetDataSecurityAndGovernance()) + if err != nil { + return err + } + } if m.GetSecureScoreControlProfiles() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSecureScoreControlProfiles())) for i, v := range m.GetSecureScoreControlProfiles() { @@ -238,6 +266,13 @@ func (m *Security) SetAttackSimulation(value AttackSimulationRootable)() { panic(err) } } +// SetDataSecurityAndGovernance sets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property +func (m *Security) SetDataSecurityAndGovernance(value TenantDataSecurityAndGovernanceable)() { + err := m.GetBackingStore().Set("dataSecurityAndGovernance", value) + if err != nil { + panic(err) + } +} // SetSecureScoreControlProfiles sets the secureScoreControlProfiles property value. The secureScoreControlProfiles property func (m *Security) SetSecureScoreControlProfiles(value []SecureScoreControlProfileable)() { err := m.GetBackingStore().Set("secureScoreControlProfiles", value) @@ -264,11 +299,13 @@ type Securityable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAlerts()([]Alertable) GetAttackSimulation()(AttackSimulationRootable) + GetDataSecurityAndGovernance()(TenantDataSecurityAndGovernanceable) GetSecureScoreControlProfiles()([]SecureScoreControlProfileable) GetSecureScores()([]SecureScoreable) GetSubjectRightsRequests()([]SubjectRightsRequestable) SetAlerts(value []Alertable)() SetAttackSimulation(value AttackSimulationRootable)() + SetDataSecurityAndGovernance(value TenantDataSecurityAndGovernanceable)() SetSecureScoreControlProfiles(value []SecureScoreControlProfileable)() SetSecureScores(value []SecureScoreable)() SetSubjectRightsRequests(value []SubjectRightsRequestable)() diff --git a/models/tenant_data_security_and_governance.go b/models/tenant_data_security_and_governance.go new file mode 100644 index 00000000000..e53e7f43ccc --- /dev/null +++ b/models/tenant_data_security_and_governance.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TenantDataSecurityAndGovernance struct { + DataSecurityAndGovernance +} +// NewTenantDataSecurityAndGovernance instantiates a new TenantDataSecurityAndGovernance and sets the default values. +func NewTenantDataSecurityAndGovernance()(*TenantDataSecurityAndGovernance) { + m := &TenantDataSecurityAndGovernance{ + DataSecurityAndGovernance: *NewDataSecurityAndGovernance(), + } + odataTypeValue := "#microsoft.graph.tenantDataSecurityAndGovernance" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTenantDataSecurityAndGovernanceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTenantDataSecurityAndGovernanceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTenantDataSecurityAndGovernance(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TenantDataSecurityAndGovernance) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DataSecurityAndGovernance.GetFieldDeserializers() + res["protectionScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTenantProtectionScopeContainerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectionScopes(val.(TenantProtectionScopeContainerable)) + } + return nil + } + return res +} +// GetProtectionScopes gets the protectionScopes property value. The protectionScopes property +// returns a TenantProtectionScopeContainerable when successful +func (m *TenantDataSecurityAndGovernance) GetProtectionScopes()(TenantProtectionScopeContainerable) { + val, err := m.GetBackingStore().Get("protectionScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.(TenantProtectionScopeContainerable) + } + return nil +} +// Serialize serializes information the current object +func (m *TenantDataSecurityAndGovernance) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DataSecurityAndGovernance.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("protectionScopes", m.GetProtectionScopes()) + if err != nil { + return err + } + } + return nil +} +// SetProtectionScopes sets the protectionScopes property value. The protectionScopes property +func (m *TenantDataSecurityAndGovernance) SetProtectionScopes(value TenantProtectionScopeContainerable)() { + err := m.GetBackingStore().Set("protectionScopes", value) + if err != nil { + panic(err) + } +} +type TenantDataSecurityAndGovernanceable interface { + DataSecurityAndGovernanceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetProtectionScopes()(TenantProtectionScopeContainerable) + SetProtectionScopes(value TenantProtectionScopeContainerable)() +} diff --git a/models/tenant_protection_scope_container.go b/models/tenant_protection_scope_container.go new file mode 100644 index 00000000000..25e3b65c678 --- /dev/null +++ b/models/tenant_protection_scope_container.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TenantProtectionScopeContainer struct { + Entity +} +// NewTenantProtectionScopeContainer instantiates a new TenantProtectionScopeContainer and sets the default values. +func NewTenantProtectionScopeContainer()(*TenantProtectionScopeContainer) { + m := &TenantProtectionScopeContainer{ + Entity: *NewEntity(), + } + return m +} +// CreateTenantProtectionScopeContainerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTenantProtectionScopeContainerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTenantProtectionScopeContainer(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TenantProtectionScopeContainer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *TenantProtectionScopeContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type TenantProtectionScopeContainerable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/tenant_scope.go b/models/tenant_scope.go new file mode 100644 index 00000000000..eb1f9b3adf9 --- /dev/null +++ b/models/tenant_scope.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TenantScope struct { + ScopeBase +} +// NewTenantScope instantiates a new TenantScope and sets the default values. +func NewTenantScope()(*TenantScope) { + m := &TenantScope{ + ScopeBase: *NewScopeBase(), + } + odataTypeValue := "#microsoft.graph.tenantScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTenantScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTenantScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTenantScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TenantScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ScopeBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *TenantScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ScopeBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type TenantScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ScopeBaseable +} diff --git a/models/text_content.go b/models/text_content.go new file mode 100644 index 00000000000..1c5893a23d4 --- /dev/null +++ b/models/text_content.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TextContent struct { + ContentBase +} +// NewTextContent instantiates a new TextContent and sets the default values. +func NewTextContent()(*TextContent) { + m := &TextContent{ + ContentBase: *NewContentBase(), + } + odataTypeValue := "#microsoft.graph.textContent" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTextContentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTextContentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTextContent(), nil +} +// GetData gets the data property value. The text content data. Inherits properties from contentBase. +// returns a *string when successful +func (m *TextContent) GetData()(*string) { + val, err := m.GetBackingStore().Get("data") + 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 *TextContent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ContentBase.GetFieldDeserializers() + res["data"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetData(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *TextContent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ContentBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("data", m.GetData()) + if err != nil { + return err + } + } + return nil +} +// SetData sets the data property value. The text content data. Inherits properties from contentBase. +func (m *TextContent) SetData(value *string)() { + err := m.GetBackingStore().Set("data", value) + if err != nil { + panic(err) + } +} +type TextContentable interface { + ContentBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetData()(*string) + SetData(value *string)() +} diff --git a/models/upload_session.go b/models/upload_session.go index 79c1a5c5c7a..e20e08809eb 100644 --- a/models/upload_session.go +++ b/models/upload_session.go @@ -44,7 +44,7 @@ func (m *UploadSession) GetAdditionalData()(map[string]any) { func (m *UploadSession) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetExpirationDateTime gets the expirationDateTime property value. The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. +// GetExpirationDateTime gets the expirationDateTime property value. The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time. // returns a *Time when successful func (m *UploadSession) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -189,7 +189,7 @@ func (m *UploadSession) SetAdditionalData(value map[string]any)() { func (m *UploadSession) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetExpirationDateTime sets the expirationDateTime property value. The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. +// SetExpirationDateTime sets the expirationDateTime property value. The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time. func (m *UploadSession) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { diff --git a/models/usage_rights.go b/models/usage_rights.go new file mode 100644 index 00000000000..2e91fb7c744 --- /dev/null +++ b/models/usage_rights.go @@ -0,0 +1,108 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type UsageRights int + +const ( + UNKNOWN_USAGERIGHTS = 1 + DOCEDIT_USAGERIGHTS = 2 + EDIT_USAGERIGHTS = 4 + COMMENT_USAGERIGHTS = 8 + EXPORT_USAGERIGHTS = 16 + FORWARD_USAGERIGHTS = 32 + OWNER_USAGERIGHTS = 64 + PRINT_USAGERIGHTS = 128 + REPLY_USAGERIGHTS = 256 + REPLYALL_USAGERIGHTS = 512 + VIEW_USAGERIGHTS = 1024 + EXTRACT_USAGERIGHTS = 2048 + VIEWRIGHTSDATA_USAGERIGHTS = 4096 + EDITRIGHTSDATA_USAGERIGHTS = 8192 + OBJMODEL_USAGERIGHTS = 16384 + ACCESSDENIED_USAGERIGHTS = 32768 + USERDEFINEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 65536 + ENCRYPTEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 131072 + PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 262144 + EXCEPTION_USAGERIGHTS = 524288 + UNKNOWNFUTUREVALUE_USAGERIGHTS = 1048576 +) + +func (i UsageRights) String() string { + var values []string + options := []string{"unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "unknownFutureValue"} + for p := 0; p < 21; p++ { + mantis := UsageRights(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseUsageRights(v string) (any, error) { + var result UsageRights + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "unknown": + result |= UNKNOWN_USAGERIGHTS + case "docEdit": + result |= DOCEDIT_USAGERIGHTS + case "edit": + result |= EDIT_USAGERIGHTS + case "comment": + result |= COMMENT_USAGERIGHTS + case "export": + result |= EXPORT_USAGERIGHTS + case "forward": + result |= FORWARD_USAGERIGHTS + case "owner": + result |= OWNER_USAGERIGHTS + case "print": + result |= PRINT_USAGERIGHTS + case "reply": + result |= REPLY_USAGERIGHTS + case "replyAll": + result |= REPLYALL_USAGERIGHTS + case "view": + result |= VIEW_USAGERIGHTS + case "extract": + result |= EXTRACT_USAGERIGHTS + case "viewRightsData": + result |= VIEWRIGHTSDATA_USAGERIGHTS + case "editRightsData": + result |= EDITRIGHTSDATA_USAGERIGHTS + case "objModel": + result |= OBJMODEL_USAGERIGHTS + case "accessDenied": + result |= ACCESSDENIED_USAGERIGHTS + case "userDefinedProtectionTypeNotSupportedException": + result |= USERDEFINEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS + case "encryptedProtectionTypeNotSupportedException": + result |= ENCRYPTEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS + case "purviewClaimsChallengeNotSupportedException": + result |= PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS + case "exception": + result |= EXCEPTION_USAGERIGHTS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_USAGERIGHTS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeUsageRights(values []UsageRights) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i UsageRights) isMultiValue() bool { + return true +} diff --git a/models/usage_rights_included.go b/models/usage_rights_included.go new file mode 100644 index 00000000000..d762b2a10a2 --- /dev/null +++ b/models/usage_rights_included.go @@ -0,0 +1,154 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UsageRightsIncluded struct { + Entity +} +// NewUsageRightsIncluded instantiates a new UsageRightsIncluded and sets the default values. +func NewUsageRightsIncluded()(*UsageRightsIncluded) { + m := &UsageRightsIncluded{ + Entity: *NewEntity(), + } + return m +} +// CreateUsageRightsIncludedFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUsageRightsIncludedFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUsageRightsIncluded(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UsageRightsIncluded) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["ownerEmail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOwnerEmail(val) + } + return nil + } + res["userEmail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserEmail(val) + } + return nil + } + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseUsageRights) + if err != nil { + return err + } + if val != nil { + m.SetValue(val.(*UsageRights)) + } + return nil + } + return res +} +// GetOwnerEmail gets the ownerEmail property value. The email of owner label rights. +// returns a *string when successful +func (m *UsageRightsIncluded) GetOwnerEmail()(*string) { + val, err := m.GetBackingStore().Get("ownerEmail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserEmail gets the userEmail property value. The email of user with label user rights. +// returns a *string when successful +func (m *UsageRightsIncluded) GetUserEmail()(*string) { + val, err := m.GetBackingStore().Get("userEmail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. The value property +// returns a *UsageRights when successful +func (m *UsageRightsIncluded) GetValue()(*UsageRights) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*UsageRights) + } + return nil +} +// Serialize serializes information the current object +func (m *UsageRightsIncluded) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("ownerEmail", m.GetOwnerEmail()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userEmail", m.GetUserEmail()) + if err != nil { + return err + } + } + if m.GetValue() != nil { + cast := (*m.GetValue()).String() + err = writer.WriteStringValue("value", &cast) + if err != nil { + return err + } + } + return nil +} +// SetOwnerEmail sets the ownerEmail property value. The email of owner label rights. +func (m *UsageRightsIncluded) SetOwnerEmail(value *string)() { + err := m.GetBackingStore().Set("ownerEmail", value) + if err != nil { + panic(err) + } +} +// SetUserEmail sets the userEmail property value. The email of user with label user rights. +func (m *UsageRightsIncluded) SetUserEmail(value *string)() { + err := m.GetBackingStore().Set("userEmail", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. The value property +func (m *UsageRightsIncluded) SetValue(value *UsageRights)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type UsageRightsIncludedable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetOwnerEmail()(*string) + GetUserEmail()(*string) + GetValue()(*UsageRights) + SetOwnerEmail(value *string)() + SetUserEmail(value *string)() + SetValue(value *UsageRights)() +} diff --git a/models/user.go b/models/user.go index 082dda5f9dd..89918d7ab84 100644 --- a/models/user.go +++ b/models/user.go @@ -362,6 +362,18 @@ func (m *User) GetCustomSecurityAttributes()(CustomSecurityAttributeValueable) { } return nil } +// GetDataSecurityAndGovernance gets the dataSecurityAndGovernance property value. The data security and governance settings for the user. Read-only. Nullable. +// returns a UserDataSecurityAndGovernanceable when successful +func (m *User) GetDataSecurityAndGovernance()(UserDataSecurityAndGovernanceable) { + val, err := m.GetBackingStore().Get("dataSecurityAndGovernance") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserDataSecurityAndGovernanceable) + } + return nil +} // GetDepartment gets the department property value. The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). // returns a *string when successful func (m *User) GetDepartment()(*string) { @@ -940,6 +952,16 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["dataSecurityAndGovernance"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserDataSecurityAndGovernanceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDataSecurityAndGovernance(val.(UserDataSecurityAndGovernanceable)) + } + return nil + } res["department"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -3416,6 +3438,12 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteObjectValue("dataSecurityAndGovernance", m.GetDataSecurityAndGovernance()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("department", m.GetDepartment()) if err != nil { @@ -4394,6 +4422,13 @@ func (m *User) SetCustomSecurityAttributes(value CustomSecurityAttributeValueabl panic(err) } } +// SetDataSecurityAndGovernance sets the dataSecurityAndGovernance property value. The data security and governance settings for the user. Read-only. Nullable. +func (m *User) SetDataSecurityAndGovernance(value UserDataSecurityAndGovernanceable)() { + err := m.GetBackingStore().Set("dataSecurityAndGovernance", value) + if err != nil { + panic(err) + } +} // SetDepartment sets the department property value. The name of the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values). func (m *User) SetDepartment(value *string)() { err := m.GetBackingStore().Set("department", value) @@ -5132,6 +5167,7 @@ type Userable interface { GetCreatedObjects()([]DirectoryObjectable) GetCreationType()(*string) GetCustomSecurityAttributes()(CustomSecurityAttributeValueable) + GetDataSecurityAndGovernance()(UserDataSecurityAndGovernanceable) GetDepartment()(*string) GetDeviceEnrollmentLimit()(*int32) GetDeviceManagementTroubleshootingEvents()([]DeviceManagementTroubleshootingEventable) @@ -5261,6 +5297,7 @@ type Userable interface { SetCreatedObjects(value []DirectoryObjectable)() SetCreationType(value *string)() SetCustomSecurityAttributes(value CustomSecurityAttributeValueable)() + SetDataSecurityAndGovernance(value UserDataSecurityAndGovernanceable)() SetDepartment(value *string)() SetDeviceEnrollmentLimit(value *int32)() SetDeviceManagementTroubleshootingEvents(value []DeviceManagementTroubleshootingEventable)() diff --git a/models/user_activity_type.go b/models/user_activity_type.go new file mode 100644 index 00000000000..ef96aaca7be --- /dev/null +++ b/models/user_activity_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type UserActivityType int + +const ( + UPLOADTEXT_USERACTIVITYTYPE UserActivityType = iota + UPLOADFILE_USERACTIVITYTYPE + DOWNLOADTEXT_USERACTIVITYTYPE + DOWNLOADFILE_USERACTIVITYTYPE + UNKNOWNFUTUREVALUE_USERACTIVITYTYPE +) + +func (i UserActivityType) String() string { + return []string{"uploadText", "uploadFile", "downloadText", "downloadFile", "unknownFutureValue"}[i] +} +func ParseUserActivityType(v string) (any, error) { + result := UPLOADTEXT_USERACTIVITYTYPE + switch v { + case "uploadText": + result = UPLOADTEXT_USERACTIVITYTYPE + case "uploadFile": + result = UPLOADFILE_USERACTIVITYTYPE + case "downloadText": + result = DOWNLOADTEXT_USERACTIVITYTYPE + case "downloadFile": + result = DOWNLOADFILE_USERACTIVITYTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_USERACTIVITYTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeUserActivityType(values []UserActivityType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i UserActivityType) isMultiValue() bool { + return false +} diff --git a/models/user_activity_types.go b/models/user_activity_types.go new file mode 100644 index 00000000000..fafb55f02de --- /dev/null +++ b/models/user_activity_types.go @@ -0,0 +1,63 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +import ( + "math" + "strings" +) +type UserActivityTypes int + +const ( + NONE_USERACTIVITYTYPES = 1 + UPLOADTEXT_USERACTIVITYTYPES = 2 + UPLOADFILE_USERACTIVITYTYPES = 4 + DOWNLOADTEXT_USERACTIVITYTYPES = 8 + DOWNLOADFILE_USERACTIVITYTYPES = 16 + UNKNOWNFUTUREVALUE_USERACTIVITYTYPES = 32 +) + +func (i UserActivityTypes) String() string { + var values []string + options := []string{"none", "uploadText", "uploadFile", "downloadText", "downloadFile", "unknownFutureValue"} + for p := 0; p < 6; p++ { + mantis := UserActivityTypes(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseUserActivityTypes(v string) (any, error) { + var result UserActivityTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_USERACTIVITYTYPES + case "uploadText": + result |= UPLOADTEXT_USERACTIVITYTYPES + case "uploadFile": + result |= UPLOADFILE_USERACTIVITYTYPES + case "downloadText": + result |= DOWNLOADTEXT_USERACTIVITYTYPES + case "downloadFile": + result |= DOWNLOADFILE_USERACTIVITYTYPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_USERACTIVITYTYPES + default: + return nil, nil + } + } + return &result, nil +} +func SerializeUserActivityTypes(values []UserActivityTypes) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i UserActivityTypes) isMultiValue() bool { + return true +} diff --git a/models/user_data_security_and_governance.go b/models/user_data_security_and_governance.go new file mode 100644 index 00000000000..3bd9c428b31 --- /dev/null +++ b/models/user_data_security_and_governance.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UserDataSecurityAndGovernance struct { + DataSecurityAndGovernance +} +// NewUserDataSecurityAndGovernance instantiates a new UserDataSecurityAndGovernance and sets the default values. +func NewUserDataSecurityAndGovernance()(*UserDataSecurityAndGovernance) { + m := &UserDataSecurityAndGovernance{ + DataSecurityAndGovernance: *NewDataSecurityAndGovernance(), + } + odataTypeValue := "#microsoft.graph.userDataSecurityAndGovernance" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserDataSecurityAndGovernanceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserDataSecurityAndGovernanceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserDataSecurityAndGovernance(), nil +} +// GetActivities gets the activities property value. Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +// returns a ActivitiesContainerable when successful +func (m *UserDataSecurityAndGovernance) GetActivities()(ActivitiesContainerable) { + val, err := m.GetBackingStore().Get("activities") + if err != nil { + panic(err) + } + if val != nil { + return val.(ActivitiesContainerable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserDataSecurityAndGovernance) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DataSecurityAndGovernance.GetFieldDeserializers() + res["activities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateActivitiesContainerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetActivities(val.(ActivitiesContainerable)) + } + return nil + } + res["protectionScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserProtectionScopeContainerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetProtectionScopes(val.(UserProtectionScopeContainerable)) + } + return nil + } + return res +} +// GetProtectionScopes gets the protectionScopes property value. The protectionScopes property +// returns a UserProtectionScopeContainerable when successful +func (m *UserDataSecurityAndGovernance) GetProtectionScopes()(UserProtectionScopeContainerable) { + val, err := m.GetBackingStore().Get("protectionScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserProtectionScopeContainerable) + } + return nil +} +// Serialize serializes information the current object +func (m *UserDataSecurityAndGovernance) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DataSecurityAndGovernance.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("activities", m.GetActivities()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("protectionScopes", m.GetProtectionScopes()) + if err != nil { + return err + } + } + return nil +} +// SetActivities sets the activities property value. Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +func (m *UserDataSecurityAndGovernance) SetActivities(value ActivitiesContainerable)() { + err := m.GetBackingStore().Set("activities", value) + if err != nil { + panic(err) + } +} +// SetProtectionScopes sets the protectionScopes property value. The protectionScopes property +func (m *UserDataSecurityAndGovernance) SetProtectionScopes(value UserProtectionScopeContainerable)() { + err := m.GetBackingStore().Set("protectionScopes", value) + if err != nil { + panic(err) + } +} +type UserDataSecurityAndGovernanceable interface { + DataSecurityAndGovernanceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivities()(ActivitiesContainerable) + GetProtectionScopes()(UserProtectionScopeContainerable) + SetActivities(value ActivitiesContainerable)() + SetProtectionScopes(value UserProtectionScopeContainerable)() +} diff --git a/models/user_protection_scope_container.go b/models/user_protection_scope_container.go new file mode 100644 index 00000000000..cde9173aa87 --- /dev/null +++ b/models/user_protection_scope_container.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UserProtectionScopeContainer struct { + Entity +} +// NewUserProtectionScopeContainer instantiates a new UserProtectionScopeContainer and sets the default values. +func NewUserProtectionScopeContainer()(*UserProtectionScopeContainer) { + m := &UserProtectionScopeContainer{ + Entity: *NewEntity(), + } + return m +} +// CreateUserProtectionScopeContainerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserProtectionScopeContainerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserProtectionScopeContainer(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserProtectionScopeContainer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *UserProtectionScopeContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type UserProtectionScopeContainerable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/user_scope.go b/models/user_scope.go new file mode 100644 index 00000000000..4cfb1e71413 --- /dev/null +++ b/models/user_scope.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UserScope struct { + ScopeBase +} +// NewUserScope instantiates a new UserScope and sets the default values. +func NewUserScope()(*UserScope) { + m := &UserScope{ + ScopeBase: *NewScopeBase(), + } + odataTypeValue := "#microsoft.graph.userScope" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserScope(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ScopeBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *UserScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ScopeBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type UserScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ScopeBaseable +} diff --git a/models/workbook_worksheet_protection_options.go b/models/workbook_worksheet_protection_options.go index 37f42642239..1847a8af65b 100644 --- a/models/workbook_worksheet_protection_options.go +++ b/models/workbook_worksheet_protection_options.go @@ -38,7 +38,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAdditionalData()(map[string]any) } return val.(map[string]any) } -// GetAllowAutoFilter gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. +// GetAllowAutoFilter gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { val, err := m.GetBackingStore().Get("allowAutoFilter") @@ -50,7 +50,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowAutoFilter()(*bool) { } return nil } -// GetAllowDeleteColumns gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. +// GetAllowDeleteColumns gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteColumns") @@ -62,7 +62,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteColumns()(*bool) { } return nil } -// GetAllowDeleteRows gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. +// GetAllowDeleteRows gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { val, err := m.GetBackingStore().Get("allowDeleteRows") @@ -74,7 +74,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowDeleteRows()(*bool) { } return nil } -// GetAllowFormatCells gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. +// GetAllowFormatCells gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { val, err := m.GetBackingStore().Get("allowFormatCells") @@ -86,7 +86,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatCells()(*bool) { } return nil } -// GetAllowFormatColumns gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. +// GetAllowFormatColumns gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { val, err := m.GetBackingStore().Get("allowFormatColumns") @@ -98,7 +98,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatColumns()(*bool) { } return nil } -// GetAllowFormatRows gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. +// GetAllowFormatRows gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { val, err := m.GetBackingStore().Get("allowFormatRows") @@ -110,7 +110,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowFormatRows()(*bool) { } return nil } -// GetAllowInsertColumns gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. +// GetAllowInsertColumns gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { val, err := m.GetBackingStore().Get("allowInsertColumns") @@ -122,7 +122,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertColumns()(*bool) { } return nil } -// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. +// GetAllowInsertHyperlinks gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { val, err := m.GetBackingStore().Get("allowInsertHyperlinks") @@ -134,7 +134,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertHyperlinks()(*bool) { } return nil } -// GetAllowInsertRows gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. +// GetAllowInsertRows gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { val, err := m.GetBackingStore().Get("allowInsertRows") @@ -146,7 +146,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowInsertRows()(*bool) { } return nil } -// GetAllowPivotTables gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. +// GetAllowPivotTables gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { val, err := m.GetBackingStore().Get("allowPivotTables") @@ -158,7 +158,7 @@ func (m *WorkbookWorksheetProtectionOptions) GetAllowPivotTables()(*bool) { } return nil } -// GetAllowSort gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. +// GetAllowSort gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. // returns a *bool when successful func (m *WorkbookWorksheetProtectionOptions) GetAllowSort()(*bool) { val, err := m.GetBackingStore().Get("allowSort") @@ -402,77 +402,77 @@ func (m *WorkbookWorksheetProtectionOptions) SetAdditionalData(value map[string] panic(err) } } -// SetAllowAutoFilter sets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. +// SetAllowAutoFilter sets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowAutoFilter(value *bool)() { err := m.GetBackingStore().Set("allowAutoFilter", value) if err != nil { panic(err) } } -// SetAllowDeleteColumns sets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. +// SetAllowDeleteColumns sets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteColumns(value *bool)() { err := m.GetBackingStore().Set("allowDeleteColumns", value) if err != nil { panic(err) } } -// SetAllowDeleteRows sets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. +// SetAllowDeleteRows sets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowDeleteRows(value *bool)() { err := m.GetBackingStore().Set("allowDeleteRows", value) if err != nil { panic(err) } } -// SetAllowFormatCells sets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. +// SetAllowFormatCells sets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatCells(value *bool)() { err := m.GetBackingStore().Set("allowFormatCells", value) if err != nil { panic(err) } } -// SetAllowFormatColumns sets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. +// SetAllowFormatColumns sets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatColumns(value *bool)() { err := m.GetBackingStore().Set("allowFormatColumns", value) if err != nil { panic(err) } } -// SetAllowFormatRows sets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. +// SetAllowFormatRows sets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowFormatRows(value *bool)() { err := m.GetBackingStore().Set("allowFormatRows", value) if err != nil { panic(err) } } -// SetAllowInsertColumns sets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. +// SetAllowInsertColumns sets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertColumns(value *bool)() { err := m.GetBackingStore().Set("allowInsertColumns", value) if err != nil { panic(err) } } -// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. +// SetAllowInsertHyperlinks sets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertHyperlinks(value *bool)() { err := m.GetBackingStore().Set("allowInsertHyperlinks", value) if err != nil { panic(err) } } -// SetAllowInsertRows sets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. +// SetAllowInsertRows sets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowInsertRows(value *bool)() { err := m.GetBackingStore().Set("allowInsertRows", value) if err != nil { panic(err) } } -// SetAllowPivotTables sets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. +// SetAllowPivotTables sets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowPivotTables(value *bool)() { err := m.GetBackingStore().Set("allowPivotTables", value) if err != nil { panic(err) } } -// SetAllowSort sets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. +// SetAllowSort sets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. func (m *WorkbookWorksheetProtectionOptions) SetAllowSort(value *bool)() { err := m.GetBackingStore().Set("allowSort", value) if err != nil { diff --git a/organization/get_available_extension_properties_request_builder.go b/organization/get_available_extension_properties_request_builder.go index a731d18a02e..56146372dd6 100644 --- a/organization/get_available_extension_properties_request_builder.go +++ b/organization/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index a5e286c7aad..33f812a4ab2 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -21,7 +21,7 @@ type OrganizationItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OrganizationItemRequestBuilderGetQueryParameters get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. +// OrganizationItemRequestBuilderGetQueryParameters read properties and relationships of the organization object. type OrganizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *OrganizationItemRequestBuilder) Delete(ctx context.Context, requestConf func (m *OrganizationItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { return NewItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. +// Get read properties and relationships of the organization object. // returns a Organizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 func (m *OrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -175,7 +175,7 @@ func (m *OrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. +// ToGetRequestInformation read properties and relationships of the organization object. // returns a *RequestInformation when successful func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_request_builder.go b/organization/organization_request_builder.go index 36348bed2fa..e6a4487f00c 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -14,7 +14,7 @@ import ( type OrganizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OrganizationRequestBuilderGetQueryParameters list properties and relationships of the organization objects. +// OrganizationRequestBuilderGetQueryParameters retrieve a list of organization objects. There's only one organization object in the collection. type OrganizationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,12 +84,12 @@ func (m *OrganizationRequestBuilder) Count()(*CountRequestBuilder) { func (m *OrganizationRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the organization objects. +// Get retrieve a list of organization objects. There's only one organization object in the collection. // returns a OrganizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 func (m *OrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OrganizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -137,7 +137,7 @@ func (m *OrganizationRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Organizationable), nil } -// ToGetRequestInformation list properties and relationships of the organization objects. +// ToGetRequestInformation retrieve a list of organization objects. There's only one organization object in the collection. // returns a *RequestInformation when successful func (m *OrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/permissiongrants/get_available_extension_properties_request_builder.go b/permissiongrants/get_available_extension_properties_request_builder.go index 9322fc8d957..1d7d19d3910 100644 --- a/permissiongrants/get_available_extension_properties_request_builder.go +++ b/permissiongrants/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index 4057a303844..e2e95df2c24 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -99,12 +99,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(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 { @@ -147,7 +147,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/security/data_security_and_governance_process_content_async_post_request_body.go b/security/data_security_and_governance_process_content_async_post_request_body.go new file mode 100644 index 00000000000..5997e7e9911 --- /dev/null +++ b/security/data_security_and_governance_process_content_async_post_request_body.go @@ -0,0 +1,129 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DataSecurityAndGovernanceProcessContentAsyncPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDataSecurityAndGovernanceProcessContentAsyncPostRequestBody instantiates a new DataSecurityAndGovernanceProcessContentAsyncPostRequestBody and sets the default values. +func NewDataSecurityAndGovernanceProcessContentAsyncPostRequestBody()(*DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) { + m := &DataSecurityAndGovernanceProcessContentAsyncPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDataSecurityAndGovernanceProcessContentAsyncPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProcessContentAsyncPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProcessContentAsyncPostRequestBody(), 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 *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) 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 *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) 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 *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["processContentRequests"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProcessContentBatchRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable) + } + } + m.SetProcessContentRequests(res) + } + return nil + } + return res +} +// GetProcessContentRequests gets the processContentRequests property value. The processContentRequests property +// returns a []ProcessContentBatchRequestable when successful +func (m *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) GetProcessContentRequests()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable) { + val, err := m.GetBackingStore().Get("processContentRequests") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable) + } + return nil +} +// Serialize serializes information the current object +func (m *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetProcessContentRequests() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProcessContentRequests())) + for i, v := range m.GetProcessContentRequests() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("processContentRequests", cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) 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 *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetProcessContentRequests sets the processContentRequests property value. The processContentRequests property +func (m *DataSecurityAndGovernanceProcessContentAsyncPostRequestBody) SetProcessContentRequests(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable)() { + err := m.GetBackingStore().Set("processContentRequests", value) + if err != nil { + panic(err) + } +} +type DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetProcessContentRequests()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetProcessContentRequests(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentBatchRequestable)() +} diff --git a/security/data_security_and_governance_process_content_async_post_response.go b/security/data_security_and_governance_process_content_async_post_response.go new file mode 100644 index 00000000000..6a1bc581266 --- /dev/null +++ b/security/data_security_and_governance_process_content_async_post_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type DataSecurityAndGovernanceProcessContentAsyncPostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewDataSecurityAndGovernanceProcessContentAsyncPostResponse instantiates a new DataSecurityAndGovernanceProcessContentAsyncPostResponse and sets the default values. +func NewDataSecurityAndGovernanceProcessContentAsyncPostResponse()(*DataSecurityAndGovernanceProcessContentAsyncPostResponse) { + m := &DataSecurityAndGovernanceProcessContentAsyncPostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDataSecurityAndGovernanceProcessContentAsyncPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProcessContentAsyncPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProcessContentAsyncPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataSecurityAndGovernanceProcessContentAsyncPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProcessContentResponsesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ProcessContentResponsesable when successful +func (m *DataSecurityAndGovernanceProcessContentAsyncPostResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable) + } + return nil +} +// Serialize serializes information the current object +func (m *DataSecurityAndGovernanceProcessContentAsyncPostResponse) 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 *DataSecurityAndGovernanceProcessContentAsyncPostResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DataSecurityAndGovernanceProcessContentAsyncPostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponsesable)() +} diff --git a/security/data_security_and_governance_process_content_async_request_builder.go b/security/data_security_and_governance_process_content_async_request_builder.go new file mode 100644 index 00000000000..23d995809cb --- /dev/null +++ b/security/data_security_and_governance_process_content_async_request_builder.go @@ -0,0 +1,96 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DataSecurityAndGovernanceProcessContentAsyncRequestBuilder provides operations to call the processContentAsync method. +type DataSecurityAndGovernanceProcessContentAsyncRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilderInternal instantiates a new DataSecurityAndGovernanceProcessContentAsyncRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) { + m := &DataSecurityAndGovernanceProcessContentAsyncRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/processContentAsync", pathParameters), + } + return m +} +// NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilder instantiates a new DataSecurityAndGovernanceProcessContentAsyncRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action processContentAsync +// Deprecated: This method is obsolete. Use PostAsProcessContentAsyncPostResponse instead. +// returns a DataSecurityAndGovernanceProcessContentAsyncResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) Post(ctx context.Context, body DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration)(DataSecurityAndGovernanceProcessContentAsyncResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDataSecurityAndGovernanceProcessContentAsyncResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataSecurityAndGovernanceProcessContentAsyncResponseable), nil +} +// PostAsProcessContentAsyncPostResponse invoke action processContentAsync +// returns a DataSecurityAndGovernanceProcessContentAsyncPostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) PostAsProcessContentAsyncPostResponse(ctx context.Context, body DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration)(DataSecurityAndGovernanceProcessContentAsyncPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDataSecurityAndGovernanceProcessContentAsyncPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataSecurityAndGovernanceProcessContentAsyncPostResponseable), nil +} +// ToPostRequestInformation invoke action processContentAsync +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) ToPostRequestInformation(ctx context.Context, body DataSecurityAndGovernanceProcessContentAsyncPostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProcessContentAsyncRequestBuilderPostRequestConfiguration)(*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 *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder when successful +func (m *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) WithUrl(rawUrl string)(*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) { + return NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_security_and_governance_process_content_async_response.go b/security/data_security_and_governance_process_content_async_response.go new file mode 100644 index 00000000000..be7954410bf --- /dev/null +++ b/security/data_security_and_governance_process_content_async_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use DataSecurityAndGovernanceProcessContentAsyncPostResponseable instead. +type DataSecurityAndGovernanceProcessContentAsyncResponse struct { + DataSecurityAndGovernanceProcessContentAsyncPostResponse +} +// NewDataSecurityAndGovernanceProcessContentAsyncResponse instantiates a new DataSecurityAndGovernanceProcessContentAsyncResponse and sets the default values. +func NewDataSecurityAndGovernanceProcessContentAsyncResponse()(*DataSecurityAndGovernanceProcessContentAsyncResponse) { + m := &DataSecurityAndGovernanceProcessContentAsyncResponse{ + DataSecurityAndGovernanceProcessContentAsyncPostResponse: *NewDataSecurityAndGovernanceProcessContentAsyncPostResponse(), + } + return m +} +// CreateDataSecurityAndGovernanceProcessContentAsyncResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProcessContentAsyncResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProcessContentAsyncResponse(), nil +} +// Deprecated: This class is obsolete. Use DataSecurityAndGovernanceProcessContentAsyncPostResponseable instead. +type DataSecurityAndGovernanceProcessContentAsyncResponseable interface { + DataSecurityAndGovernanceProcessContentAsyncPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/security/data_security_and_governance_protection_scopes_compute_post_request_body.go b/security/data_security_and_governance_protection_scopes_compute_post_request_body.go new file mode 100644 index 00000000000..ba73fd90450 --- /dev/null +++ b/security/data_security_and_governance_protection_scopes_compute_post_request_body.go @@ -0,0 +1,279 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DataSecurityAndGovernanceProtectionScopesComputePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDataSecurityAndGovernanceProtectionScopesComputePostRequestBody instantiates a new DataSecurityAndGovernanceProtectionScopesComputePostRequestBody and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesComputePostRequestBody()(*DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) { + m := &DataSecurityAndGovernanceProtectionScopesComputePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProtectionScopesComputePostRequestBody(), nil +} +// GetActivities gets the activities property value. The activities property +// returns a *UserActivityTypes when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetActivities()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) { + val, err := m.GetBackingStore().Get("activities") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) 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 *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDeviceMetadata gets the deviceMetadata property value. The deviceMetadata property +// returns a DeviceMetadataable when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetDeviceMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) { + val, err := m.GetBackingStore().Get("deviceMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseUserActivityTypes) + if err != nil { + return err + } + if val != nil { + m.SetActivities(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)) + } + return nil + } + res["deviceMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeviceMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeviceMetadata(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)) + } + return nil + } + res["integratedAppMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateIntegratedApplicationMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIntegratedAppMetadata(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)) + } + return nil + } + res["locations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePolicyLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + } + } + m.SetLocations(res) + } + return nil + } + res["pivotOn"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParsePolicyPivotProperty) + if err != nil { + return err + } + if val != nil { + m.SetPivotOn(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)) + } + return nil + } + return res +} +// GetIntegratedAppMetadata gets the integratedAppMetadata property value. The integratedAppMetadata property +// returns a IntegratedApplicationMetadataable when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetIntegratedAppMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) { + val, err := m.GetBackingStore().Get("integratedAppMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) + } + return nil +} +// GetLocations gets the locations property value. The locations property +// returns a []PolicyLocationable when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetLocations()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) { + val, err := m.GetBackingStore().Get("locations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + } + return nil +} +// GetPivotOn gets the pivotOn property value. The pivotOn property +// returns a *PolicyPivotProperty when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetPivotOn()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) { + val, err := m.GetBackingStore().Get("pivotOn") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) + } + return nil +} +// Serialize serializes information the current object +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetActivities() != nil { + cast := (*m.GetActivities()).String() + err := writer.WriteStringValue("activities", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("deviceMetadata", m.GetDeviceMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("integratedAppMetadata", m.GetIntegratedAppMetadata()) + if err != nil { + return err + } + } + if m.GetLocations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLocations())) + for i, v := range m.GetLocations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("locations", cast) + if err != nil { + return err + } + } + if m.GetPivotOn() != nil { + cast := (*m.GetPivotOn()).String() + err := writer.WriteStringValue("pivotOn", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActivities sets the activities property value. The activities property +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetActivities(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)() { + err := m.GetBackingStore().Set("activities", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) 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 *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDeviceMetadata sets the deviceMetadata property value. The deviceMetadata property +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetDeviceMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)() { + err := m.GetBackingStore().Set("deviceMetadata", value) + if err != nil { + panic(err) + } +} +// SetIntegratedAppMetadata sets the integratedAppMetadata property value. The integratedAppMetadata property +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetIntegratedAppMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)() { + err := m.GetBackingStore().Set("integratedAppMetadata", value) + if err != nil { + panic(err) + } +} +// SetLocations sets the locations property value. The locations property +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetLocations(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable)() { + err := m.GetBackingStore().Set("locations", value) + if err != nil { + panic(err) + } +} +// SetPivotOn sets the pivotOn property value. The pivotOn property +func (m *DataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetPivotOn(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)() { + err := m.GetBackingStore().Set("pivotOn", value) + if err != nil { + panic(err) + } +} +type DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivities()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDeviceMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) + GetIntegratedAppMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) + GetLocations()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + GetPivotOn()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) + SetActivities(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDeviceMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)() + SetIntegratedAppMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)() + SetLocations(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable)() + SetPivotOn(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)() +} diff --git a/security/data_security_and_governance_protection_scopes_compute_post_response.go b/security/data_security_and_governance_protection_scopes_compute_post_response.go new file mode 100644 index 00000000000..3abf10040a1 --- /dev/null +++ b/security/data_security_and_governance_protection_scopes_compute_post_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type DataSecurityAndGovernanceProtectionScopesComputePostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewDataSecurityAndGovernanceProtectionScopesComputePostResponse instantiates a new DataSecurityAndGovernanceProtectionScopesComputePostResponse and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesComputePostResponse()(*DataSecurityAndGovernanceProtectionScopesComputePostResponse) { + m := &DataSecurityAndGovernanceProtectionScopesComputePostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProtectionScopesComputePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePolicyTenantScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PolicyTenantScopeable when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputePostResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable) + } + return nil +} +// Serialize serializes information the current object +func (m *DataSecurityAndGovernanceProtectionScopesComputePostResponse) 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 *DataSecurityAndGovernanceProtectionScopesComputePostResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DataSecurityAndGovernanceProtectionScopesComputePostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyTenantScopeable)() +} diff --git a/security/data_security_and_governance_protection_scopes_compute_request_builder.go b/security/data_security_and_governance_protection_scopes_compute_request_builder.go new file mode 100644 index 00000000000..9e4b4cd6e84 --- /dev/null +++ b/security/data_security_and_governance_protection_scopes_compute_request_builder.go @@ -0,0 +1,96 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder provides operations to call the compute method. +type DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal instantiates a new DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + m := &DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes/compute", pathParameters), + } + return m +} +// NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder instantiates a new DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action compute +// Deprecated: This method is obsolete. Use PostAsComputePostResponse instead. +// returns a DataSecurityAndGovernanceProtectionScopesComputeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) Post(ctx context.Context, body DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(DataSecurityAndGovernanceProtectionScopesComputeResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataSecurityAndGovernanceProtectionScopesComputeResponseable), nil +} +// PostAsComputePostResponse invoke action compute +// returns a DataSecurityAndGovernanceProtectionScopesComputePostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) PostAsComputePostResponse(ctx context.Context, body DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(DataSecurityAndGovernanceProtectionScopesComputePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataSecurityAndGovernanceProtectionScopesComputePostResponseable), nil +} +// ToPostRequestInformation invoke action compute +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) ToPostRequestInformation(ctx context.Context, body DataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(*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 *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder when successful +func (m *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) WithUrl(rawUrl string)(*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + return NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_security_and_governance_protection_scopes_compute_response.go b/security/data_security_and_governance_protection_scopes_compute_response.go new file mode 100644 index 00000000000..70031ffc6f0 --- /dev/null +++ b/security/data_security_and_governance_protection_scopes_compute_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use DataSecurityAndGovernanceProtectionScopesComputePostResponseable instead. +type DataSecurityAndGovernanceProtectionScopesComputeResponse struct { + DataSecurityAndGovernanceProtectionScopesComputePostResponse +} +// NewDataSecurityAndGovernanceProtectionScopesComputeResponse instantiates a new DataSecurityAndGovernanceProtectionScopesComputeResponse and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesComputeResponse()(*DataSecurityAndGovernanceProtectionScopesComputeResponse) { + m := &DataSecurityAndGovernanceProtectionScopesComputeResponse{ + DataSecurityAndGovernanceProtectionScopesComputePostResponse: *NewDataSecurityAndGovernanceProtectionScopesComputePostResponse(), + } + return m +} +// CreateDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataSecurityAndGovernanceProtectionScopesComputeResponse(), nil +} +// Deprecated: This class is obsolete. Use DataSecurityAndGovernanceProtectionScopesComputePostResponseable instead. +type DataSecurityAndGovernanceProtectionScopesComputeResponseable interface { + DataSecurityAndGovernanceProtectionScopesComputePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/security/data_security_and_governance_protection_scopes_request_builder.go b/security/data_security_and_governance_protection_scopes_request_builder.go new file mode 100644 index 00000000000..929d42531c6 --- /dev/null +++ b/security/data_security_and_governance_protection_scopes_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DataSecurityAndGovernanceProtectionScopesRequestBuilder provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. +type DataSecurityAndGovernanceProtectionScopesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters container for actions related to computing tenant-wide data protection scopes. +type DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters +} +// DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Compute provides operations to call the compute method. +// returns a *DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder when successful +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) Compute()(*DataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + return NewDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal instantiates a new DataSecurityAndGovernanceProtectionScopesRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProtectionScopesRequestBuilder) { + m := &DataSecurityAndGovernanceProtectionScopesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDataSecurityAndGovernanceProtectionScopesRequestBuilder instantiates a new DataSecurityAndGovernanceProtectionScopesRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceProtectionScopesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceProtectionScopesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property protectionScopes for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) Delete(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get container for actions related to computing tenant-wide data protection scopes. +// returns a TenantProtectionScopeContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTenantProtectionScopeContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable), nil +} +// Patch update the navigation property protectionScopes in security +// returns a TenantProtectionScopeContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTenantProtectionScopeContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable), nil +} +// ToDeleteRequestInformation delete navigation property protectionScopes for security +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation container for actions related to computing tenant-wide data protection scopes. +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property protectionScopes in security +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantProtectionScopeContainerable, requestConfiguration *DataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *DataSecurityAndGovernanceProtectionScopesRequestBuilder when successful +func (m *DataSecurityAndGovernanceProtectionScopesRequestBuilder) WithUrl(rawUrl string)(*DataSecurityAndGovernanceProtectionScopesRequestBuilder) { + return NewDataSecurityAndGovernanceProtectionScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_security_and_governance_request_builder.go b/security/data_security_and_governance_request_builder.go new file mode 100644 index 00000000000..1e1bbc7f326 --- /dev/null +++ b/security/data_security_and_governance_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DataSecurityAndGovernanceRequestBuilder provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. +type DataSecurityAndGovernanceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DataSecurityAndGovernanceRequestBuilderGetQueryParameters get dataSecurityAndGovernance from security +type DataSecurityAndGovernanceRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataSecurityAndGovernanceRequestBuilderGetQueryParameters +} +// DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDataSecurityAndGovernanceRequestBuilderInternal instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceRequestBuilder) { + m := &DataSecurityAndGovernanceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataSecurityAndGovernance{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDataSecurityAndGovernanceRequestBuilder instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. +func NewDataSecurityAndGovernanceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataSecurityAndGovernanceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataSecurityAndGovernanceRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dataSecurityAndGovernance for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceRequestBuilder) Delete(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dataSecurityAndGovernance from security +// returns a TenantDataSecurityAndGovernanceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceRequestBuilder) Get(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTenantDataSecurityAndGovernanceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable), nil +} +// Patch update the navigation property dataSecurityAndGovernance in security +// returns a TenantDataSecurityAndGovernanceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataSecurityAndGovernanceRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable, requestConfiguration *DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTenantDataSecurityAndGovernanceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable), nil +} +// ProcessContentAsync provides operations to call the processContentAsync method. +// returns a *DataSecurityAndGovernanceProcessContentAsyncRequestBuilder when successful +func (m *DataSecurityAndGovernanceRequestBuilder) ProcessContentAsync()(*DataSecurityAndGovernanceProcessContentAsyncRequestBuilder) { + return NewDataSecurityAndGovernanceProcessContentAsyncRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ProtectionScopes provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. +// returns a *DataSecurityAndGovernanceProtectionScopesRequestBuilder when successful +func (m *DataSecurityAndGovernanceRequestBuilder) ProtectionScopes()(*DataSecurityAndGovernanceProtectionScopesRequestBuilder) { + return NewDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property dataSecurityAndGovernance for security +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get dataSecurityAndGovernance from security +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dataSecurityAndGovernance in security +// returns a *RequestInformation when successful +func (m *DataSecurityAndGovernanceRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TenantDataSecurityAndGovernanceable, requestConfiguration *DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *DataSecurityAndGovernanceRequestBuilder when successful +func (m *DataSecurityAndGovernanceRequestBuilder) WithUrl(rawUrl string)(*DataSecurityAndGovernanceRequestBuilder) { + return NewDataSecurityAndGovernanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_request_builder.go b/security/security_request_builder.go index 3e3553e5812..fca06b79971 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -70,6 +70,11 @@ func NewSecurityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 urlParams["request-raw-url"] = rawUrl return NewSecurityRequestBuilderInternal(urlParams, requestAdapter) } +// DataSecurityAndGovernance provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. +// returns a *DataSecurityAndGovernanceRequestBuilder when successful +func (m *SecurityRequestBuilder) DataSecurityAndGovernance()(*DataSecurityAndGovernanceRequestBuilder) { + return NewDataSecurityAndGovernanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get security // returns a Securityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/serviceprincipals/get_available_extension_properties_request_builder.go b/serviceprincipals/get_available_extension_properties_request_builder.go index 14b2f918729..d0a06f1b568 100644 --- a/serviceprincipals/get_available_extension_properties_request_builder.go +++ b/serviceprincipals/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_add_key_request_builder.go b/serviceprincipals/item_add_key_request_builder.go index 731c8ec8e35..4dd30c55b0c 100644 --- a/serviceprincipals/item_add_key_request_builder.go +++ b/serviceprincipals/item_add_key_request_builder.go @@ -34,7 +34,7 @@ func NewItemAddKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemAddKeyRequestBuilderInternal(urlParams, requestAdapter) } -// Post adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. +// Post adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. // returns a KeyCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemAddKeyRequestBuilder) Post(ctx context.Context, body ItemAddKeyPost } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable), nil } -// ToPostRequestInformation adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. +// ToPostRequestInformation adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don't have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won't be able to use this service action. Update servicePrincipal can be used to perform an update instead. // returns a *RequestInformation when successful func (m *ItemAddKeyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAddKeyPostRequestBodyable, requestConfiguration *ItemAddKeyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 197e43a45f4..0364643e806 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -21,7 +21,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters get a list of rich long-running operations associated with a list. +// ItemListsListItemRequestBuilderGetQueryParameters returns the metadata for a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -93,12 +93,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of rich long-running operations associated with a list. +// Get returns the metadata for a list. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -167,7 +167,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a list of rich long-running operations associated with a list. +// ToGetRequestInformation returns the metadata for a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index 49cad6aefdf..8d0055c39e7 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -14,7 +14,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// SitesRequestBuilderGetQueryParameters list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -82,12 +82,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// Get list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +115,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetAllSitesRequestBuilder) { func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// ToGetRequestInformation list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 71b4bd69ac1..26ea7039405 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -57,11 +57,11 @@ func NewItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete a conversationMember from a channel. // returns a ODataError error 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-delete-members?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete a conversationMember from a channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index f0c1d824d48..1678efd67a1 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -107,12 +107,12 @@ func (m *ItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, request } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. +// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?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 { @@ -149,7 +149,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. +// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. // 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_send_activity_notification_post_request_body.go b/teams/item_send_activity_notification_post_request_body.go index fdc12970e61..65fac90996e 100644 --- a/teams/item_send_activity_notification_post_request_body.go +++ b/teams/item_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemSendActivityNotificationPostRequestBody) GetFieldDeserializers()(ma } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -150,6 +160,18 @@ func (m *ItemSendActivityNotificationPostRequestBody) GetFieldDeserializers()(ma } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -224,6 +246,12 @@ func (m *ItemSendActivityNotificationPostRequestBody) Serialize(writer i878a80d2 return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -293,6 +321,13 @@ func (m *ItemSendActivityNotificationPostRequestBody) SetChainId(value *int64)() panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -335,6 +370,7 @@ type ItemSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipient()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -343,6 +379,7 @@ type ItemSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipient(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/teamwork/send_activity_notification_to_recipients_post_request_body.go b/teamwork/send_activity_notification_to_recipients_post_request_body.go index cb1578ff46d..5b819485146 100644 --- a/teamwork/send_activity_notification_to_recipients_post_request_body.go +++ b/teamwork/send_activity_notification_to_recipients_post_request_body.go @@ -92,6 +92,16 @@ func (m *SendActivityNotificationToRecipientsPostRequestBody) GetFieldDeserializ } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -156,6 +166,18 @@ func (m *SendActivityNotificationToRecipientsPostRequestBody) GetFieldDeserializ } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *SendActivityNotificationToRecipientsPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *SendActivityNotificationToRecipientsPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -230,6 +252,12 @@ func (m *SendActivityNotificationToRecipientsPostRequestBody) Serialize(writer i return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -305,6 +333,13 @@ func (m *SendActivityNotificationToRecipientsPostRequestBody) SetChainId(value * panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *SendActivityNotificationToRecipientsPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *SendActivityNotificationToRecipientsPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -347,6 +382,7 @@ type SendActivityNotificationToRecipientsPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipients()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -355,6 +391,7 @@ type SendActivityNotificationToRecipientsPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipients(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/users/a011e56044e52a610ecbbaeffd2b2d49d81cd1ea01f0c115db9f66afd0109286.go b/users/a011e56044e52a610ecbbaeffd2b2d49d81cd1ea01f0c115db9f66afd0109286.go new file mode 100644 index 00000000000..48bb428505a --- /dev/null +++ b/users/a011e56044e52a610ecbbaeffd2b2d49d81cd1ea01f0c115db9f66afd0109286.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters collection of activity logs related to content processing. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetQueryParameters +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) { + m := &ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property contentActivities for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of activity logs related to content processing. +// returns a ContentActivityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateContentActivityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable), nil +} +// Patch update the navigation property contentActivities in users +// returns a ContentActivityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateContentActivityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable), nil +} +// ToDeleteRequestInformation delete navigation property contentActivities for users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of activity logs related to content processing. +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property contentActivities in users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/get_available_extension_properties_request_builder.go b/users/get_available_extension_properties_request_builder.go index 1f84c828c61..4bca2d0cbe3 100644 --- a/users/get_available_extension_properties_request_builder.go +++ b/users/get_available_extension_properties_request_builder.go @@ -33,7 +33,7 @@ func NewGetAvailableExtensionPropertiesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGetAvailableExtensionPropertiesRequestBuilderInternal(urlParams, requestAdapter) } -// Post return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// Post return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // Deprecated: This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponse instead. // returns a GetAvailableExtensionPropertiesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -57,7 +57,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) Post(ctx context.Context } return res.(GetAvailableExtensionPropertiesResponseable), nil } -// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// PostAsGetAvailableExtensionPropertiesPostResponse return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a GetAvailableExtensionPropertiesPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -80,7 +80,7 @@ func (m *GetAvailableExtensionPropertiesRequestBuilder) PostAsGetAvailableExtens } return res.(GetAvailableExtensionPropertiesPostResponseable), nil } -// ToPostRequestInformation return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: +// ToPostRequestInformation return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties: // returns a *RequestInformation when successful func (m *GetAvailableExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body GetAvailableExtensionPropertiesPostRequestBodyable, requestConfiguration *GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_send_activity_notification_post_request_body.go b/users/item_chats_item_send_activity_notification_post_request_body.go index 192f80de16e..c02c7b987dd 100644 --- a/users/item_chats_item_send_activity_notification_post_request_body.go +++ b/users/item_chats_item_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemChatsItemSendActivityNotificationPostRequestBody) GetFieldDeseriali } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -150,6 +160,18 @@ func (m *ItemChatsItemSendActivityNotificationPostRequestBody) GetFieldDeseriali } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemChatsItemSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemChatsItemSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -224,6 +246,12 @@ func (m *ItemChatsItemSendActivityNotificationPostRequestBody) Serialize(writer return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -293,6 +321,13 @@ func (m *ItemChatsItemSendActivityNotificationPostRequestBody) SetChainId(value panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemChatsItemSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemChatsItemSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -335,6 +370,7 @@ type ItemChatsItemSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipient()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -343,6 +379,7 @@ type ItemChatsItemSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipient(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/users/item_data_security_and_governance_activities_content_activities_count_request_builder.go b/users/item_data_security_and_governance_activities_content_activities_count_request_builder.go new file mode 100644 index 00000000000..6ce39ac0006 --- /dev/null +++ b/users/item_data_security_and_governance_activities_content_activities_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder provides operations to count the resources in the collection. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetQueryParameters +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) { + m := &ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_activities_content_activities_request_builder.go b/users/item_data_security_and_governance_activities_content_activities_request_builder.go new file mode 100644 index 00000000000..fc05852404e --- /dev/null +++ b/users/item_data_security_and_governance_activities_content_activities_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters collection of activity logs related to content processing. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters 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"` +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetQueryParameters +} +// ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByContentActivityId provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. +// returns a *ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) ByContentActivityId(contentActivityId string)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if contentActivityId != "" { + urlTplParams["contentActivity%2Did"] = contentActivityId + } + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesContentActivityItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) { + m := &ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder instantiates a new ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) Count()(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of activity logs related to content processing. +// returns a ContentActivityCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateContentActivityCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityCollectionResponseable), nil +} +// Post create new navigation property to contentActivities for users +// returns a ContentActivityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateContentActivityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable), nil +} +// ToGetRequestInformation collection of activity logs related to content processing. +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to contentActivities for users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ContentActivityable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderPostRequestConfiguration)(*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 *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_activities_request_builder.go b/users/item_data_security_and_governance_activities_request_builder.go new file mode 100644 index 00000000000..e23965e00de --- /dev/null +++ b/users/item_data_security_and_governance_activities_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceActivitiesRequestBuilder provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. +type ItemDataSecurityAndGovernanceActivitiesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +type ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetQueryParameters +} +// ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemDataSecurityAndGovernanceActivitiesRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceActivitiesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesRequestBuilder) { + m := &ItemDataSecurityAndGovernanceActivitiesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceActivitiesRequestBuilder instantiates a new ItemDataSecurityAndGovernanceActivitiesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceActivitiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceActivitiesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceActivitiesRequestBuilderInternal(urlParams, requestAdapter) +} +// ContentActivities provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. +// returns a *ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) ContentActivities()(*ItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesContentActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property activities for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +// returns a ActivitiesContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateActivitiesContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable), nil +} +// Patch update the navigation property activities in users +// returns a ActivitiesContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateActivitiesContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable), nil +} +// ToDeleteRequestInformation delete navigation property activities for users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation container for activity logs (content processing and audit) related to this user. ContainsTarget: true. +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property activities in users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ActivitiesContainerable, requestConfiguration *ItemDataSecurityAndGovernanceActivitiesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDataSecurityAndGovernanceActivitiesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceActivitiesRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_process_content_post_request_body.go b/users/item_data_security_and_governance_process_content_post_request_body.go new file mode 100644 index 00000000000..b3b9fc1a8c0 --- /dev/null +++ b/users/item_data_security_and_governance_process_content_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemDataSecurityAndGovernanceProcessContentPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemDataSecurityAndGovernanceProcessContentPostRequestBody instantiates a new ItemDataSecurityAndGovernanceProcessContentPostRequestBody and sets the default values. +func NewItemDataSecurityAndGovernanceProcessContentPostRequestBody()(*ItemDataSecurityAndGovernanceProcessContentPostRequestBody) { + m := &ItemDataSecurityAndGovernanceProcessContentPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemDataSecurityAndGovernanceProcessContentPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDataSecurityAndGovernanceProcessContentPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDataSecurityAndGovernanceProcessContentPostRequestBody(), 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 *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) 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 *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetContentToProcess gets the contentToProcess property value. The contentToProcess property +// returns a ProcessContentRequestable when successful +func (m *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) GetContentToProcess()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable) { + val, err := m.GetBackingStore().Get("contentToProcess") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["contentToProcess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProcessContentRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContentToProcess(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("contentToProcess", m.GetContentToProcess()) + 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 *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) 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 *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetContentToProcess sets the contentToProcess property value. The contentToProcess property +func (m *ItemDataSecurityAndGovernanceProcessContentPostRequestBody) SetContentToProcess(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable)() { + err := m.GetBackingStore().Set("contentToProcess", value) + if err != nil { + panic(err) + } +} +type ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetContentToProcess()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetContentToProcess(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentRequestable)() +} diff --git a/users/item_data_security_and_governance_process_content_request_builder.go b/users/item_data_security_and_governance_process_content_request_builder.go new file mode 100644 index 00000000000..34d07ea96b4 --- /dev/null +++ b/users/item_data_security_and_governance_process_content_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceProcessContentRequestBuilder provides operations to call the processContent method. +type ItemDataSecurityAndGovernanceProcessContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemDataSecurityAndGovernanceProcessContentRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceProcessContentRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProcessContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProcessContentRequestBuilder) { + m := &ItemDataSecurityAndGovernanceProcessContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/processContent", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceProcessContentRequestBuilder instantiates a new ItemDataSecurityAndGovernanceProcessContentRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProcessContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProcessContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceProcessContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Post process content against data protection policies in the context of the current, or specified, user. +// returns a ProcessContentResponseable 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/userdatasecurityandgovernance-processcontent?view=graph-rest-1.0 +func (m *ItemDataSecurityAndGovernanceProcessContentRequestBuilder) Post(ctx context.Context, body ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable, requestConfiguration *ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProcessContentResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProcessContentResponseable), nil +} +// ToPostRequestInformation process content against data protection policies in the context of the current, or specified, user. +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceProcessContentRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDataSecurityAndGovernanceProcessContentPostRequestBodyable, requestConfiguration *ItemDataSecurityAndGovernanceProcessContentRequestBuilderPostRequestConfiguration)(*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 *ItemDataSecurityAndGovernanceProcessContentRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceProcessContentRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceProcessContentRequestBuilder) { + return NewItemDataSecurityAndGovernanceProcessContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_protection_scopes_compute_post_request_body.go b/users/item_data_security_and_governance_protection_scopes_compute_post_request_body.go new file mode 100644 index 00000000000..b36948bc97b --- /dev/null +++ b/users/item_data_security_and_governance_protection_scopes_compute_post_request_body.go @@ -0,0 +1,279 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody instantiates a new ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody()(*ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) { + m := &ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody(), nil +} +// GetActivities gets the activities property value. The activities property +// returns a *UserActivityTypes when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetActivities()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) { + val, err := m.GetBackingStore().Get("activities") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) 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 *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDeviceMetadata gets the deviceMetadata property value. The deviceMetadata property +// returns a DeviceMetadataable when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetDeviceMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) { + val, err := m.GetBackingStore().Get("deviceMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["activities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseUserActivityTypes) + if err != nil { + return err + } + if val != nil { + m.SetActivities(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)) + } + return nil + } + res["deviceMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeviceMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeviceMetadata(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)) + } + return nil + } + res["integratedAppMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateIntegratedApplicationMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIntegratedAppMetadata(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)) + } + return nil + } + res["locations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePolicyLocationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + } + } + m.SetLocations(res) + } + return nil + } + res["pivotOn"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParsePolicyPivotProperty) + if err != nil { + return err + } + if val != nil { + m.SetPivotOn(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)) + } + return nil + } + return res +} +// GetIntegratedAppMetadata gets the integratedAppMetadata property value. The integratedAppMetadata property +// returns a IntegratedApplicationMetadataable when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetIntegratedAppMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) { + val, err := m.GetBackingStore().Get("integratedAppMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) + } + return nil +} +// GetLocations gets the locations property value. The locations property +// returns a []PolicyLocationable when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetLocations()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) { + val, err := m.GetBackingStore().Get("locations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + } + return nil +} +// GetPivotOn gets the pivotOn property value. The pivotOn property +// returns a *PolicyPivotProperty when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) GetPivotOn()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) { + val, err := m.GetBackingStore().Get("pivotOn") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetActivities() != nil { + cast := (*m.GetActivities()).String() + err := writer.WriteStringValue("activities", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("deviceMetadata", m.GetDeviceMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("integratedAppMetadata", m.GetIntegratedAppMetadata()) + if err != nil { + return err + } + } + if m.GetLocations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLocations())) + for i, v := range m.GetLocations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("locations", cast) + if err != nil { + return err + } + } + if m.GetPivotOn() != nil { + cast := (*m.GetPivotOn()).String() + err := writer.WriteStringValue("pivotOn", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetActivities sets the activities property value. The activities property +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetActivities(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)() { + err := m.GetBackingStore().Set("activities", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) 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 *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDeviceMetadata sets the deviceMetadata property value. The deviceMetadata property +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetDeviceMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)() { + err := m.GetBackingStore().Set("deviceMetadata", value) + if err != nil { + panic(err) + } +} +// SetIntegratedAppMetadata sets the integratedAppMetadata property value. The integratedAppMetadata property +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetIntegratedAppMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)() { + err := m.GetBackingStore().Set("integratedAppMetadata", value) + if err != nil { + panic(err) + } +} +// SetLocations sets the locations property value. The locations property +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetLocations(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable)() { + err := m.GetBackingStore().Set("locations", value) + if err != nil { + panic(err) + } +} +// SetPivotOn sets the pivotOn property value. The pivotOn property +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBody) SetPivotOn(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)() { + err := m.GetBackingStore().Set("pivotOn", value) + if err != nil { + panic(err) + } +} +type ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivities()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDeviceMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable) + GetIntegratedAppMetadata()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable) + GetLocations()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable) + GetPivotOn()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty) + SetActivities(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserActivityTypes)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDeviceMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceMetadataable)() + SetIntegratedAppMetadata(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IntegratedApplicationMetadataable)() + SetLocations(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyLocationable)() + SetPivotOn(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyPivotProperty)() +} diff --git a/users/item_data_security_and_governance_protection_scopes_compute_post_response.go b/users/item_data_security_and_governance_protection_scopes_compute_post_response.go new file mode 100644 index 00000000000..499b3983646 --- /dev/null +++ b/users/item_data_security_and_governance_protection_scopes_compute_post_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemDataSecurityAndGovernanceProtectionScopesComputePostResponse instantiates a new ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesComputePostResponse()(*ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse) { + m := &ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDataSecurityAndGovernanceProtectionScopesComputePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePolicyUserScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PolicyUserScopeable when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse) 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 *ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PolicyUserScopeable)() +} diff --git a/users/item_data_security_and_governance_protection_scopes_compute_request_builder.go b/users/item_data_security_and_governance_protection_scopes_compute_request_builder.go new file mode 100644 index 00000000000..e156afcad0f --- /dev/null +++ b/users/item_data_security_and_governance_protection_scopes_compute_request_builder.go @@ -0,0 +1,96 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder provides operations to call the compute method. +type ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + m := &ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes/compute", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder instantiates a new ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action compute +// Deprecated: This method is obsolete. Use PostAsComputePostResponse instead. +// returns a ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) Post(ctx context.Context, body ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable), nil +} +// PostAsComputePostResponse invoke action compute +// returns a ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) PostAsComputePostResponse(ctx context.Context, body ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDataSecurityAndGovernanceProtectionScopesComputePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable), nil +} +// ToPostRequestInformation invoke action compute +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemDataSecurityAndGovernanceProtectionScopesComputePostRequestBodyable, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderPostRequestConfiguration)(*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 *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + return NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_protection_scopes_compute_response.go b/users/item_data_security_and_governance_protection_scopes_compute_response.go new file mode 100644 index 00000000000..cfb27f225c5 --- /dev/null +++ b/users/item_data_security_and_governance_protection_scopes_compute_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable instead. +type ItemDataSecurityAndGovernanceProtectionScopesComputeResponse struct { + ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse +} +// NewItemDataSecurityAndGovernanceProtectionScopesComputeResponse instantiates a new ItemDataSecurityAndGovernanceProtectionScopesComputeResponse and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesComputeResponse()(*ItemDataSecurityAndGovernanceProtectionScopesComputeResponse) { + m := &ItemDataSecurityAndGovernanceProtectionScopesComputeResponse{ + ItemDataSecurityAndGovernanceProtectionScopesComputePostResponse: *NewItemDataSecurityAndGovernanceProtectionScopesComputePostResponse(), + } + return m +} +// CreateItemDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDataSecurityAndGovernanceProtectionScopesComputeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDataSecurityAndGovernanceProtectionScopesComputeResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable instead. +type ItemDataSecurityAndGovernanceProtectionScopesComputeResponseable interface { + ItemDataSecurityAndGovernanceProtectionScopesComputePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_data_security_and_governance_protection_scopes_request_builder.go b/users/item_data_security_and_governance_protection_scopes_request_builder.go new file mode 100644 index 00000000000..5788fc570c2 --- /dev/null +++ b/users/item_data_security_and_governance_protection_scopes_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. +type ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters get protectionScopes from users +type ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetQueryParameters +} +// ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Compute provides operations to call the compute method. +// returns a *ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) Compute()(*ItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilder) { + return NewItemDataSecurityAndGovernanceProtectionScopesComputeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) { + m := &ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilder instantiates a new ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property protectionScopes for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get protectionScopes from users +// returns a UserProtectionScopeContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserProtectionScopeContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable), nil +} +// Patch update the navigation property protectionScopes in users +// returns a UserProtectionScopeContainerable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserProtectionScopeContainerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable), nil +} +// ToDeleteRequestInformation delete navigation property protectionScopes for users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get protectionScopes from users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property protectionScopes in users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserProtectionScopeContainerable, requestConfiguration *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) { + return NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_data_security_and_governance_request_builder.go b/users/item_data_security_and_governance_request_builder.go new file mode 100644 index 00000000000..cf62ddc52ff --- /dev/null +++ b/users/item_data_security_and_governance_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDataSecurityAndGovernanceRequestBuilder provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. +type ItemDataSecurityAndGovernanceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters the data security and governance settings for the user. Read-only. Nullable. +type ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDataSecurityAndGovernanceRequestBuilderGetQueryParameters +} +// ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Activities provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. +// returns a *ItemDataSecurityAndGovernanceActivitiesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) Activities()(*ItemDataSecurityAndGovernanceActivitiesRequestBuilder) { + return NewItemDataSecurityAndGovernanceActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemDataSecurityAndGovernanceRequestBuilderInternal instantiates a new ItemDataSecurityAndGovernanceRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceRequestBuilder) { + m := &ItemDataSecurityAndGovernanceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDataSecurityAndGovernanceRequestBuilder instantiates a new ItemDataSecurityAndGovernanceRequestBuilder and sets the default values. +func NewItemDataSecurityAndGovernanceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDataSecurityAndGovernanceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDataSecurityAndGovernanceRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dataSecurityAndGovernance for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the data security and governance settings for the user. Read-only. Nullable. +// returns a UserDataSecurityAndGovernanceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserDataSecurityAndGovernanceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable), nil +} +// Patch update the navigation property dataSecurityAndGovernance in users +// returns a UserDataSecurityAndGovernanceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDataSecurityAndGovernanceRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUserDataSecurityAndGovernanceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable), nil +} +// ProcessContent provides operations to call the processContent method. +// returns a *ItemDataSecurityAndGovernanceProcessContentRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) ProcessContent()(*ItemDataSecurityAndGovernanceProcessContentRequestBuilder) { + return NewItemDataSecurityAndGovernanceProcessContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ProtectionScopes provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. +// returns a *ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) ProtectionScopes()(*ItemDataSecurityAndGovernanceProtectionScopesRequestBuilder) { + return NewItemDataSecurityAndGovernanceProtectionScopesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property dataSecurityAndGovernance for users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the data security and governance settings for the user. Read-only. Nullable. +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dataSecurityAndGovernance in users +// returns a *RequestInformation when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UserDataSecurityAndGovernanceable, requestConfiguration *ItemDataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemDataSecurityAndGovernanceRequestBuilder when successful +func (m *ItemDataSecurityAndGovernanceRequestBuilder) WithUrl(rawUrl string)(*ItemDataSecurityAndGovernanceRequestBuilder) { + return NewItemDataSecurityAndGovernanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_item_send_activity_notification_post_request_body.go b/users/item_joined_teams_item_send_activity_notification_post_request_body.go index 502af96fd27..557710d017a 100644 --- a/users/item_joined_teams_item_send_activity_notification_post_request_body.go +++ b/users/item_joined_teams_item_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) GetFieldDes } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -150,6 +160,18 @@ func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) GetFieldDes } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -224,6 +246,12 @@ func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) Serialize(w return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -293,6 +321,13 @@ func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) SetChainId( panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemJoinedTeamsItemSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -335,6 +370,7 @@ type ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetRecipient()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable) GetTeamsAppId()(*string) @@ -343,6 +379,7 @@ type ItemJoinedTeamsItemSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetRecipient(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkNotificationRecipientable)() SetTeamsAppId(value *string)() diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index d2ef2d9d9a7..6f5436ae3f1 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -21,7 +21,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. +// ItemPresenceRequestBuilderGetQueryParameters set a presence status message for a user. An optional expiration date and time can be supplied. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,12 +83,12 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get get a user's presence information. +// Get set a presence status message for a user. An optional expiration date and time can be supplied. // returns a Presenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -152,7 +152,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation set a presence status message for a user. An optional expiration date and time can be supplied. // returns a *RequestInformation when successful func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_send_activity_notification_post_request_body.go b/users/item_teamwork_send_activity_notification_post_request_body.go index 4dd69b900a9..26a4aa74322 100644 --- a/users/item_teamwork_send_activity_notification_post_request_body.go +++ b/users/item_teamwork_send_activity_notification_post_request_body.go @@ -92,6 +92,16 @@ func (m *ItemTeamworkSendActivityNotificationPostRequestBody) GetFieldDeserializ } return nil } + res["iconId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIconId(val) + } + return nil + } res["previewText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateItemBodyFromDiscriminatorValue) if err != nil { @@ -140,6 +150,18 @@ func (m *ItemTeamworkSendActivityNotificationPostRequestBody) GetFieldDeserializ } return res } +// GetIconId gets the iconId property value. The iconId property +// returns a *string when successful +func (m *ItemTeamworkSendActivityNotificationPostRequestBody) GetIconId()(*string) { + val, err := m.GetBackingStore().Get("iconId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPreviewText gets the previewText property value. The previewText property // returns a ItemBodyable when successful func (m *ItemTeamworkSendActivityNotificationPostRequestBody) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) { @@ -202,6 +224,12 @@ func (m *ItemTeamworkSendActivityNotificationPostRequestBody) Serialize(writer i return err } } + { + err := writer.WriteStringValue("iconId", m.GetIconId()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("previewText", m.GetPreviewText()) if err != nil { @@ -265,6 +293,13 @@ func (m *ItemTeamworkSendActivityNotificationPostRequestBody) SetChainId(value * panic(err) } } +// SetIconId sets the iconId property value. The iconId property +func (m *ItemTeamworkSendActivityNotificationPostRequestBody) SetIconId(value *string)() { + err := m.GetBackingStore().Set("iconId", value) + if err != nil { + panic(err) + } +} // SetPreviewText sets the previewText property value. The previewText property func (m *ItemTeamworkSendActivityNotificationPostRequestBody) SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() { err := m.GetBackingStore().Set("previewText", value) @@ -300,6 +335,7 @@ type ItemTeamworkSendActivityNotificationPostRequestBodyable interface { GetActivityType()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetChainId()(*int64) + GetIconId()(*string) GetPreviewText()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable) GetTeamsAppId()(*string) GetTemplateParameters()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable) @@ -307,6 +343,7 @@ type ItemTeamworkSendActivityNotificationPostRequestBodyable interface { SetActivityType(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetChainId(value *int64)() + SetIconId(value *string)() SetPreviewText(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemBodyable)() SetTeamsAppId(value *string)() SetTemplateParameters(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyValuePairable)() diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 2cdd039f57b..914309e7462 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -142,11 +142,16 @@ func (m *UserItemRequestBuilder) Contacts()(*ItemContactsRequestBuilder) { func (m *UserItemRequestBuilder) CreatedObjects()(*ItemCreatedObjectsRequestBuilder) { return NewItemCreatedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// DataSecurityAndGovernance provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. +// returns a *ItemDataSecurityAndGovernanceRequestBuilder when successful +func (m *UserItemRequestBuilder) DataSecurityAndGovernance()(*ItemDataSecurityAndGovernanceRequestBuilder) { + return NewItemDataSecurityAndGovernanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete deletes a user. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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 { @@ -364,7 +369,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UserItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -482,7 +487,7 @@ func (m *UserItemRequestBuilder) Sponsors()(*ItemSponsorsRequestBuilder) { func (m *UserItemRequestBuilder) Teamwork()(*ItemTeamworkRequestBuilder) { return NewItemTeamworkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// ToDeleteRequestInformation deletes a user. // returns a *RequestInformation when successful func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/users_request_builder.go b/users/users_request_builder.go index d59870d15c6..8696bbffd8f 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -14,7 +14,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. +// UsersRequestBuilderGetQueryParameters list properties and relationships of the user objects. type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -82,12 +82,12 @@ func (m *UsersRequestBuilder) Count()(*CountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of user objects. +// Get list properties and relationships of the user objects. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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 { @@ -115,12 +115,12 @@ func (m *UsersRequestBuilder) GetAvailableExtensionProperties()(*GetAvailableExt func (m *UsersRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. +// Post create a new user object. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +138,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e64 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToGetRequestInformation retrieve a list of user objects. +// ToGetRequestInformation list properties and relationships of the user objects. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +152,7 @@ func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. +// ToPostRequestInformation create a new user object. // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 943a58c12eb..da1b16982e8 100644 --- a/userswithuserprincipalname/users_with_user_principal_name_request_builder.go +++ b/userswithuserprincipalname/users_with_user_principal_name_request_builder.go @@ -60,11 +60,11 @@ func NewUsersWithUserPrincipalNameRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewUsersWithUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// Delete deletes a user. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-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 { @@ -107,7 +107,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *UsersWithUserPrincipalNameRequestBuilder) Patch(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable), nil } -// ToDeleteRequestInformation delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. +// ToDeleteRequestInformation deletes a user. // returns a *RequestInformation when successful func (m *UsersWithUserPrincipalNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)