From 0fa8eacba6e7cca2b135db07605150a478bb0535 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 10 Dec 2024 12:31:51 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 173698 --- admin/entra_request_builder.go | 7 - admin/entra_ux_setting_request_builder.go | 7 - ...esource_connection_item_request_builder.go | 8 +- ...ts_updatable_asset_item_request_builder.go | 14 +- ...tem_participants_invite_request_builder.go | 6 +- ...tion_method_device_item_request_builder.go | 162 ++ ...tication_method_devices_request_builder.go | 152 ++ .../count_request_builder.go | 80 + ...ware_oath_devices_count_request_builder.go | 80 + ...tion_method_device_item_request_builder.go | 162 ++ ...ign_to_mailbox_settings_request_builder.go | 123 + ..._devices_item_assign_to_request_builder.go | 91 + ...ovisioning_errors_count_request_builder.go | 80 + ...ice_provisioning_errors_request_builder.go | 98 + ...m_hardware_oath_devices_request_builder.go | 152 ++ ...tem_participants_invite_request_builder.go | 6 +- ...e2257510f53bbb09e499d986bc8b4960b49b8a5.go | 6 +- ...001b3d62cf4ad3a864cea9a6c7e6608871ea5ad.go | 6 +- ...3ca085b604af07a7a928e7e585be6c7c4a5c5ee.go | 6 +- ...ebbd3d34154728dba8cd77caf39b6eb692c9606.go | 6 +- ...1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go | 6 +- ...4bfdd20ff404e54999557ca367dc73ff37fbe15.go | 6 +- ...55f4cb3d0f85c52ed1b2d31689e875024b623c6.go | 6 +- ...3ccc5b28af54b724cc1df91ed01b8af5f8bf397.go | 6 +- ...4b5786623c182097d534193f2091c381f23c420.go | 6 +- ...ations_item_assignments_request_builder.go | 6 +- ..._work_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...d_lob_app_relationships_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_vpp_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_dmg_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_pkg_app_relationships_request_builder.go | 6 +- ...d_lob_app_relationships_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 6 +- ...e_lob_app_relationships_request_builder.go | 6 +- ...iness_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...2_lob_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...n_get_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...ows_app_x_relationships_request_builder.go | 6 +- ...ile_m_s_i_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 6 +- ...sal_app_x_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_web_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_request_builder.go | 6 +- ...apps_item_relationships_request_builder.go | 6 +- ...0d2da836067d2e960010b7576538b293618c8a0.go | 6 +- ...log_collection_requests_request_builder.go | 6 +- ..._retrieve_review_status_request_builder.go | 7 +- ...item_retrieve_snapshots_request_builder.go | 14 +- ..._item_set_review_status_request_builder.go | 7 +- ...d_pc_performance_report_request_builder.go | 7 +- ...53e7638a7e5ae6e450d08cb01cd87629b04d63a.go | 98 + ...336411141d8d5e726ed9f2aa23300888140ecda.go | 171 ++ ...647f83e66971754f5ec9e6fe533a42b8540596f.go | 80 + ...ware_oath_devices_count_request_builder.go | 80 + ...ign_to_mailbox_settings_request_builder.go | 123 + ..._devices_item_assign_to_request_builder.go | 91 + ...s_hardware_oath_devices_request_builder.go | 158 ++ ...tication_method_devices_request_builder.go | 162 ++ directory/directory_request_builder.go | 5 + ...ms_item_retention_label_request_builder.go | 6 +- ...rkbook_names_item_range_request_builder.go | 6 +- ...s_item_names_item_range_request_builder.go | 6 +- ...ers_education_user_item_request_builder.go | 6 +- ...thorization_system_item_request_builder.go | 6 +- ...flows_inbound_flow_item_request_builder.go | 6 +- ...stry_data_inbound_flows_request_builder.go | 6 +- graph_base_service_client.go | 6 + groups/group_item_request_builder.go | 4 +- groups/groups_request_builder.go | 6 +- ...pp_role_assignment_item_request_builder.go | 4 +- groups/item_assign_license_request_builder.go | 4 +- ...dar_calendar_view_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...m_calendar_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...tem_calendar_view_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...tions_conversation_item_request_builder.go | 14 +- ...item_threads_item_reply_request_builder.go | 6 +- groups/item_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 6 +- ...pages_onenote_page_item_request_builder.go | 6 +- groups/item_onenote_pages_request_builder.go | 6 +- ..._onenote_section_groups_request_builder.go | 6 +- ...oups_section_group_item_request_builder.go | 6 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 6 +- .../item_owners_item_ref_request_builder.go | 4 +- groups/item_owners_ref_request_builder.go | 6 +- .../item_permission_grants_request_builder.go | 6 +- ...notebooks_notebook_item_request_builder.go | 6 +- ..._item_onenote_notebooks_request_builder.go | 6 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ites_item_onenote_pages_request_builder.go | 6 +- ..._onenote_section_groups_request_builder.go | 6 +- ...oups_section_group_item_request_builder.go | 6 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...s_item_onenote_sections_request_builder.go | 6 +- ...m_channels_channel_item_request_builder.go | 5 + ...m_get_all_members_add_post_request_body.go | 126 + ..._item_get_all_members_add_post_response.go | 89 + ...tem_get_all_members_add_request_builder.go | 99 + ...nnels_item_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...m_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...em_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...ls_item_get_all_members_remove_response.go | 27 + ...ls_item_get_all_members_request_builder.go | 162 ++ ...l_get_all_members_add_post_request_body.go | 126 + ...annel_get_all_members_add_post_response.go | 89 + ...nel_get_all_members_add_request_builder.go | 99 + ...ry_channel_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...l_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...el_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...channel_get_all_members_remove_response.go | 27 + ...channel_get_all_members_request_builder.go | 162 ++ ...em_team_primary_channel_request_builder.go | 5 + ...onversation_thread_item_request_builder.go | 8 +- ...item_threads_item_reply_request_builder.go | 6 +- ...em_transitive_member_of_request_builder.go | 6 +- ...ive_members_graph_group_request_builder.go | 6 +- ...tive_members_graph_user_request_builder.go | 6 +- ...embers_item_graph_group_request_builder.go | 6 +- ...members_item_graph_user_request_builder.go | 6 +- ...item_transitive_members_request_builder.go | 6 +- ...groups_with_unique_name_request_builder.go | 4 +- ...ons_named_location_item_request_builder.go | 14 +- ...d4317223d2433026f9e33f625565c436a769617.go | 6 +- ...ges_access_package_item_request_builder.go | 8 +- ...ckages_with_unique_name_request_builder.go | 8 +- ...ons_risk_detection_item_request_builder.go | 8 +- .../risky_users_request_builder.go | 8 +- ...bitlocker_recovery_keys_request_builder.go | 6 +- kiota-dom-export.txt | 2306 +++++++++++++++++ kiota-lock.json | 4 +- models/android_managed_app_protection.go | 8 +- models/app_role_assignment.go | 8 +- models/application.go | 4 +- models/authentication.go | 49 + models/authentication_method.go | 2 + models/authentication_method_device.go | 143 + ...ation_method_device_collection_response.go | 88 + models/base_site_page.go | 4 +- models/channel.go | 49 + ..._cross_region_disaster_recovery_setting.go | 8 +- models/comms_operation.go | 8 + models/device.go | 4 +- ...configuration_choice_setting_definition.go | 8 +- ...gement_configuration_setting_definition.go | 28 +- ...ion_setting_group_collection_definition.go | 8 +- ..._configuration_setting_group_definition.go | 4 +- ...uration_string_setting_value_definition.go | 12 +- models/directory.go | 37 + models/educational_activity_detail.go | 12 +- models/entity.go | 14 + models/expiration_pattern.go | 8 +- models/extended_key_usage.go | 8 +- models/externalconnectors/configuration.go | 4 +- models/externalconnectors/external.go | 4 +- models/hardware_oath_authentication_method.go | 78 + ...thentication_method_collection_response.go | 88 + ...oath_token_authentication_method_device.go | 376 +++ ...ation_method_device_collection_response.go | 88 + models/hardware_oath_token_hash_function.go | 36 + models/hardware_oath_token_status.go | 42 + models/identity_set.go | 12 +- models/initiator.go | 4 +- .../ios_lob_app_provisioning_configuration.go | 8 +- models/ios_managed_app_protection.go | 4 +- models/item_attachment.go | 4 +- models/key_credential_configuration.go | 4 +- models/key_value.go | 8 +- models/mail_tips.go | 20 +- models/mailbox_restore_artifact.go | 8 +- models/mobile_app.go | 24 +- models/mobile_app_troubleshooting_event.go | 4 +- models/networkaccess/alert_summary.go | 226 ++ models/networkaccess/connectivity.go | 8 +- models/networkaccess/profile.go | 12 +- models/news_link_page.go | 12 +- ...ion_external_users_self_service_sign_up.go | 4 +- ...on_interactive_auth_flow_start_listener.go | 4 +- ...ne_drive_for_business_protection_policy.go | 8 +- .../one_drive_for_business_restore_session.go | 4 +- models/onenote.go | 16 +- models/org_contact.go | 4 +- models/password_credential_configuration.go | 4 +- models/payload.go | 8 +- models/printer_base.go | 32 +- models/printer_share.go | 8 +- models/restore_session_artifact_count.go | 16 +- models/restore_session_base.go | 8 +- models/security/data_set.go | 37 + models/service_activity_performance_metric.go | 8 +- models/service_principal.go | 4 +- models/simulation.go | 4 +- models/start_recording_operation.go | 39 + models/start_transcription_operation.go | 39 + models/stop_recording_operation.go | 39 + models/stop_transcription_operation.go | 39 + models/user.go | 4 +- .../windows_app_x_app_assignment_settings.go | 4 +- models/windows_domain_join_configuration.go | 4 +- ...universal_app_x_app_assignment_settings.go | 4 +- ...e2b5aa26431c5410961d494513776fd3f5e1eb8.go | 27 + ...0b75cb357821b95cf679724d6b117d43e7bf8f0.go | 114 + ...a85577482132947ee5dfefcbe4b0342b2a903ee.go | 90 + networkaccess/alerts_request_builder.go | 5 + ...licies_policy_link_item_request_builder.go | 6 +- ..._profiles_item_policies_request_builder.go | 6 +- ...licies_policy_link_item_request_builder.go | 6 +- ..._profiles_item_policies_request_builder.go | 6 +- ...rks_remote_network_item_request_builder.go | 6 +- ...ctivity_remote_networks_request_builder.go | 6 +- ...licies_policy_link_item_request_builder.go | 6 +- ..._profiles_item_policies_request_builder.go | 6 +- ...tem_jobs_print_job_item_request_builder.go | 6 +- ...rinter_shares_item_jobs_request_builder.go | 6 +- ...tem_jobs_print_job_item_request_builder.go | 6 +- ...c221e31c273c1ccd4aa3d24c51922bfac32d4e0.go | 14 +- ...ee592e377cf81fc63e1ed75dd64883b4d0a0750.go | 14 +- ...6062487d3129c07ffc8f0d7a11569ca41fb7adb.go | 14 +- ...e576c1cca4a8149f67a73f1063cd34a5704792e.go | 14 +- ...a22c5f261f4c332766cbe70be12e9574d292b51.go | 14 +- ...c9a8956788f2a20bae17bceee3f70634558f8df.go | 14 +- ...38ee6784ce4711db209a9c1824380e863a6f97d.go | 14 +- ...d6a0cefe4441270046cbd35046822223f1a8eb9.go | 14 +- ...be79e0d3c2db32d56c0ac253af9d8d449344461.go | 14 +- ...0a939b0857aa89a5f83463f5d3c2b3a12924625.go | 14 +- ...cbc3be0e738f53fc3ede6542399dbd383e52356.go | 14 +- ...24d1fe7851a44ce23fdd887e39d407eef336761.go | 14 +- ...2990f91c7cfb5744e9ee95ea6393c6b8bbe7458.go | 14 +- ...dbf9f642dff887823845587065b830edce38eae.go | 14 +- ...bb199739d900f90684445de3317ac6eb5146d20.go | 14 +- ...857136e39c9bb5d3f4a7b739e353a31410320c2.go | 14 +- ...5161c5aef5d50768bddd702558e835fc9385eea.go | 14 +- ...270340df2c2a43001029cbedb52dd634a981f6b.go | 14 +- ...eab951b6615c0c8204728aa15bb362a8126a75c.go | 14 +- .../risk_detections_request_builder.go | 8 +- ...n_payloads_payload_item_request_builder.go | 9 +- sites/item_lists_list_item_request_builder.go | 8 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 6 +- ...pages_onenote_page_item_request_builder.go | 6 +- sites/item_onenote_pages_request_builder.go | 6 +- ..._onenote_section_groups_request_builder.go | 6 +- ...oups_section_group_item_request_builder.go | 6 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 6 +- sites/item_pages_request_builder.go | 6 +- ...dc6813800f419678df08ab5560a627e1d5104d5.go | 6 +- ...57a08e535ae4ea8461141194ce07cc62628f323.go | 6 +- ...m_channels_channel_item_request_builder.go | 5 + ...m_get_all_members_add_post_request_body.go | 126 + ..._item_get_all_members_add_post_response.go | 89 + ...tem_get_all_members_add_request_builder.go | 99 + ...nnels_item_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...m_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...em_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...ls_item_get_all_members_remove_response.go | 27 + ...ls_item_get_all_members_request_builder.go | 162 ++ ...onversation_member_item_request_builder.go | 6 +- ...l_get_all_members_add_post_request_body.go | 126 + ...annel_get_all_members_add_post_response.go | 89 + ...nel_get_all_members_add_request_builder.go | 99 + ...ry_channel_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...l_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...el_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...channel_get_all_members_remove_response.go | 27 + ...channel_get_all_members_request_builder.go | 162 ++ teams/item_primary_channel_request_builder.go | 5 + ...em_schedule_open_shifts_request_builder.go | 4 +- ...n_channels_channel_item_request_builder.go | 5 + ...m_get_all_members_add_post_request_body.go | 126 + ..._item_get_all_members_add_post_response.go | 89 + ...tem_get_all_members_add_request_builder.go | 99 + ...nnels_item_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...m_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...em_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...ls_item_get_all_members_remove_response.go | 27 + ...ls_item_get_all_members_request_builder.go | 162 ++ ...l_get_all_members_add_post_request_body.go | 126 + ...annel_get_all_members_add_post_response.go | 89 + ...nel_get_all_members_add_request_builder.go | 99 + ...ry_channel_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...l_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...el_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...channel_get_all_members_remove_response.go | 27 + ...channel_get_all_members_request_builder.go | 162 ++ ...inition_primary_channel_request_builder.go | 5 + ...1d455912fedd8e3592a0c1735ef8990a0ca52d1.go | 99 + ...af75c58ef4d4cb35c6b61c243d56c79ff332f8a.go | 126 + ...2c28f11d5efe9b9c7d6f941ede212532f036a71.go | 157 ++ ...f2fd41148946e99c1f0d52b955245bb05cecc02.go | 99 + ...855d38c7dcff20393dec8376bdc35b014249e19.go | 126 + ...8ba999ae9d7c0b88cd2d54ae85087792432407a.go | 157 ++ ...a0e9fa1fc81907b44f8fbc6acb12f529d226296.go | 89 + ...c84745ba0e992b6ff4548d06b89d42611972abb.go | 126 + ...9dd4d075bba0c3dcb931826fac511440b1622a5.go | 89 + ...5c000b4e44f242218031ea71e94d59e83023891.go | 80 + ...46984acb6b6738ca31687edd92bb9ffa90ed297.go | 80 + ...e4f1be864be6529bf5e30eb2943ef2e1df815c2.go | 89 + ...ab24bbffdb416d38701f5f6f173927a020f6086.go | 126 + ...158be353ba5beb582bab6fa95c261953e678156.go | 99 + ...f23bc86bbfd52bf53a935437610610916cdc3e3.go | 99 + ...m_channels_channel_item_request_builder.go | 5 + ...m_get_all_members_add_post_request_body.go | 126 + ..._item_get_all_members_add_post_response.go | 89 + ...tem_get_all_members_add_request_builder.go | 99 + ...nnels_item_get_all_members_add_response.go | 27 + ...onversation_member_item_request_builder.go | 157 ++ ...m_get_all_members_count_request_builder.go | 80 + ...et_all_members_remove_post_request_body.go | 126 + ...em_get_all_members_remove_post_response.go | 89 + ..._get_all_members_remove_request_builder.go | 99 + ...ls_item_get_all_members_remove_response.go | 27 + ...ls_item_get_all_members_request_builder.go | 162 ++ ...n_channels_channel_item_request_builder.go | 5 + ..._item_get_all_members_add_post_response.go | 89 + ...nnels_item_get_all_members_add_response.go | 27 + ...ls_item_get_all_members_remove_response.go | 27 + ...ls_item_get_all_members_request_builder.go | 162 ++ ...ry_channel_get_all_members_add_response.go | 27 + ...channel_get_all_members_remove_response.go | 27 + ...channel_get_all_members_request_builder.go | 162 ++ ...inition_primary_channel_request_builder.go | 5 + ...h_managed_tenants_apply_request_builder.go | 4 +- ...ganization_join_request_request_builder.go | 4 +- ...lti_tenant_organization_request_builder.go | 6 +- ...ed2e3811a438cd6f2281bc45dbebbbce321c767.go | 98 + ...5e3c67c0a7fb0b6c9d9f1744767c07197f74a96.go | 80 + ...0ce095d709be2f66ded80499e078de06be8b2af.go | 8 +- ...6b1ace84e79cd9d1cdb5ce49b79e4c904b772d8.go | 8 +- ...f04e2d7a324c7bc98688e843f8075941d99f63c.go | 8 +- ...cad59210786c342fb5bffb15bb3cdbc3966b2bc.go | 8 +- ...5397eda7e49ce4da5fc450bf582170feae76cf4.go | 91 + ...c7a40195f945ce5e8e9126dd328944617e995a7.go | 6 +- ...d5370ac7f7e6f0715ea835b89578cb9fb9dbf23.go | 80 + ...d0c107c9268d4e37d6e6012c930fe00e35a0dcc.go | 98 + ...46567feed9818c48b86eb7f9f226bb2fa0480d9.go | 8 +- ...b46d2ef8363294d8dd147dfc99f4c8a8a95b5dd.go | 123 + ...9aa412381b022d80a410ee844e1c09f6e7b9085.go | 162 ++ ...vate_by_serial_number_post_request_body.go | 187 ++ ...tivate_by_serial_number_request_builder.go | 71 + ...s_assign_and_activate_post_request_body.go | 188 ++ ...ods_assign_and_activate_request_builder.go | 71 + ...ware_oath_methods_count_request_builder.go | 80 + ...hentication_method_item_request_builder.go | 130 + ...methods_item_activate_post_request_body.go | 150 ++ ...h_methods_item_activate_request_builder.go | 71 + ...methods_item_deactivate_request_builder.go | 67 + ...ign_to_mailbox_settings_request_builder.go | 123 + ...s_item_device_assign_to_request_builder.go | 91 + ...ware_oath_devices_count_request_builder.go | 80 + ...e_hardware_oath_devices_request_builder.go | 152 ++ ...ath_methods_item_device_request_builder.go | 167 ++ ...n_hardware_oath_methods_request_builder.go | 162 ++ users/item_authentication_request_builder.go | 5 + ...dar_calendar_view_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...m_calendar_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...tem_calendar_view_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ndars_item_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...tem_calendar_view_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...tem_calendar_view_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ew_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...ndars_item_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ..._retrieve_review_status_request_builder.go | 7 +- ...item_retrieve_snapshots_request_builder.go | 14 +- ..._item_set_review_status_request_builder.go | 7 +- users/item_events_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...es_item_instances_delta_request_builder.go | 8 +- ...ts_item_instances_delta_request_builder.go | 8 +- ...ption_occurrences_delta_request_builder.go | 8 +- ...ers_item_messages_delta_request_builder.go | 8 +- ...ers_item_messages_delta_request_builder.go | 8 +- users/item_messages_delta_request_builder.go | 8 +- ...log_collection_requests_request_builder.go | 6 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 6 +- ...pages_onenote_page_item_request_builder.go | 6 +- users/item_onenote_pages_request_builder.go | 6 +- ..._onenote_section_groups_request_builder.go | 6 +- ...oups_section_group_item_request_builder.go | 6 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 6 +- 457 files changed, 19644 insertions(+), 1000 deletions(-) create mode 100644 authenticationmethoddevices/authentication_method_device_item_request_builder.go create mode 100644 authenticationmethoddevices/authentication_method_devices_request_builder.go create mode 100644 authenticationmethoddevices/count_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_count_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_hardware_oath_token_authentication_method_device_item_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_count_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_request_builder.go create mode 100644 authenticationmethoddevices/item_hardware_oath_devices_request_builder.go create mode 100644 directory/3a288dd9dd01023a708c2547153e7638a7e5ae6e450d08cb01cd87629b04d63a.go create mode 100644 directory/3bf9761d4313e8d1167ce2438336411141d8d5e726ed9f2aa23300888140ecda.go create mode 100644 directory/621cf564056639c4a66a27806647f83e66971754f5ec9e6fe533a42b8540596f.go create mode 100644 directory/authentication_method_devices_hardware_oath_devices_count_request_builder.go create mode 100644 directory/authentication_method_devices_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go create mode 100644 directory/authentication_method_devices_hardware_oath_devices_item_assign_to_request_builder.go create mode 100644 directory/authentication_method_devices_hardware_oath_devices_request_builder.go create mode 100644 directory/authentication_method_devices_request_builder.go create mode 100644 groups/item_team_channels_item_get_all_members_add_post_request_body.go create mode 100644 groups/item_team_channels_item_get_all_members_add_post_response.go create mode 100644 groups/item_team_channels_item_get_all_members_add_request_builder.go create mode 100644 groups/item_team_channels_item_get_all_members_add_response.go create mode 100644 groups/item_team_channels_item_get_all_members_conversation_member_item_request_builder.go create mode 100644 groups/item_team_channels_item_get_all_members_count_request_builder.go create mode 100644 groups/item_team_channels_item_get_all_members_remove_post_request_body.go create mode 100644 groups/item_team_channels_item_get_all_members_remove_post_response.go create mode 100644 groups/item_team_channels_item_get_all_members_remove_request_builder.go create mode 100644 groups/item_team_channels_item_get_all_members_remove_response.go create mode 100644 groups/item_team_channels_item_get_all_members_request_builder.go create mode 100644 groups/item_team_primary_channel_get_all_members_add_post_request_body.go create mode 100644 groups/item_team_primary_channel_get_all_members_add_post_response.go create mode 100644 groups/item_team_primary_channel_get_all_members_add_request_builder.go create mode 100644 groups/item_team_primary_channel_get_all_members_add_response.go create mode 100644 groups/item_team_primary_channel_get_all_members_conversation_member_item_request_builder.go create mode 100644 groups/item_team_primary_channel_get_all_members_count_request_builder.go create mode 100644 groups/item_team_primary_channel_get_all_members_remove_post_request_body.go create mode 100644 groups/item_team_primary_channel_get_all_members_remove_post_response.go create mode 100644 groups/item_team_primary_channel_get_all_members_remove_request_builder.go create mode 100644 groups/item_team_primary_channel_get_all_members_remove_response.go create mode 100644 groups/item_team_primary_channel_get_all_members_request_builder.go create mode 100644 models/authentication_method_device.go create mode 100644 models/authentication_method_device_collection_response.go create mode 100644 models/hardware_oath_authentication_method.go create mode 100644 models/hardware_oath_authentication_method_collection_response.go create mode 100644 models/hardware_oath_token_authentication_method_device.go create mode 100644 models/hardware_oath_token_authentication_method_device_collection_response.go create mode 100644 models/hardware_oath_token_hash_function.go create mode 100644 models/hardware_oath_token_status.go create mode 100644 models/networkaccess/alert_summary.go create mode 100644 models/start_recording_operation.go create mode 100644 models/start_transcription_operation.go create mode 100644 models/stop_recording_operation.go create mode 100644 models/stop_transcription_operation.go create mode 100644 networkaccess/0787173cb083c9cefb6336a20e2b5aa26431c5410961d494513776fd3f5e1eb8.go create mode 100644 networkaccess/457594a2b70623b32bb077f3d0b75cb357821b95cf679724d6b117d43e7bf8f0.go create mode 100644 networkaccess/548deca3b3b9e249520572c08a85577482132947ee5dfefcbe4b0342b2a903ee.go create mode 100644 teams/item_channels_item_get_all_members_add_post_request_body.go create mode 100644 teams/item_channels_item_get_all_members_add_post_response.go create mode 100644 teams/item_channels_item_get_all_members_add_request_builder.go create mode 100644 teams/item_channels_item_get_all_members_add_response.go create mode 100644 teams/item_channels_item_get_all_members_conversation_member_item_request_builder.go create mode 100644 teams/item_channels_item_get_all_members_count_request_builder.go create mode 100644 teams/item_channels_item_get_all_members_remove_post_request_body.go create mode 100644 teams/item_channels_item_get_all_members_remove_post_response.go create mode 100644 teams/item_channels_item_get_all_members_remove_request_builder.go create mode 100644 teams/item_channels_item_get_all_members_remove_response.go create mode 100644 teams/item_channels_item_get_all_members_request_builder.go create mode 100644 teams/item_primary_channel_get_all_members_add_post_request_body.go create mode 100644 teams/item_primary_channel_get_all_members_add_post_response.go create mode 100644 teams/item_primary_channel_get_all_members_add_request_builder.go create mode 100644 teams/item_primary_channel_get_all_members_add_response.go create mode 100644 teams/item_primary_channel_get_all_members_conversation_member_item_request_builder.go create mode 100644 teams/item_primary_channel_get_all_members_count_request_builder.go create mode 100644 teams/item_primary_channel_get_all_members_remove_post_request_body.go create mode 100644 teams/item_primary_channel_get_all_members_remove_post_response.go create mode 100644 teams/item_primary_channel_get_all_members_remove_request_builder.go create mode 100644 teams/item_primary_channel_get_all_members_remove_response.go create mode 100644 teams/item_primary_channel_get_all_members_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_request_body.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_response.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_response.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_conversation_member_item_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_count_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_request_body.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_response.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_response.go create mode 100644 teamtemplatedefinition/item_team_definition_channels_item_get_all_members_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_request_body.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_response.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_response.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_conversation_member_item_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_count_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_request_body.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_response.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_response.go create mode 100644 teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_request_builder.go create mode 100644 teamwork/10fafad9e99cf1fef12c147bd1d455912fedd8e3592a0c1735ef8990a0ca52d1.go create mode 100644 teamwork/153b57d1ac0443fec706e39dfaf75c58ef4d4cb35c6b61c243d56c79ff332f8a.go create mode 100644 teamwork/1ba898a0ea2a3ac3b1e2779d62c28f11d5efe9b9c7d6f941ede212532f036a71.go create mode 100644 teamwork/23453337558dded404a311a6ef2fd41148946e99c1f0d52b955245bb05cecc02.go create mode 100644 teamwork/461f46294dedb32f2231a7a2b855d38c7dcff20393dec8376bdc35b014249e19.go create mode 100644 teamwork/4aef4aaea061361c5f2cb4bfa8ba999ae9d7c0b88cd2d54ae85087792432407a.go create mode 100644 teamwork/4d333acd567d5eb92201e6f15a0e9fa1fc81907b44f8fbc6acb12f529d226296.go create mode 100644 teamwork/6d9b6e271a0f5fcae5717b928c84745ba0e992b6ff4548d06b89d42611972abb.go create mode 100644 teamwork/70ad5bb9f1a3b748e8e8332a89dd4d075bba0c3dcb931826fac511440b1622a5.go create mode 100644 teamwork/8eb005c7547c0e44090896abd5c000b4e44f242218031ea71e94d59e83023891.go create mode 100644 teamwork/8eb8577fbcb7acd1848a3cf1146984acb6b6738ca31687edd92bb9ffa90ed297.go create mode 100644 teamwork/ae3ff4aa231bbbaa489a40756e4f1be864be6529bf5e30eb2943ef2e1df815c2.go create mode 100644 teamwork/c0869a4d11dc8dc7992f44f59ab24bbffdb416d38701f5f6f173927a020f6086.go create mode 100644 teamwork/d1a3803408c3cfe61792c186b158be353ba5beb582bab6fa95c261953e678156.go create mode 100644 teamwork/d9cf68c916c0f6b5c0c32defbf23bc86bbfd52bf53a935437610610916cdc3e3.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_add_post_request_body.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_add_post_response.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_add_request_builder.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_add_response.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_conversation_member_item_request_builder.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_count_request_builder.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_request_body.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_response.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_remove_request_builder.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_remove_response.go create mode 100644 teamwork/deleted_teams_item_channels_item_get_all_members_request_builder.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_post_response.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_response.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_remove_response.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_request_builder.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_add_response.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_remove_response.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_request_builder.go create mode 100644 users/1290deb0e327abcb542c23ffbed2e3811a438cd6f2281bc45dbebbbce321c767.go create mode 100644 users/14d4a934a05bdc0c0fbf509ba5e3c67c0a7fb0b6c9d9f1744767c07197f74a96.go create mode 100644 users/a859c1f89c7531a8a04d44b6c5397eda7e49ce4da5fc450bf582170feae76cf4.go create mode 100644 users/bdd758b3595e9571ef53ca2f0d5370ac7f7e6f0715ea835b89578cb9fb9dbf23.go create mode 100644 users/d3b984526e4db6de5f4d5cbafd0c107c9268d4e37d6e6012c930fe00e35a0dcc.go create mode 100644 users/f01bc838a35eefb89ce1e5d33b46d2ef8363294d8dd147dfc99f4c8a8a95b5dd.go create mode 100644 users/f782a862db9462f007948656a9aa412381b022d80a410ee844e1c09f6e7b9085.go create mode 100644 users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_post_request_body.go create mode 100644 users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_assign_and_activate_post_request_body.go create mode 100644 users/item_authentication_hardware_oath_methods_assign_and_activate_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_count_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_hardware_oath_authentication_method_item_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_activate_post_request_body.go create mode 100644 users/item_authentication_hardware_oath_methods_item_activate_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_deactivate_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_device_assign_to_mailbox_settings_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_device_assign_to_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_count_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_item_device_request_builder.go create mode 100644 users/item_authentication_hardware_oath_methods_request_builder.go diff --git a/admin/entra_request_builder.go b/admin/entra_request_builder.go index 1d5917bbe86..8485741ed05 100644 --- a/admin/entra_request_builder.go +++ b/admin/entra_request_builder.go @@ -55,7 +55,6 @@ func NewEntraRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb return NewEntraRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete navigation property entra for admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntraRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntraRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -72,7 +71,6 @@ func (m *EntraRequestBuilder) Delete(ctx context.Context, requestConfiguration * return nil } // Get a container for Microsoft Entra resources. Read-only. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a Entraable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntraRequestBuilder) Get(ctx context.Context, requestConfiguration *EntraRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, error) { @@ -93,7 +91,6 @@ func (m *EntraRequestBuilder) Get(ctx context.Context, requestConfiguration *Ent return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable), nil } // Patch update the navigation property entra in admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a Entraable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntraRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, requestConfiguration *EntraRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, error) { @@ -114,7 +111,6 @@ func (m *EntraRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6 return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable), nil } // ToDeleteRequestInformation delete navigation property entra for admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntraRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -126,7 +122,6 @@ func (m *EntraRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re return requestInfo, nil } // ToGetRequestInformation a container for Microsoft Entra resources. Read-only. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntraRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +136,6 @@ func (m *EntraRequestBuilder) ToGetRequestInformation(ctx context.Context, reque return requestInfo, nil } // ToPatchRequestInformation update the navigation property entra in admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, requestConfiguration *EntraRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -162,7 +156,6 @@ func (m *EntraRequestBuilder) UxSetting()(*EntraUxSettingRequestBuilder) { return NewEntraUxSettingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *EntraRequestBuilder when successful func (m *EntraRequestBuilder) WithUrl(rawUrl string)(*EntraRequestBuilder) { return NewEntraRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/admin/entra_ux_setting_request_builder.go b/admin/entra_ux_setting_request_builder.go index 19e4463df17..1d7c8de0df5 100644 --- a/admin/entra_ux_setting_request_builder.go +++ b/admin/entra_ux_setting_request_builder.go @@ -55,7 +55,6 @@ func NewEntraUxSettingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae return NewEntraUxSettingRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete navigation property uxSetting for admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntraUxSettingRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -72,7 +71,6 @@ func (m *EntraUxSettingRequestBuilder) Delete(ctx context.Context, requestConfig return nil } // Get get the properties and relationships of a uxSetting object. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a UxSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -96,7 +94,6 @@ func (m *EntraUxSettingRequestBuilder) Get(ctx context.Context, requestConfigura return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable), nil } // Patch update the properties of a uxSetting object. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a UxSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -120,7 +117,6 @@ func (m *EntraUxSettingRequestBuilder) Patch(ctx context.Context, body ie233ee76 return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable), nil } // ToDeleteRequestInformation delete navigation property uxSetting for admin -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraUxSettingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +128,6 @@ func (m *EntraUxSettingRequestBuilder) ToDeleteRequestInformation(ctx context.Co return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a uxSetting object. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraUxSettingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +142,6 @@ func (m *EntraUxSettingRequestBuilder) ToGetRequestInformation(ctx context.Conte return requestInfo, nil } // ToPatchRequestInformation update the properties of a uxSetting object. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *RequestInformation when successful func (m *EntraUxSettingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable, requestConfiguration *EntraUxSettingRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -163,7 +157,6 @@ func (m *EntraUxSettingRequestBuilder) ToPatchRequestInformation(ctx context.Con 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. -// Deprecated: as of 2023-11/PrivatePreview:BulkJobs // returns a *EntraUxSettingRequestBuilder when successful func (m *EntraUxSettingRequestBuilder) WithUrl(rawUrl string)(*EntraUxSettingRequestBuilder) { return NewEntraUxSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go index 6925083cc28..a817c7579e1 100644 --- a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go +++ b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of an operationalInsightsConnection object. +// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of a resourceConnection object. type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return nil } -// Get read the properties and relationships of an operationalInsightsConnection object. +// Get read the properties and relationships of a resourceConnection object. // returns a ResourceConnectionable 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/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object. +// ToGetRequestInformation read the properties and relationships of a resourceConnection object. // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index 60341fba6ef..bacfe7ae77f 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAssetGroup object. +// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAsset object. type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. +// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of an updatableAssetGroup object. +// Get read the properties and relationships of an updatableAsset object. // returns a UpdatableAssetable 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/windowsupdates-updatableassetgroup-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. +// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +147,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an updatableAssetGroup object. +// ToGetRequestInformation read the properties and relationships of an updatableAsset object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_participants_invite_request_builder.go b/app/calls_item_participants_invite_request_builder.go index f1aca6c9e0e..a741053253f 100644 --- a/app/calls_item_participants_invite_request_builder.go +++ b/app/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. +// 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. // 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-invite?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. +// 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. // 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/authenticationmethoddevices/authentication_method_device_item_request_builder.go b/authenticationmethoddevices/authentication_method_device_item_request_builder.go new file mode 100644 index 00000000000..3cc97021194 --- /dev/null +++ b/authenticationmethoddevices/authentication_method_device_item_request_builder.go @@ -0,0 +1,162 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDeviceItemRequestBuilder provides operations to manage the collection of authenticationMethodDevice entities. +type AuthenticationMethodDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters get entity from authenticationMethodDevices by key +type AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +} +// AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAuthenticationMethodDeviceItemRequestBuilderInternal instantiates a new AuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewAuthenticationMethodDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDeviceItemRequestBuilder) { + m := &AuthenticationMethodDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAuthenticationMethodDeviceItemRequestBuilder instantiates a new AuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewAuthenticationMethodDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete entity from authenticationMethodDevices +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get entity from authenticationMethodDevices by key +// returns a AuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable), nil +} +// HardwareOathDevices provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *ItemHardwareOathDevicesRequestBuilder when successful +func (m *AuthenticationMethodDeviceItemRequestBuilder) HardwareOathDevices()(*ItemHardwareOathDevicesRequestBuilder) { + return NewItemHardwareOathDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update entity in authenticationMethodDevices +// returns a AuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete entity from authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(*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 entity from authenticationMethodDevices by key +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(*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 entity in authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(*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 *AuthenticationMethodDeviceItemRequestBuilder when successful +func (m *AuthenticationMethodDeviceItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDeviceItemRequestBuilder) { + return NewAuthenticationMethodDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/authentication_method_devices_request_builder.go b/authenticationmethoddevices/authentication_method_devices_request_builder.go new file mode 100644 index 00000000000..1445d1913b0 --- /dev/null +++ b/authenticationmethoddevices/authentication_method_devices_request_builder.go @@ -0,0 +1,152 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesRequestBuilder provides operations to manage the collection of authenticationMethodDevice entities. +type AuthenticationMethodDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesRequestBuilderGetQueryParameters get entities from authenticationMethodDevices +type AuthenticationMethodDevicesRequestBuilderGetQueryParameters 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"` +} +// AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesRequestBuilderGetQueryParameters +} +// AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAuthenticationMethodDeviceId provides operations to manage the collection of authenticationMethodDevice entities. +// returns a *AuthenticationMethodDeviceItemRequestBuilder when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ByAuthenticationMethodDeviceId(authenticationMethodDeviceId string)(*AuthenticationMethodDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if authenticationMethodDeviceId != "" { + urlTplParams["authenticationMethodDevice%2Did"] = authenticationMethodDeviceId + } + return NewAuthenticationMethodDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationMethodDevicesRequestBuilderInternal instantiates a new AuthenticationMethodDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesRequestBuilder) { + m := &AuthenticationMethodDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesRequestBuilder instantiates a new AuthenticationMethodDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CountRequestBuilder when successful +func (m *AuthenticationMethodDevicesRequestBuilder) Count()(*CountRequestBuilder) { + return NewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get entities from authenticationMethodDevices +// returns a AuthenticationMethodDeviceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceCollectionResponseable), nil +} +// Post add new entity to authenticationMethodDevices +// returns a AuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable), nil +} +// ToGetRequestInformation get entities from authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration)(*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 add new entity to authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration)(*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 *AuthenticationMethodDevicesRequestBuilder when successful +func (m *AuthenticationMethodDevicesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesRequestBuilder) { + return NewAuthenticationMethodDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/count_request_builder.go b/authenticationmethoddevices/count_request_builder.go new file mode 100644 index 00000000000..5ec1389fd31 --- /dev/null +++ b/authenticationmethoddevices/count_request_builder.go @@ -0,0 +1,80 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CountRequestBuilder provides operations to count the resources in the collection. +type CountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CountRequestBuilderGetQueryParameters get the number of the resource +type CountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CountRequestBuilderGetQueryParameters +} +// NewCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CountRequestBuilder) { + m := &CountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCountRequestBuilderInternal(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 *CountRequestBuilder) Get(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *CountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration)(*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 *CountRequestBuilder when successful +func (m *CountRequestBuilder) WithUrl(rawUrl string)(*CountRequestBuilder) { + return NewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_count_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_count_request_builder.go new file mode 100644 index 00000000000..5ea389e1383 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_count_request_builder.go @@ -0,0 +1,80 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesCountRequestBuilder provides operations to count the resources in the collection. +type ItemHardwareOathDevicesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters +} +// NewItemHardwareOathDevicesCountRequestBuilderInternal instantiates a new ItemHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesCountRequestBuilder) { + m := &ItemHardwareOathDevicesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesCountRequestBuilder instantiates a new ItemHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesCountRequestBuilderInternal(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 *ItemHardwareOathDevicesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemHardwareOathDevicesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*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 *ItemHardwareOathDevicesCountRequestBuilder when successful +func (m *ItemHardwareOathDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesCountRequestBuilder) { + return NewItemHardwareOathDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_hardware_oath_token_authentication_method_device_item_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_hardware_oath_token_authentication_method_device_item_request_builder.go new file mode 100644 index 00000000000..94d22659967 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_hardware_oath_token_authentication_method_device_item_request_builder.go @@ -0,0 +1,162 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +} +// ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignTo provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +// returns a *ItemHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) AssignTo()(*ItemHardwareOathDevicesItemAssignToRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal instantiates a new ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + m := &ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder instantiates a new ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property hardwareOathDevices for authenticationMethodDevices +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// Patch update the navigation property hardwareOathDevices in authenticationMethodDevices +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete navigation property hardwareOathDevices for authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(*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 exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(*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 hardwareOathDevices in authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(*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 *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + return NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go new file mode 100644 index 00000000000..431747dab18 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder builds and executes requests for operations under \authenticationMethodDevices\{authenticationMethodDevice-id}\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings +type ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +type ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +} +// ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal instantiates a new ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + m := &ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder instantiates a new ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(*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 property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(*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 *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_request_builder.go new file mode 100644 index 00000000000..5803fe3b3e7 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_request_builder.go @@ -0,0 +1,91 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesItemAssignToRequestBuilder provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +type ItemHardwareOathDevicesItemAssignToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters assign the hardware OATH token to a user. +type ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +} +// NewItemHardwareOathDevicesItemAssignToRequestBuilderInternal instantiates a new ItemHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToRequestBuilder) { + m := &ItemHardwareOathDevicesItemAssignToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesItemAssignToRequestBuilder instantiates a new ItemHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesItemAssignToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get assign the hardware OATH token to a user. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesItemAssignToRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToRequestBuilder) MailboxSettings()(*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToRequestBuilder) ServiceProvisioningErrors()(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation assign the hardware OATH token to a user. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesItemAssignToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesItemAssignToRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_count_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_count_request_builder.go new file mode 100644 index 00000000000..bd8babff1f7 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_count_request_builder.go @@ -0,0 +1,80 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + m := &ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder instantiates a new ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(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 *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*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 *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_request_builder.go new file mode 100644 index 00000000000..2b9273d5ed3 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_item_assign_to_service_provisioning_errors_request_builder.go @@ -0,0 +1,98 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \authenticationMethodDevices\{authenticationMethodDevice-id}\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters 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"` +} +// ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal instantiates a new ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + m := &ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder instantiates a new ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Count()(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethoddevices/item_hardware_oath_devices_request_builder.go b/authenticationmethoddevices/item_hardware_oath_devices_request_builder.go new file mode 100644 index 00000000000..f4853afa549 --- /dev/null +++ b/authenticationmethoddevices/item_hardware_oath_devices_request_builder.go @@ -0,0 +1,152 @@ +package authenticationmethoddevices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemHardwareOathDevicesRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type ItemHardwareOathDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemHardwareOathDevicesRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type ItemHardwareOathDevicesRequestBuilderGetQueryParameters 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"` +} +// ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemHardwareOathDevicesRequestBuilderGetQueryParameters +} +// ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByHardwareOathTokenAuthenticationMethodDeviceId provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *ItemHardwareOathDevicesRequestBuilder) ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId string)(*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hardwareOathTokenAuthenticationMethodDeviceId != "" { + urlTplParams["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardwareOathTokenAuthenticationMethodDeviceId + } + return NewItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemHardwareOathDevicesRequestBuilderInternal instantiates a new ItemHardwareOathDevicesRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesRequestBuilder) { + m := &ItemHardwareOathDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemHardwareOathDevicesRequestBuilder instantiates a new ItemHardwareOathDevicesRequestBuilder and sets the default values. +func NewItemHardwareOathDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemHardwareOathDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemHardwareOathDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemHardwareOathDevicesCountRequestBuilder when successful +func (m *ItemHardwareOathDevicesRequestBuilder) Count()(*ItemHardwareOathDevicesCountRequestBuilder) { + return NewItemHardwareOathDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable), nil +} +// Post create new navigation property to hardwareOathDevices for authenticationMethodDevices +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemHardwareOathDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToGetRequestInformation exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration)(*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 hardwareOathDevices for authenticationMethodDevices +// returns a *RequestInformation when successful +func (m *ItemHardwareOathDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration)(*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 *ItemHardwareOathDevicesRequestBuilder when successful +func (m *ItemHardwareOathDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemHardwareOathDevicesRequestBuilder) { + return NewItemHardwareOathDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 705d331d1f6..8b074ef3213 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. +// 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. // 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-invite?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. +// 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. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go b/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go index 396b671d55a..17c052ccfee 100644 --- a/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go +++ b/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/6377bb7c04938896688aa5c99001b3d62cf4ad3a864cea9a6c7e6608871ea5ad.go b/deviceappmanagement/6377bb7c04938896688aa5c99001b3d62cf4ad3a864cea9a6c7e6608871ea5ad.go index 39d25e35677..7c6ecce6609 100644 --- a/deviceappmanagement/6377bb7c04938896688aa5c99001b3d62cf4ad3a864cea9a6c7e6608871ea5ad.go +++ b/deviceappmanagement/6377bb7c04938896688aa5c99001b3d62cf4ad3a864cea9a6c7e6608871ea5ad.go @@ -18,7 +18,7 @@ type IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. +// IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. type IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning } return nil } -// Get the associated group assignments for IosLobAppProvisioningConfiguration. +// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // returns a IosLobAppProvisioningConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentable, error) { @@ -121,7 +121,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // returns a *RequestInformation when successful func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go b/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go index 1477cf940e1..3baaa4e30ed 100644 --- a/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go +++ b/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go b/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go index 6fc5bf80b5a..da6a6c9b256 100644 --- a/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go +++ b/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go b/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go index d0cfb066c12..5bcdfd16bdc 100644 --- a/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go +++ b/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go b/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go index 666db560686..457a67098ad 100644 --- a/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go +++ b/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go b/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go index 1d0336d63f4..7940c24f374 100644 --- a/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go +++ b/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go b/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go index 9b4df51ef50..73c8f344528 100644 --- a/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go +++ b/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationship // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go b/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go index a587655639d..f4e2a48606b 100644 --- a/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go +++ b/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go index 99837d7a7c6..16eaa8fdfd8 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. +// IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. type IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewIosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder(rawUrl func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) Count()(*IosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilder) { return NewIosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the associated group assignments for IosLobAppProvisioningConfiguration. +// Get the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // returns a IosLobAppProvisioningConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppProvisioningConfigurationAssignmentable), nil } -// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // returns a *RequestInformation when successful func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go index 91d94aa8865..73e11416baa 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder(rawUrl s func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidForWorkAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidForWorkAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 3a00945df43..3b12aa27879 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go index f097e84b4f4..7cbe154fc0b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go index 0385bf97d13..1754a63f62c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder(raw func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidManagedStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidManagedStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go index 736af4c8666..5fb084b5147 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go index 6d79454cb40..f1f784c165c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder(rawUrl str func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 7ee0c344847..4d3c5debae9 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go index 071a07d1d61..5eb74895160 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosLobAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go index dea6fa4e751..dece73473f3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go index b5e70b4647f..7b6f064a3f9 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go index d0541428648..fb41ac3a083 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go index 0c78baec05e..dc34bede80d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosVppAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosVppAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosVppAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go index 6fbe4218608..9a76d738e42 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go index bd6f6ac4bf4..bd2eab8ffad 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSDmgAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSDmgAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 0d8479b71cc..27456812bba 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go index ce43c37f0a0..f9641b2b34c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go index c6b0b372c2d..91aa2abe612 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go index 0c6f76fcd17..1f79e1604fb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSPkgAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSPkgAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go index f45ea1c06da..e0f10f56afa 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder(rawUr func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedAndroidLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedAndroidLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go index fafe766181d..fdb862d5090 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder(rawUrl st func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedIOSLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedIOSLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go index ec8f77796a8..9fb88f603ce 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder(rawUrl func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedMobileLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedMobileLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go index 803fce06664..4d58a737ee9 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuild func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 8106d98fb83..c10df7ed98f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go index d51a2ffa0f7..396e6132afa 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWin32LobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWin32LobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go index 68525e095d3..0815419459e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go index 8ec9bab5750..a449fb8d3a4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWinGetAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWinGetAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWinGetAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go index 5dd5dab3a7c..d8aec3d4193 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go index f9d016bdae4..43ea9050a5a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsAppXRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsAppXRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go index 31023821c96..a4e70b5781c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder(rawUrl st func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsMobileMSIRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsMobileMSIRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go index 65fc4cb5fe8..867f95a5435 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go index cec477b327a..726f73ab2cf 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder(rawUrl str func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go index 6bcc2b012ad..d40cc99add4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder(rawUr func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsUniversalAppXRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsUniversalAppXRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go index e337a83c0e5..67ec4fc924c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go index f828e778fb2..3338c21cdc0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsWebAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go index c735e11f2ca..c50c3f38993 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Del } return nil } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go index 93080353eaf..b0ebbdcbc13 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. +// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. type MobileAppsItemRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemRelationshipsRequestBuilder(rawUrl string, requestAdapter func (m *MobileAppsItemRelationshipsRequestBuilder) Count()(*MobileAppsItemRelationshipsCountRequestBuilder) { return NewMobileAppsItemRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the set of direct relationships for this app. +// Get list of relationships for this mobile app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemRelationshipsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation the set of direct relationships for this app. +// ToGetRequestInformation list of relationships for this mobile app. // returns a *RequestInformation when successful func (m *MobileAppsItemRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go b/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go index 3647e44dd61..add8007fa97 100644 --- a/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go +++ b/devicemanagement/f210dc303781fcb06137dd73f0d2da836067d2e960010b7576538b293618c8a0.go @@ -18,7 +18,7 @@ type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return nil } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -126,7 +126,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 9ab489528b6..09ea29a717d 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Count()(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go index 4b32c89b294..659442d8897 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_review_status_request_builder.go @@ -31,9 +31,12 @@ func NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function retrieveReviewStatus +// Get get the review status of a Cloud PC. // returns a CloudPcReviewStatusable 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/cloudpc-retrievereviewstatus?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } -// ToGetRequestInformation invoke function retrieveReviewStatus +// ToGetRequestInformation get the review status of a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_snapshots_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_snapshots_request_builder.go index 7492f77f27d..e1500d9a2ad 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_snapshots_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retrieve_snapshots_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters invoke function retrieveSnapshots +// VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters list all cloudPcSnapshot resources for a Cloud PC. type VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewVirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function retrieveSnapshots +// Get list all cloudPcSnapshot resources for a Cloud PC. // Deprecated: This method is obsolete. Use GetAsRetrieveSnapshotsGetResponse instead. // returns a VirtualEndpointCloudPCsItemRetrieveSnapshotsResponseable 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/cloudpc-retrievesnapshots?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemRetrieveSnapshotsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder) Get(ctx con } return res.(VirtualEndpointCloudPCsItemRetrieveSnapshotsResponseable), nil } -// GetAsRetrieveSnapshotsGetResponse invoke function retrieveSnapshots +// GetAsRetrieveSnapshotsGetResponse list all cloudPcSnapshot resources for a Cloud PC. // returns a VirtualEndpointCloudPCsItemRetrieveSnapshotsGetResponseable 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/cloudpc-retrievesnapshots?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder) GetAsRetrieveSnapshotsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemRetrieveSnapshotsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder) GetAsRetrie } return res.(VirtualEndpointCloudPCsItemRetrieveSnapshotsGetResponseable), nil } -// ToGetRequestInformation invoke function retrieveSnapshots +// ToGetRequestInformation list all cloudPcSnapshot resources for a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go index 0a6e8282623..8e3656c0ab3 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_set_review_status_request_builder.go @@ -30,8 +30,11 @@ func NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action setReviewStatus +// Post set the review status of a specific Cloud PC device using the Cloud PC ID. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-setreviewstatus?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx cont } return nil } -// ToPostRequestInformation invoke action setReviewStatus +// ToPostRequestInformation set the review status of a specific Cloud PC device using the Cloud PC ID. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_performance_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_performance_report_request_builder.go index ac92c580695..4569bc81f19 100644 --- a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_performance_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_performance_report_request_builder.go @@ -30,9 +30,12 @@ func NewVirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action getCloudPcPerformanceReport +// Post get a report related to the performance of Cloud PCs. // returns a []byte when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getcloudpcperformancereport?view=graph-rest-beta func (m *VirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetCloudPcPerformanceReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -50,7 +53,7 @@ func (m *VirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilder) Post(c } return res.([]byte), nil } -// ToPostRequestInformation invoke action getCloudPcPerformanceReport +// ToPostRequestInformation get a report related to the performance of Cloud PCs. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetCloudPcPerformanceReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetCloudPcPerformanceReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/3a288dd9dd01023a708c2547153e7638a7e5ae6e450d08cb01cd87629b04d63a.go b/directory/3a288dd9dd01023a708c2547153e7638a7e5ae6e450d08cb01cd87629b04d63a.go new file mode 100644 index 00000000000..b958dada594 --- /dev/null +++ b/directory/3a288dd9dd01023a708c2547153e7638a7e5ae6e450d08cb01cd87629b04d63a.go @@ -0,0 +1,98 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \directory\authenticationMethodDevices\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters 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"` +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Count()(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/3bf9761d4313e8d1167ce2438336411141d8d5e726ed9f2aa23300888140ecda.go b/directory/3bf9761d4313e8d1167ce2438336411141d8d5e726ed9f2aa23300888140ecda.go new file mode 100644 index 00000000000..012a5a10477 --- /dev/null +++ b/directory/3bf9761d4313e8d1167ce2438336411141d8d5e726ed9f2aa23300888140ecda.go @@ -0,0 +1,171 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters read the properties and relationships of a hardwareOathTokenAuthenticationMethodDevice object. +type AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +} +// AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignTo provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) AssignTo()(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a Hardware OATH token. Token needs to be unassigned. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethoddevice-delete-hardwareoathdevices?view=graph-rest-beta +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a hardwareOathTokenAuthenticationMethodDevice object. +// returns a HardwareOathTokenAuthenticationMethodDeviceable 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/hardwareoathtokenauthenticationmethoddevice-get?view=graph-rest-beta +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// Patch update the properties of a hardwareOathTokenAuthenticationMethodDevice object. The token needs to unassigned. +// returns a HardwareOathTokenAuthenticationMethodDeviceable 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/hardwareoathtokenauthenticationmethoddevice-update?view=graph-rest-beta +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete a Hardware OATH token. Token needs to be unassigned. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a hardwareOathTokenAuthenticationMethodDevice object. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a hardwareOathTokenAuthenticationMethodDevice object. The token needs to unassigned. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(*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 *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/621cf564056639c4a66a27806647f83e66971754f5ec9e6fe533a42b8540596f.go b/directory/621cf564056639c4a66a27806647f83e66971754f5ec9e6fe533a42b8540596f.go new file mode 100644 index 00000000000..6a8f7158ce6 --- /dev/null +++ b/directory/621cf564056639c4a66a27806647f83e66971754f5ec9e6fe533a42b8540596f.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(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 *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*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 *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/authentication_method_devices_hardware_oath_devices_count_request_builder.go b/directory/authentication_method_devices_hardware_oath_devices_count_request_builder.go new file mode 100644 index 00000000000..2d601a78a79 --- /dev/null +++ b/directory/authentication_method_devices_hardware_oath_devices_count_request_builder.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder provides operations to count the resources in the collection. +type AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters get the number of the resource +type AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters +} +// NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderInternal(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 *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*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 *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go b/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go new file mode 100644 index 00000000000..4aed4d75988 --- /dev/null +++ b/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder builds and executes requests for operations under \directory\authenticationMethodDevices\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(*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 property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(*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 *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_request_builder.go b/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_request_builder.go new file mode 100644 index 00000000000..76287b103fe --- /dev/null +++ b/directory/authentication_method_devices_hardware_oath_devices_item_assign_to_request_builder.go @@ -0,0 +1,91 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters assign the hardware OATH token to a user. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get assign the hardware OATH token to a user. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) MailboxSettings()(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) ServiceProvisioningErrors()(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation assign the hardware OATH token to a user. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/authentication_method_devices_hardware_oath_devices_request_builder.go b/directory/authentication_method_devices_hardware_oath_devices_request_builder.go new file mode 100644 index 00000000000..702f544168b --- /dev/null +++ b/directory/authentication_method_devices_hardware_oath_devices_request_builder.go @@ -0,0 +1,158 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters list all hardware OATH tokens in the directory. +type AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters 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"` +} +// AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters +} +// AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByHardwareOathTokenAuthenticationMethodDeviceId provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId string)(*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hardwareOathTokenAuthenticationMethodDeviceId != "" { + urlTplParams["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardwareOathTokenAuthenticationMethodDeviceId + } + return NewAuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilderInternal instantiates a new AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) { + m := &AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilder instantiates a new AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) Count()(*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list all hardware OATH tokens in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable 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/authenticationmethoddevice-list-hardwareoathdevices?view=graph-rest-beta +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable), nil +} +// Post create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. +// returns a HardwareOathTokenAuthenticationMethodDeviceable 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/authenticationmethoddevice-update?view=graph-rest-beta +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToGetRequestInformation list all hardware OATH tokens in the directory. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration)(*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 a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration)(*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 *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder when successful +func (m *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/authentication_method_devices_request_builder.go b/directory/authentication_method_devices_request_builder.go new file mode 100644 index 00000000000..061d3478649 --- /dev/null +++ b/directory/authentication_method_devices_request_builder.go @@ -0,0 +1,162 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationMethodDevicesRequestBuilder provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. +type AuthenticationMethodDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AuthenticationMethodDevicesRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type AuthenticationMethodDevicesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationMethodDevicesRequestBuilderGetQueryParameters +} +// AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAuthenticationMethodDevicesRequestBuilderInternal instantiates a new AuthenticationMethodDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesRequestBuilder) { + m := &AuthenticationMethodDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices{?%24expand,%24select}", pathParameters), + } + return m +} +// NewAuthenticationMethodDevicesRequestBuilder instantiates a new AuthenticationMethodDevicesRequestBuilder and sets the default values. +func NewAuthenticationMethodDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationMethodDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationMethodDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property authenticationMethodDevices for directory +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get exposes the hardware OATH method in the directory. +// returns a AuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable), nil +} +// HardwareOathDevices provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder when successful +func (m *AuthenticationMethodDevicesRequestBuilder) HardwareOathDevices()(*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder) { + return NewAuthenticationMethodDevicesHardwareOathDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property authenticationMethodDevices in directory +// returns a AuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AuthenticationMethodDevicesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete navigation property authenticationMethodDevices for directory +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration)(*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 exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration)(*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 authenticationMethodDevices in directory +// returns a *RequestInformation when successful +func (m *AuthenticationMethodDevicesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable, requestConfiguration *AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration)(*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 *AuthenticationMethodDevicesRequestBuilder when successful +func (m *AuthenticationMethodDevicesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodDevicesRequestBuilder) { + return NewAuthenticationMethodDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/directory_request_builder.go b/directory/directory_request_builder.go index 9e5ff62eb7c..195f919f1d5 100644 --- a/directory/directory_request_builder.go +++ b/directory/directory_request_builder.go @@ -44,6 +44,11 @@ func (m *DirectoryRequestBuilder) AdministrativeUnits()(*AdministrativeUnitsRequ func (m *DirectoryRequestBuilder) AttributeSets()(*AttributeSetsRequestBuilder) { return NewAttributeSetsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AuthenticationMethodDevices provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. +// returns a *AuthenticationMethodDevicesRequestBuilder when successful +func (m *DirectoryRequestBuilder) AuthenticationMethodDevices()(*AuthenticationMethodDevicesRequestBuilder) { + return NewAuthenticationMethodDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // CertificateAuthorities provides operations to manage the certificateAuthorities property of the microsoft.graph.directory entity. // returns a *CertificateAuthoritiesRequestBuilder when successful func (m *DirectoryRequestBuilder) CertificateAuthorities()(*CertificateAuthoritiesRequestBuilder) { diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 8381d121be7..8eff23647db 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.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-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,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 ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index a80c6d43bf8..a39978bcfb4 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -91,12 +91,12 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) EntireRow()(*ItemIte func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) RowWithRow(row *int3 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index 8e3bc701df7..a84c9e3dced 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -91,12 +91,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Entire func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// Get retrieve the properties and relationships of range object. // returns a WorkbookRangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -184,7 +184,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) RowWit func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Sort()(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. +// ToGetRequestInformation retrieve the properties and relationships of range object. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 626528b21d0..1a56771a724 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -106,12 +106,12 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the relatedContact collection of an educationUser object. +// Patch update the properties of an educationuser object. // returns a EducationUserable 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/relatedcontact-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta func (m *UsersEducationUserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +169,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the relatedContact collection of an educationUser object. +// ToPatchRequestInformation update the properties of an educationuser object. // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/authorization_systems_authorization_system_item_request_builder.go b/external/authorization_systems_authorization_system_item_request_builder.go index 7eae4fdf54c..82d9c89a500 100644 --- a/external/authorization_systems_authorization_system_item_request_builder.go +++ b/external/authorization_systems_authorization_system_item_request_builder.go @@ -18,7 +18,7 @@ type AuthorizationSystemsAuthorizationSystemItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthorizationSystemsAuthorizationSystemItemRequestBuilderGetQueryParameters represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. +// AuthorizationSystemsAuthorizationSystemItemRequestBuilderGetQueryParameters represents an onboarded Amazon Web Services (AWS) account, Azure subscription, or Google Cloud Platform (GCP) project that Microsoft Entra Permissions Management collects and analyzes permissions and actions on. type AuthorizationSystemsAuthorizationSystemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) Delete(ctx c } return nil } -// Get represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. +// Get represents an onboarded Amazon Web Services (AWS) account, Azure subscription, or Google Cloud Platform (GCP) project that Microsoft Entra Permissions Management collects and analyzes permissions and actions on. // returns a AuthorizationSystemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthorizationSystemsAuthorizationSystemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationSystemable, error) { @@ -126,7 +126,7 @@ func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. +// ToGetRequestInformation represents an onboarded Amazon Web Services (AWS) account, Azure subscription, or Google Cloud Platform (GCP) project that Microsoft Entra Permissions Management collects and analyzes permissions and actions on. // returns a *RequestInformation when successful func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthorizationSystemsAuthorizationSystemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go index 77c07fa7852..728a1b66054 100644 --- a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go +++ b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go @@ -101,12 +101,12 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Get(ctx context. } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// Patch update the properties of an inboundFileFlow object. +// Patch update the properties of an inboundApiFlow object. // returns a InboundFlowable 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/industrydata-inboundfileflow-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an inboundFileFlow object. +// ToPatchRequestInformation update the properties of an inboundApiFlow object. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index 00470f9d106..18a16d2941e 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -99,12 +99,12 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundFileFlow object. +// Post create a new inboundApiFlow object. // returns a InboundFlowable 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/industrydata-inboundfileflow-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new inboundFileFlow object. +// ToPostRequestInformation create a new inboundApiFlow object. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/graph_base_service_client.go b/graph_base_service_client.go index 96fae69044c..6122deff62b 100644 --- a/graph_base_service_client.go +++ b/graph_base_service_client.go @@ -66,6 +66,7 @@ import ( i65ec2d26e2745c20b2909e217069fc9c66fc5d6b449f4f50e1f705a550f3e781 "github.com/microsoftgraph/msgraph-beta-sdk-go/filteringpolicies" i65ed27543dee9887d3df7d7d883303dfead48cba6be4e357fa7d5c21332b4626 "github.com/microsoftgraph/msgraph-beta-sdk-go/admin" i66f18ccab4e34309d26d1056f0e7dd8b563a5f8ee6f8d9c6e8e77c5fac50f8b5 "github.com/microsoftgraph/msgraph-beta-sdk-go/teamstemplates" + i6878457452f8bce5904d31522016d9cbd75b82042526e5ae91637c530b8658e8 "github.com/microsoftgraph/msgraph-beta-sdk-go/authenticationmethoddevices" i6b96a96c52bbdff1731b8a5490cd5f342e33866e0931912944d323bc79f663e4 "github.com/microsoftgraph/msgraph-beta-sdk-go/privilegedsignupstatus" i6c3f8c4b4b571cf0fbb7c7c8791ae736e28cc3f4bb62262698b6291c13e127b9 "github.com/microsoftgraph/msgraph-beta-sdk-go/auditlogs" i6e398703c86ec3814400d80161079e7253c4e25f4ba1adb0c8d31da236f7bcd7 "github.com/microsoftgraph/msgraph-beta-sdk-go/directory" @@ -227,6 +228,11 @@ func (m *GraphBaseServiceClient) AuditLogs()(*i6c3f8c4b4b571cf0fbb7c7c8791ae736e func (m *GraphBaseServiceClient) AuthenticationMethodConfigurations()(*i8e667c6208be96da3103b8806ff97028502c18052414fe99a224c1565834ca0f.AuthenticationMethodConfigurationsRequestBuilder) { return i8e667c6208be96da3103b8806ff97028502c18052414fe99a224c1565834ca0f.NewAuthenticationMethodConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// AuthenticationMethodDevices provides operations to manage the collection of authenticationMethodDevice entities. +// returns a *AuthenticationMethodDevicesRequestBuilder when successful +func (m *GraphBaseServiceClient) AuthenticationMethodDevices()(*i6878457452f8bce5904d31522016d9cbd75b82042526e5ae91637c530b8658e8.AuthenticationMethodDevicesRequestBuilder) { + return i6878457452f8bce5904d31522016d9cbd75b82042526e5ae91637c530b8658e8.NewAuthenticationMethodDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // AuthenticationMethodsPolicy provides operations to manage the authenticationMethodsPolicy singleton. // returns a *AuthenticationMethodsPolicyRequestBuilder when successful func (m *GraphBaseServiceClient) AuthenticationMethodsPolicy()(*i39dbae52481ac3c9530d9fae0a2292348b8f7327bab28ea21183045324adadbc.AuthenticationMethodsPolicyRequestBuilder) { diff --git a/groups/group_item_request_builder.go b/groups/group_item_request_builder.go index ab56148873c..7189639d173 100644 --- a/groups/group_item_request_builder.go +++ b/groups/group_item_request_builder.go @@ -109,7 +109,7 @@ func (m *GroupItemRequestBuilder) Conversations()(*ItemConversationsRequestBuild func (m *GroupItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalfOfRequestBuilder) { return NewItemCreatedOnBehalfOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -334,7 +334,7 @@ func (m *GroupItemRequestBuilder) Team()(*ItemTeamRequestBuilder) { func (m *GroupItemRequestBuilder) Threads()(*ItemThreadsRequestBuilder) { return NewItemThreadsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index cf52f10a649..857edf5fd9d 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -119,12 +119,12 @@ func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequestBuilder) { return NewGetUserOwnedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// Post create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta func (m *GroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -156,7 +156,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. +// ToPostRequestInformation create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go index 7e8a391debe..03b051700fe 100644 --- a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -54,7 +54,7 @@ func NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an appRoleAssignment that a group has been granted. +// Delete delete an appRoleAssignment that a group has been granted. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -113,7 +113,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToDeleteRequestInformation deletes an appRoleAssignment that a group has been granted. +// ToDeleteRequestInformation delete an appRoleAssignment that a group has been granted. // returns a *RequestInformation when successful func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_assign_license_request_builder.go b/groups/item_assign_license_request_builder.go index e4004010f4e..f47cd245be7 100644 --- a/groups/item_assign_license_request_builder.go +++ b/groups/item_assign_license_request_builder.go @@ -31,7 +31,7 @@ func NewItemAssignLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemAssignLicenseRequestBuilderInternal(urlParams, requestAdapter) } -// Post add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. +// Post add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ItemAssignLicenseRequestBuilder) Post(ctx context.Context, body ItemAss } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable), nil } -// ToPostRequestInformation add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. +// ToPostRequestInformation add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. // returns a *RequestInformation when successful func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAssignLicensePostRequestBodyable, requestConfiguration *ItemAssignLicenseRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_delta_request_builder.go b/groups/item_calendar_calendar_view_delta_request_builder.go index 5e625b2d72c..ed3a269b8c5 100644 --- a/groups/item_calendar_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, r } return res.(ItemCalendarCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(ItemCalendarCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index f540ee39a01..9445dc75b41 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index f12cd1afc12..927bbe86b7c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go index 0adabc2a9c4..2306d1d1276 100644 --- a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx conte } return res.(ItemCalendarCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGet } return res.(ItemCalendarCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 8ec911dc708..ac5009e77dd 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } return res.(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } return res.(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_delta_request_builder.go b/groups/item_calendar_events_delta_request_builder.go index c292c217c19..a2d6304b42f 100644 --- a/groups/item_calendar_events_delta_request_builder.go +++ b/groups/item_calendar_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, request } return res.(ItemCalendarEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx contex } return res.(ItemCalendarEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go index bda200ce1aa..06d35fa5f47 100644 --- a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx } return res.(ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDel } return res.(ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index af54f11908a..c41f49bdc9a 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } return res.(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } return res.(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_instances_delta_request_builder.go index 19c12d6b5dc..7d454e474ae 100644 --- a/groups/item_calendar_events_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Con } return res.(ItemCalendarEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetRespon } return res.(ItemCalendarEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index 53899d901f0..ca4b2584d3d 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } return res.(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } return res.(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_delta_request_builder.go b/groups/item_calendar_view_delta_request_builder.go index c103b7aa8a7..2edc1b2a0ec 100644 --- a/groups/item_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go index 1dbc9615a02..26aa74c8a76 100644 --- a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx co } return res.(ItemCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDelta } return res.(ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 753218b177c..82508488401 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } return res.(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } return res.(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_instances_delta_request_builder.go index 0e3d76c3ba8..e6ab5df83e4 100644 --- a/groups/item_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Conte } return res.(ItemCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse } return res.(ItemCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index edc3e4fd902..3e20065f9ce 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 1164dee250c..037b3ca73c4 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters get a group's conversation object. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,11 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemConversationsConversationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete conversation. +// Delete delete a group's conversation 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/conversation-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-beta func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +66,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of conversation object. +// Get get a group's conversation object. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-beta func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +94,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Contex func (m *ItemConversationsConversationItemRequestBuilder) Threads()(*ItemConversationsItemThreadsRequestBuilder) { return NewItemConversationsItemThreadsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete conversation. +// ToDeleteRequestInformation delete a group's conversation object. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +105,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of conversation object. +// ToGetRequestInformation get a group's conversation object. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 96976918e32..7bc4e302787 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_delta_request_builder.go b/groups/item_events_delta_request_builder.go index 18c91978249..ed6b9e9fbf2 100644 --- a/groups/item_events_delta_request_builder.go +++ b/groups/item_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ItemEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Contex } return res.(ItemEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_exception_occurrences_delta_request_builder.go index 6698cd826d4..97e1fff25e0 100644 --- a/groups/item_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context. } return res.(ItemEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetRes } return res.(ItemEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index c12de99b0fb..e79f257b113 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get } return res.(ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get } return res.(ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_delta_request_builder.go b/groups/item_events_item_instances_delta_request_builder.go index 62fe0565253..8300da0a453 100644 --- a/groups/item_events_item_instances_delta_request_builder.go +++ b/groups/item_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, re } return res.(ItemEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx c } return res.(ItemEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index a6ddf253d7f..dcf77b1a2b7 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_onenote_notebooks_notebook_item_request_builder.go index 61c470ce9aa..df955c8e1d9 100644 --- a/groups/item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_onenote_notebooks_notebook_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteNotebooksNotebookItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { @@ -136,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_request_builder.go b/groups/item_onenote_notebooks_request_builder.go index cb0331a4045..79935fbccdd 100644 --- a/groups/item_onenote_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { @@ -126,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_onenote_pages_onenote_page_item_request_builder.go index c160ddecd1e..b9f498580e2 100644 --- a/groups/item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_pages_onenote_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable, error) { @@ -151,7 +151,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_pages_request_builder.go b/groups/item_onenote_pages_request_builder.go index b97a3d4a47e..4906f4b245d 100644 --- a/groups/item_onenote_pages_request_builder.go +++ b/groups/item_onenote_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenotePagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenotePagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOnenotePagesRequestBuilder) Count()(*ItemOnenotePagesCountRequestBuilder) { return NewItemOnenotePagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenotePagesRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable), nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_section_groups_request_builder.go b/groups/item_onenote_section_groups_request_builder.go index 2ce7870edcd..67ad631d94a 100644 --- a/groups/item_onenote_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_onenote_section_groups_section_group_item_request_builder.go index 752f776e383..cade19b5e00 100644 --- a/groups/item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_section_groups_section_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_onenote_sections_onenote_section_item_request_builder.go index c945d1f8e9e..f0c06359704 100644 --- a/groups/item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_sections_onenote_section_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { @@ -146,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_sections_request_builder.go b/groups/item_onenote_sections_request_builder.go index 1fe24120176..258bb91ee99 100644 --- a/groups/item_onenote_sections_request_builder.go +++ b/groups/item_onenote_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_owners_item_ref_request_builder.go b/groups/item_owners_item_ref_request_builder.go index a1854475940..c24f1e64c3e 100644 --- a/groups/item_owners_item_ref_request_builder.go +++ b/groups/item_owners_item_ref_request_builder.go @@ -30,7 +30,7 @@ func NewItemOwnersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemOwnersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. +// Delete remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -49,7 +49,7 @@ func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// ToDeleteRequestInformation use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. +// ToDeleteRequestInformation remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. // returns a *RequestInformation when successful func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_owners_ref_request_builder.go b/groups/item_owners_ref_request_builder.go index 6661d2a8cc1..133de4c51d6 100644 --- a/groups/item_owners_ref_request_builder.go +++ b/groups/item_owners_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnersRefRequestBuilderDeleteQueryParameters use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. +// ItemOwnersRefRequestBuilderDeleteQueryParameters remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. type ItemOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,7 +69,7 @@ func NewItemOwnersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemOwnersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. +// Delete remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -130,7 +130,7 @@ func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e } return nil } -// ToDeleteRequestInformation use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. +// ToDeleteRequestInformation remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/groups/{group%2Did}/owners/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_permission_grants_request_builder.go b/groups/item_permission_grants_request_builder.go index 2fd95a84c1d..6ca4bd99b1a 100644 --- a/groups/item_permission_grants_request_builder.go +++ b/groups/item_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. +// ItemPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. type ItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemPermissionGrantsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemPermissionGrantsRequestBuilder) Count()(*ItemPermissionGrantsCountRequestBuilder) { return NewItemPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. +// Get list all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -119,7 +119,7 @@ func (m *ItemPermissionGrantsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation list all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. // returns a *RequestInformation when successful func (m *ItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go index 1aeb791437c..4ad1eb5751c 100644 --- a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx con } return nil } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { @@ -136,7 +136,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_request_builder.go index ed8f31a9bb7..c18bc6e9e29 100644 --- a/groups/item_sites_item_onenote_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapte func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { @@ -126,7 +126,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go index e2a19064264..242b4a2dea9 100644 --- a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx cont } return nil } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable, error) { @@ -151,7 +151,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_pages_request_builder.go b/groups/item_sites_item_onenote_pages_request_builder.go index 8b27b9b2285..6114dd29963 100644 --- a/groups/item_sites_item_onenote_pages_request_builder.go +++ b/groups/item_sites_item_onenote_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenotePagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenotePagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemOnenotePagesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemSitesItemOnenotePagesRequestBuilder) Count()(*ItemSitesItemOnenotePagesCountRequestBuilder) { return NewItemSitesItemOnenotePagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenotePagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemOnenotePagesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable), nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_request_builder.go index bde2c9a8326..e72360c8cd7 100644 --- a/groups/item_sites_item_onenote_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAd func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go index 8ba8f17ea7c..78b78657287 100644 --- a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete } return nil } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { @@ -141,7 +141,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go index ededd0bd503..3f3e6db8030 100644 --- a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ct } return nil } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { @@ -146,7 +146,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_sections_request_builder.go b/groups/item_sites_item_onenote_sections_request_builder.go index 4da08364ae6..e3cac30b328 100644 --- a/groups/item_sites_item_onenote_sections_request_builder.go +++ b/groups/item_sites_item_onenote_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemSitesItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemSitesItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_channel_item_request_builder.go b/groups/item_team_channels_channel_item_request_builder.go index 2f7a0535560..c546e1f1682 100644 --- a/groups/item_team_channels_channel_item_request_builder.go +++ b/groups/item_team_channels_channel_item_request_builder.go @@ -110,6 +110,11 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemTeamChannelsChannelItemRequestBuilder) GetAllMembers()(*ItemTeamChannelsItemGetAllMembersRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemTeamChannelsItemMembersRequestBuilder when successful func (m *ItemTeamChannelsChannelItemRequestBuilder) Members()(*ItemTeamChannelsItemMembersRequestBuilder) { diff --git a/groups/item_team_channels_item_get_all_members_add_post_request_body.go b/groups/item_team_channels_item_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..9dcca3369f2 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamChannelsItemGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamChannelsItemGetAllMembersAddPostRequestBody instantiates a new ItemTeamChannelsItemGetAllMembersAddPostRequestBody and sets the default values. +func NewItemTeamChannelsItemGetAllMembersAddPostRequestBody()(*ItemTeamChannelsItemGetAllMembersAddPostRequestBody) { + m := &ItemTeamChannelsItemGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersAddPostRequestBody(), 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 *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamChannelsItemGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/groups/item_team_channels_item_get_all_members_add_post_response.go b/groups/item_team_channels_item_get_all_members_add_post_response.go new file mode 100644 index 00000000000..e69e95248fe --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamChannelsItemGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamChannelsItemGetAllMembersAddPostResponse instantiates a new ItemTeamChannelsItemGetAllMembersAddPostResponse and sets the default values. +func NewItemTeamChannelsItemGetAllMembersAddPostResponse()(*ItemTeamChannelsItemGetAllMembersAddPostResponse) { + m := &ItemTeamChannelsItemGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamChannelsItemGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamChannelsItemGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemGetAllMembersAddPostResponse) 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 *ItemTeamChannelsItemGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/groups/item_team_channels_item_get_all_members_add_request_builder.go b/groups/item_team_channels_item_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..133f697c42b --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemTeamChannelsItemGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemGetAllMembersAddRequestBuilderInternal instantiates a new ItemTeamChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersAddRequestBuilder) { + m := &ItemTeamChannelsItemGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/add", pathParameters), + } + return m +} +// NewItemTeamChannelsItemGetAllMembersAddRequestBuilder instantiates a new ItemTeamChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemTeamChannelsItemGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamChannelsItemGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamChannelsItemGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamChannelsItemGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemTeamChannelsItemGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamChannelsItemGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamChannelsItemGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemTeamChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_get_all_members_add_response.go b/groups/item_team_channels_item_get_all_members_add_response.go new file mode 100644 index 00000000000..c409518c708 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamChannelsItemGetAllMembersAddPostResponseable instead. +type ItemTeamChannelsItemGetAllMembersAddResponse struct { + ItemTeamChannelsItemGetAllMembersAddPostResponse +} +// NewItemTeamChannelsItemGetAllMembersAddResponse instantiates a new ItemTeamChannelsItemGetAllMembersAddResponse and sets the default values. +func NewItemTeamChannelsItemGetAllMembersAddResponse()(*ItemTeamChannelsItemGetAllMembersAddResponse) { + m := &ItemTeamChannelsItemGetAllMembersAddResponse{ + ItemTeamChannelsItemGetAllMembersAddPostResponse: *NewItemTeamChannelsItemGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemTeamChannelsItemGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamChannelsItemGetAllMembersAddPostResponseable instead. +type ItemTeamChannelsItemGetAllMembersAddResponseable interface { + ItemTeamChannelsItemGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_team_channels_item_get_all_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..ef4a6177546 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from groups +type ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for groups +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for groups +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from groups +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in groups +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_get_all_members_count_request_builder.go b/groups/item_team_channels_item_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..9b8d8ad8909 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamChannelsItemGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemTeamChannelsItemGetAllMembersCountRequestBuilderInternal instantiates a new ItemTeamChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersCountRequestBuilder) { + m := &ItemTeamChannelsItemGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTeamChannelsItemGetAllMembersCountRequestBuilder instantiates a new ItemTeamChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemGetAllMembersCountRequestBuilderInternal(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 *ItemTeamChannelsItemGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemTeamChannelsItemGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemTeamChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_get_all_members_remove_post_request_body.go b/groups/item_team_channels_item_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..9b1b1eb92d0 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamChannelsItemGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamChannelsItemGetAllMembersRemovePostRequestBody instantiates a new ItemTeamChannelsItemGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRemovePostRequestBody()(*ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) { + m := &ItemTeamChannelsItemGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersRemovePostRequestBody(), 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 *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamChannelsItemGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/groups/item_team_channels_item_get_all_members_remove_post_response.go b/groups/item_team_channels_item_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..ede1510471c --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamChannelsItemGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamChannelsItemGetAllMembersRemovePostResponse instantiates a new ItemTeamChannelsItemGetAllMembersRemovePostResponse and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRemovePostResponse()(*ItemTeamChannelsItemGetAllMembersRemovePostResponse) { + m := &ItemTeamChannelsItemGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamChannelsItemGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamChannelsItemGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemGetAllMembersRemovePostResponse) 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 *ItemTeamChannelsItemGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/groups/item_team_channels_item_get_all_members_remove_request_builder.go b/groups/item_team_channels_item_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..ee107620c6a --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) { + m := &ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilder instantiates a new ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemTeamChannelsItemGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamChannelsItemGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemTeamChannelsItemGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamChannelsItemGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_get_all_members_remove_response.go b/groups/item_team_channels_item_get_all_members_remove_response.go new file mode 100644 index 00000000000..b43e5e57466 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemTeamChannelsItemGetAllMembersRemoveResponse struct { + ItemTeamChannelsItemGetAllMembersRemovePostResponse +} +// NewItemTeamChannelsItemGetAllMembersRemoveResponse instantiates a new ItemTeamChannelsItemGetAllMembersRemoveResponse and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRemoveResponse()(*ItemTeamChannelsItemGetAllMembersRemoveResponse) { + m := &ItemTeamChannelsItemGetAllMembersRemoveResponse{ + ItemTeamChannelsItemGetAllMembersRemovePostResponse: *NewItemTeamChannelsItemGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemTeamChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemTeamChannelsItemGetAllMembersRemoveResponseable interface { + ItemTeamChannelsItemGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_team_channels_item_get_all_members_request_builder.go b/groups/item_team_channels_item_get_all_members_request_builder.go new file mode 100644 index 00000000000..0b1e8da42a3 --- /dev/null +++ b/groups/item_team_channels_item_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamChannelsItemGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from groups +type ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters +} +// ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemTeamChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) Add()(*ItemTeamChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamChannelsItemGetAllMembersRequestBuilderInternal instantiates a new ItemTeamChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersRequestBuilder) { + m := &ItemTeamChannelsItemGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamChannelsItemGetAllMembersRequestBuilder instantiates a new ItemTeamChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamChannelsItemGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTeamChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) Count()(*ItemTeamChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from groups +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) Remove()(*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from groups +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for groups +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemTeamChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemTeamChannelsItemGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemGetAllMembersRequestBuilder) { + return NewItemTeamChannelsItemGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_get_all_members_add_post_request_body.go b/groups/item_team_primary_channel_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..c7b9395f29d --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamPrimaryChannelGetAllMembersAddPostRequestBody instantiates a new ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersAddPostRequestBody()(*ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) { + m := &ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersAddPostRequestBody(), 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 *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/groups/item_team_primary_channel_get_all_members_add_post_response.go b/groups/item_team_primary_channel_get_all_members_add_post_response.go new file mode 100644 index 00000000000..d3a14a0aa89 --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamPrimaryChannelGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamPrimaryChannelGetAllMembersAddPostResponse instantiates a new ItemTeamPrimaryChannelGetAllMembersAddPostResponse and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersAddPostResponse()(*ItemTeamPrimaryChannelGetAllMembersAddPostResponse) { + m := &ItemTeamPrimaryChannelGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelGetAllMembersAddPostResponse) 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 *ItemTeamPrimaryChannelGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/groups/item_team_primary_channel_get_all_members_add_request_builder.go b/groups/item_team_primary_channel_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..be3c793634e --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) { + m := &ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/add", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilder instantiates a new ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemTeamPrimaryChannelGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamPrimaryChannelGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemTeamPrimaryChannelGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamPrimaryChannelGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_get_all_members_add_response.go b/groups/item_team_primary_channel_get_all_members_add_response.go new file mode 100644 index 00000000000..925175689b9 --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemTeamPrimaryChannelGetAllMembersAddResponse struct { + ItemTeamPrimaryChannelGetAllMembersAddPostResponse +} +// NewItemTeamPrimaryChannelGetAllMembersAddResponse instantiates a new ItemTeamPrimaryChannelGetAllMembersAddResponse and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersAddResponse()(*ItemTeamPrimaryChannelGetAllMembersAddResponse) { + m := &ItemTeamPrimaryChannelGetAllMembersAddResponse{ + ItemTeamPrimaryChannelGetAllMembersAddPostResponse: *NewItemTeamPrimaryChannelGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemTeamPrimaryChannelGetAllMembersAddResponseable interface { + ItemTeamPrimaryChannelGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_team_primary_channel_get_all_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..f91b7d67f7c --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from groups +type ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for groups +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for groups +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from groups +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in groups +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_get_all_members_count_request_builder.go b/groups/item_team_primary_channel_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..e5448fa7401 --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) { + m := &ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilder instantiates a new ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilderInternal(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 *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_get_all_members_remove_post_request_body.go b/groups/item_team_primary_channel_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..79fce4e4c88 --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody instantiates a new ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody()(*ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) { + m := &ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody(), 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/groups/item_team_primary_channel_get_all_members_remove_post_response.go b/groups/item_team_primary_channel_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..6cb3812966d --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamPrimaryChannelGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamPrimaryChannelGetAllMembersRemovePostResponse instantiates a new ItemTeamPrimaryChannelGetAllMembersRemovePostResponse and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRemovePostResponse()(*ItemTeamPrimaryChannelGetAllMembersRemovePostResponse) { + m := &ItemTeamPrimaryChannelGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelGetAllMembersRemovePostResponse) 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 *ItemTeamPrimaryChannelGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/groups/item_team_primary_channel_get_all_members_remove_request_builder.go b/groups/item_team_primary_channel_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..8218b15988f --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) { + m := &ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder instantiates a new ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemTeamPrimaryChannelGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamPrimaryChannelGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_get_all_members_remove_response.go b/groups/item_team_primary_channel_get_all_members_remove_response.go new file mode 100644 index 00000000000..1af255d18ed --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemTeamPrimaryChannelGetAllMembersRemoveResponse struct { + ItemTeamPrimaryChannelGetAllMembersRemovePostResponse +} +// NewItemTeamPrimaryChannelGetAllMembersRemoveResponse instantiates a new ItemTeamPrimaryChannelGetAllMembersRemoveResponse and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRemoveResponse()(*ItemTeamPrimaryChannelGetAllMembersRemoveResponse) { + m := &ItemTeamPrimaryChannelGetAllMembersRemoveResponse{ + ItemTeamPrimaryChannelGetAllMembersRemovePostResponse: *NewItemTeamPrimaryChannelGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemTeamPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemTeamPrimaryChannelGetAllMembersRemoveResponseable interface { + ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/groups/item_team_primary_channel_get_all_members_request_builder.go b/groups/item_team_primary_channel_get_all_members_request_builder.go new file mode 100644 index 00000000000..ab6949bf1aa --- /dev/null +++ b/groups/item_team_primary_channel_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamPrimaryChannelGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from groups +type ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +} +// ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) Add()(*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamPrimaryChannelGetAllMembersRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersRequestBuilder) { + m := &ItemTeamPrimaryChannelGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelGetAllMembersRequestBuilder instantiates a new ItemTeamPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) Count()(*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from groups +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for groups +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) Remove()(*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from groups +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for groups +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemTeamPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemTeamPrimaryChannelGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_request_builder.go b/groups/item_team_primary_channel_request_builder.go index 33f84c89f54..5637a4d0bbc 100644 --- a/groups/item_team_primary_channel_request_builder.go +++ b/groups/item_team_primary_channel_request_builder.go @@ -110,6 +110,11 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemTeamPrimaryChannelRequestBuilder) GetAllMembers()(*ItemTeamPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemTeamPrimaryChannelGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemTeamPrimaryChannelMembersRequestBuilder when successful func (m *ItemTeamPrimaryChannelRequestBuilder) Members()(*ItemTeamPrimaryChannelMembersRequestBuilder) { diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 9f3c67bb8bf..2ba042535d2 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a 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. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a 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. +// Get get a thread object. // 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/conversationthread-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -140,7 +140,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a 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. +// ToGetRequestInformation get a thread object. // 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_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 83df9bbbfae..1dbeda4b96d 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_member_of_request_builder.go b/groups/item_transitive_member_of_request_builder.go index 2e3f7e5d0fb..27d8ab268bb 100644 --- a/groups/item_transitive_member_of_request_builder.go +++ b/groups/item_transitive_member_of_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMemberOfRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMemberOfRequestBuilderGetQueryParameters get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ItemTransitiveMemberOfRequestBuilderGetQueryParameters get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. type ItemTransitiveMemberOfRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewItemTransitiveMemberOfRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemTransitiveMemberOfRequestBuilder) Count()(*ItemTransitiveMemberOfCountRequestBuilder) { return NewItemTransitiveMemberOfCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// Get get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) GraphAdministrativeUnit()(*ItemTr func (m *ItemTransitiveMemberOfRequestBuilder) GraphGroup()(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { return NewItemTransitiveMemberOfGraphGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ToGetRequestInformation get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. // returns a *RequestInformation when successful func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_members_graph_group_request_builder.go b/groups/item_transitive_members_graph_group_request_builder.go index 1c3ec6fe6ed..536d6d849fe 100644 --- a/groups/item_transitive_members_graph_group_request_builder.go +++ b/groups/item_transitive_members_graph_group_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMembersGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMembersGraphGroupRequestBuilderGetQueryParameters get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ItemTransitiveMembersGraphGroupRequestBuilderGetQueryParameters get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. type ItemTransitiveMembersGraphGroupRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,7 +57,7 @@ func NewItemTransitiveMembersGraphGroupRequestBuilder(rawUrl string, requestAdap func (m *ItemTransitiveMembersGraphGroupRequestBuilder) Count()(*ItemTransitiveMembersGraphGroupCountRequestBuilder) { return NewItemTransitiveMembersGraphGroupCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// Get get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a GroupCollectionResponseable 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 *ItemTransitiveMembersGraphGroupRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable), nil } -// ToGetRequestInformation get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ToGetRequestInformation get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a *RequestInformation when successful func (m *ItemTransitiveMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMembersGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_members_graph_user_request_builder.go b/groups/item_transitive_members_graph_user_request_builder.go index f03dbec0060..b5a210eb9fd 100644 --- a/groups/item_transitive_members_graph_user_request_builder.go +++ b/groups/item_transitive_members_graph_user_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMembersGraphUserRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMembersGraphUserRequestBuilderGetQueryParameters get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ItemTransitiveMembersGraphUserRequestBuilderGetQueryParameters get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. type ItemTransitiveMembersGraphUserRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,7 +57,7 @@ func NewItemTransitiveMembersGraphUserRequestBuilder(rawUrl string, requestAdapt func (m *ItemTransitiveMembersGraphUserRequestBuilder) Count()(*ItemTransitiveMembersGraphUserCountRequestBuilder) { return NewItemTransitiveMembersGraphUserCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// Get get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a UserCollectionResponseable 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 *ItemTransitiveMembersGraphUserRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable), nil } -// ToGetRequestInformation get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ToGetRequestInformation get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a *RequestInformation when successful func (m *ItemTransitiveMembersGraphUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMembersGraphUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_members_item_graph_group_request_builder.go b/groups/item_transitive_members_item_graph_group_request_builder.go index d615819fada..dbfb85a12ab 100644 --- a/groups/item_transitive_members_item_graph_group_request_builder.go +++ b/groups/item_transitive_members_item_graph_group_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMembersItemGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMembersItemGraphGroupRequestBuilderGetQueryParameters get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ItemTransitiveMembersItemGraphGroupRequestBuilderGetQueryParameters get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. type ItemTransitiveMembersItemGraphGroupRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewItemTransitiveMembersItemGraphGroupRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemTransitiveMembersItemGraphGroupRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// Get get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -63,7 +63,7 @@ func (m *ItemTransitiveMembersItemGraphGroupRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable), nil } -// ToGetRequestInformation get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ToGetRequestInformation get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a *RequestInformation when successful func (m *ItemTransitiveMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMembersItemGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_members_item_graph_user_request_builder.go b/groups/item_transitive_members_item_graph_user_request_builder.go index d6f19e26f12..b96e7b28ff6 100644 --- a/groups/item_transitive_members_item_graph_user_request_builder.go +++ b/groups/item_transitive_members_item_graph_user_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMembersItemGraphUserRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMembersItemGraphUserRequestBuilderGetQueryParameters get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ItemTransitiveMembersItemGraphUserRequestBuilderGetQueryParameters get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. type ItemTransitiveMembersItemGraphUserRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewItemTransitiveMembersItemGraphUserRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemTransitiveMembersItemGraphUserRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// Get get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -63,7 +63,7 @@ func (m *ItemTransitiveMembersItemGraphUserRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable), nil } -// ToGetRequestInformation get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ToGetRequestInformation get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a *RequestInformation when successful func (m *ItemTransitiveMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMembersItemGraphUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_transitive_members_request_builder.go b/groups/item_transitive_members_request_builder.go index ec5235e66b6..dacb9c277fd 100644 --- a/groups/item_transitive_members_request_builder.go +++ b/groups/item_transitive_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTransitiveMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTransitiveMembersRequestBuilderGetQueryParameters get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ItemTransitiveMembersRequestBuilderGetQueryParameters get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. type ItemTransitiveMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewItemTransitiveMembersRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemTransitiveMembersRequestBuilder) Count()(*ItemTransitiveMembersCountRequestBuilder) { return NewItemTransitiveMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// Get get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *ItemTransitiveMembersRequestBuilder) GraphServicePrincipal()(*ItemTrans func (m *ItemTransitiveMembersRequestBuilder) GraphUser()(*ItemTransitiveMembersGraphUserRequestBuilder) { return NewItemTransitiveMembersGraphUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. +// ToGetRequestInformation get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. // returns a *RequestInformation when successful func (m *ItemTransitiveMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTransitiveMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groupswithuniquename/groups_with_unique_name_request_builder.go b/groupswithuniquename/groups_with_unique_name_request_builder.go index 2ef34d5ad72..d25b05a254c 100644 --- a/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -57,7 +57,7 @@ func NewGroupsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewGroupsWithUniqueNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// Delete delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -122,7 +122,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable), nil } -// ToDeleteRequestInformation deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. +// ToDeleteRequestInformation delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. // returns a *RequestInformation when successful func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, 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 b73af09b9a0..7966b6dfb54 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an ipNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters read the properties and relationships of a compliantNetworkNamedLocation object. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of an ipNamedLocation object. +// Get read the properties and relationships of a compliantNetworkNamedLocation 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/ipnamedlocation-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/compliantnetworknamedlocation-get?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +96,12 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.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-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an ipNamedLocation object. +// ToGetRequestInformation read the properties and relationships of a compliantNetworkNamedLocation 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) @@ -144,7 +144,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a countryNamedLocation object. +// ToPatchRequestInformation update the properties of an ipNamedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go b/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go index 0f976f3ea9b..7e8834c1772 100644 --- a/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go +++ b/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go @@ -54,12 +54,12 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// Delete delete a customAccessPackageWorkflowExtension 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a ODataError error 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-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// ToDeleteRequestInformation delete a customAccessPackageWorkflowExtension 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { 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 16e9d298152..9f2b3614ced 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,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-accesspackageresourcerolescopes?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -175,7 +175,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/entitlement_management_access_packages_with_unique_name_request_builder.go b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go index a5633f75b09..a405e544244 100644 --- a/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters 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. +// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Delete } 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-accesspackageresourcerolescopes?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToDele 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 *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risk_detections_risk_detection_item_request_builder.go b/identityprotection/risk_detections_risk_detection_item_request_builder.go index bc9ad555c9b..965068428e4 100644 --- a/identityprotection/risk_detections_risk_detection_item_request_builder.go +++ b/identityprotection/risk_detections_risk_detection_item_request_builder.go @@ -18,7 +18,7 @@ type RiskDetectionsRiskDetectionItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. +// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. type RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties of a riskDetection object. +// Get retrieve the properties of a collection of riskDetection objects. // returns a RiskDetectionable 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/riskdetection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. // returns a *RequestInformation when successful func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index 1073ad678eb..2907469e6b6 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a riskyUser object. +// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a collection of riskyUser objects. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,12 @@ func (m *RiskyUsersRequestBuilder) Count()(*RiskyUsersCountRequestBuilder) { func (m *RiskyUsersRequestBuilder) Dismiss()(*RiskyUsersDismissRequestBuilder) { return NewRiskyUsersDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a riskyUser object. +// Get retrieve the properties and relationships of a collection of riskyUser objects. // returns a RiskyUserCollectionResponseable 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/riskyusers-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *RiskyUsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. +// ToGetRequestInformation retrieve the properties and relationships of a collection of riskyUser objects. // returns a *RequestInformation when successful func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/informationprotection/bitlocker_recovery_keys_request_builder.go b/informationprotection/bitlocker_recovery_keys_request_builder.go index 0df2d179480..c92135f0d45 100644 --- a/informationprotection/bitlocker_recovery_keys_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_request_builder.go @@ -11,7 +11,7 @@ import ( type BitlockerRecoveryKeysRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BitlockerRecoveryKeysRequestBuilderGetQueryParameters get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. +// BitlockerRecoveryKeysRequestBuilderGetQueryParameters get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. type BitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewBitlockerRecoveryKeysRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *BitlockerRecoveryKeysRequestBuilder) Count()(*BitlockerRecoveryKeysCountRequestBuilder) { return NewBitlockerRecoveryKeysCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. +// Get get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -92,7 +92,7 @@ func (m *BitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyCollectionResponseable), nil } -// ToGetRequestInformation get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. +// ToGetRequestInformation get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. // returns a *RequestInformation when successful func (m *BitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(*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 b58814283db..6c565632321 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -13213,6 +13213,201 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodconfiguration github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodconfigurations.CountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodconfigurations.CountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodconfigurations.CountRequestBuilder::|public|WithUrl(rawUrl:string):*CountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|hardwareOathDevices():*ItemHardwareOathDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.AuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|ByAuthenticationMethodDeviceId(authenticationMethodDeviceId:string):*AuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|Count():*CountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.authenticationMethodDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.CountRequestBuilder::|public|WithUrl(rawUrl:string):*CountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder.ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder.ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder.ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder.ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder.ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo():*ItemHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder.ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder.ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder.ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder.ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder.ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|mailboxSettings():*ItemHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|serviceProvisioningErrors():*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Count():*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemHardwareOathDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder.ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId:string):*ItemHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|Count():*ItemHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemHardwareOathDevicesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethoddevices.ItemHardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemHardwareOathDevicesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodspolicy.AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodspolicy.AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder.AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.authenticationmethodspolicy.AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder.AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -74641,6 +74836,161 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AttributeSetsRequestBui github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AttributeSetsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable; ctx:context.Context; requestConfiguration?:*AttributeSetsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AttributeSetsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AttributeSetsRequestBuilder::|public|WithUrl(rawUrl:string):*AttributeSetsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo():*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|mailboxSettings():*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|serviceProvisioningErrors():*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Count():*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId:string):*AuthenticationMethodDevicesHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|Count():*AuthenticationMethodDevicesHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*AuthenticationMethodDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder.AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|hardwareOathDevices():*AuthenticationMethodDevicesHardwareOathDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.AuthenticationMethodDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*AuthenticationMethodDevicesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -75617,6 +75967,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder.DirectoryRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|administrativeUnits():*AdministrativeUnitsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|attributeSets():*AttributeSetsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|authenticationMethodDevices():*AuthenticationMethodDevicesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|certificateAuthorities():*CertificateAuthoritiesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void @@ -130448,6 +130799,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|a github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|approvalWorkflowProviders():*if4a9faac580b9d5510ead8eac155e0cecb2222152b913f0bedc9a44bbe2ee79e.ApprovalWorkflowProvidersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|auditLogs():*i6c3f8c4b4b571cf0fbb7c7c8791ae736e28cc3f4bb62262698b6291c13e127b9.AuditLogsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|authenticationMethodConfigurations():*i8e667c6208be96da3103b8806ff97028502c18052414fe99a224c1565834ca0f.AuthenticationMethodConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|authenticationMethodDevices():*i6878457452f8bce5904d31522016d9cbd75b82042526e5ae91637c530b8658e8.AuthenticationMethodDevicesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|authenticationMethodsPolicy():*i39dbae52481ac3c9530d9fae0a2292348b8f7327bab28ea21183045324adadbc.AuthenticationMethodsPolicyRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|bookingBusinesses():*ibf9394d7c54feda53ca523241dde659e8725041c25384ede68e72731d68d5abe.BookingBusinessesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|bookingCurrencies():*ie573fcc25112f624100d67f5c4380ef23bdf060e2876e90cec1bf404deffc3dd.BookingCurrenciesRequestBuilder @@ -159602,6 +159954,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelIte github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|filesFolder():*ItemTeamChannelsItemFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsChannelItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|getAllMembers():*ItemTeamChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|members():*ItemTeamChannelsItemMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|messages():*ItemTeamChannelsItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsChannelItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -159832,6 +160185,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemFilesF github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostRequestBody~~>ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder.ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder.ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|Post(body:ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamChannelsItemGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddResponse-->*ItemTeamChannelsItemGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersAddResponseable~~>ItemTeamChannelsItemGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder.ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder.ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder.ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder.ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder.ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostRequestBody~~>ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamChannelsItemGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveResponse-->*ItemTeamChannelsItemGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRemoveResponseable~~>ItemTeamChannelsItemGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamChannelsItemGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder.ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|add():*ItemTeamChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemTeamChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|Count():*ItemTeamChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|remove():*ItemTeamChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -161607,6 +162108,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelFile github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostRequestBody~~>ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|Post(body:ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamPrimaryChannelGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamPrimaryChannelGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddResponse-->*ItemTeamPrimaryChannelGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersAddResponseable~~>ItemTeamPrimaryChannelGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBody~~>ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamPrimaryChannelGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveResponse-->*ItemTeamPrimaryChannelGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRemoveResponseable~~>ItemTeamPrimaryChannelGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder.ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|add():*ItemTeamPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemTeamPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|Count():*ItemTeamPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|remove():*ItemTeamPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -162318,6 +162967,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|filesFolder():*ItemTeamPrimaryChannelFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|getAllMembers():*ItemTeamPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|members():*ItemTeamPrimaryChannelMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|messages():*ItemTeamPrimaryChannelMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -204563,6 +205213,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|co github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetEmailMethods():[]EmailAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetFido2Methods():[]Fido2AuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetHardwareOathMethods():[]HardwareOathAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetMethods():[]AuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetMicrosoftAuthenticatorMethods():[]MicrosoftAuthenticatorAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|GetOperations():[]LongRunningOperationable @@ -204579,6 +205230,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|Od github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetEmailMethods(value:[]EmailAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetFido2Methods(value:[]Fido2AuthenticationMethodable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetHardwareOathMethods(value:[]HardwareOathAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetMethods(value:[]AuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetMicrosoftAuthenticatorMethods(value:[]MicrosoftAuthenticatorAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|SetOperations(value:[]LongRunningOperationable):void @@ -204594,6 +205246,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|public|Se github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetEmailMethods():[]EmailAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetFido2Methods():[]Fido2AuthenticationMethodable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetHardwareOathMethods():[]HardwareOathAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetMethods():[]AuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetMicrosoftAuthenticatorMethods():[]MicrosoftAuthenticatorAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetOperations():[]LongRunningOperationable @@ -204608,6 +205261,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|GetWindowsHelloForBusinessMethods():[]WindowsHelloForBusinessAuthenticationMethodable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetEmailMethods(value:[]EmailAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetFido2Methods(value:[]Fido2AuthenticationMethodable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetHardwareOathMethods(value:[]HardwareOathAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetMethods(value:[]AuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetMicrosoftAuthenticatorMethods(value:[]MicrosoftAuthenticatorAuthenticationMethodable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationable::|public|SetOperations(value:[]LongRunningOperationable):void @@ -205313,6 +205967,31 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodConfig github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodConfigurationCollectionResponseable::|public|GetValue():[]AuthenticationMethodConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodConfigurationCollectionResponseable::|public|SetValue(value:[]AuthenticationMethodConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodConfigurationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|GetHardwareOathDevices():[]HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|public|SetHardwareOathDevices(value:[]HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDevice::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceable::|public|GetHardwareOathDevices():[]HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceable::|public|SetHardwareOathDevices(value:[]HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|public|GetValue():[]AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|public|SetValue(value:[]AuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponseable::|public|GetValue():[]AuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponseable::|public|SetValue(value:[]AuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodDeviceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodFeature::0000-ssprRegistered github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodFeature::0001-ssprEnabled github.com/microsoftgraph/msgraph-beta-sdk-go/.models.authenticationMethodFeature::0002-ssprCapable @@ -212410,6 +213089,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetDispla github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetEmail():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetFilesFolder():DriveItemable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetGetAllMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetIsFavoriteByDefault():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetMembers():[]ConversationMemberable @@ -212428,6 +213108,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetDescri github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetFilesFolder(value:DriveItemable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetGetAllMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetIsFavoriteByDefault(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetMembers(value:[]ConversationMemberable):void @@ -212445,6 +213126,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetDe github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetEmail():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetFilesFolder():DriveItemable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetGetAllMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetIsArchived():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetIsFavoriteByDefault():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetMembers():[]ConversationMemberable @@ -212461,6 +213143,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetDe github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetFilesFolder(value:DriveItemable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetGetAllMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetIsArchived(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetIsFavoriteByDefault(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetMembers(value:[]ConversationMemberable):void @@ -234789,6 +235472,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetAdministrativeUnits():[]AdministrativeUnitable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetAttributeSets():[]AttributeSetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetAuthenticationMethodDevices():AuthenticationMethodDeviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetCertificateAuthorities():CertificateAuthorityPathable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetCustomSecurityAttributeDefinitions():[]CustomSecurityAttributeDefinitionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetDeletedItems():[]DirectoryObjectable @@ -234810,6 +235494,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|OdataTy github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetAdministrativeUnits(value:[]AdministrativeUnitable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetAttributeSets(value:[]AttributeSetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetAuthenticationMethodDevices(value:AuthenticationMethodDeviceable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetCertificateAuthorities(value:CertificateAuthorityPathable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetCustomSecurityAttributeDefinitions(value:[]CustomSecurityAttributeDefinitionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetDeletedItems(value:[]DirectoryObjectable):void @@ -234829,6 +235514,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetSubs github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetAdministrativeUnits():[]AdministrativeUnitable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetAttributeSets():[]AttributeSetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetAuthenticationMethodDevices():AuthenticationMethodDeviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetCertificateAuthorities():CertificateAuthorityPathable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetCustomSecurityAttributeDefinitions():[]CustomSecurityAttributeDefinitionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetDeletedItems():[]DirectoryObjectable @@ -234847,6 +235533,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|Get github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetSubscriptions():[]CompanySubscriptionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAdministrativeUnits(value:[]AdministrativeUnitable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAttributeSets(value:[]AttributeSetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAuthenticationMethodDevices(value:AuthenticationMethodDeviceable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetCertificateAuthorities(value:CertificateAuthorityPathable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetCustomSecurityAttributeDefinitions(value:[]CustomSecurityAttributeDefinitionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetDeletedItems(value:[]DirectoryObjectable):void @@ -247751,6 +248438,27 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareInformationable::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareInformationable::|public|SetWiredIPv4Addresses(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareInformation~~>HardwareInformationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod-->*AuthenticationMethod +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|GetDevice():HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|public|SetDevice(value:HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodable::|public|GetDevice():HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodable::|public|SetDevice(value:HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodable~~>AuthenticationMethodable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|public|GetValue():[]HardwareOathAuthenticationMethodable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|public|SetValue(value:[]HardwareOathAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponseable::|public|GetValue():[]HardwareOathAuthenticationMethodable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponseable::|public|SetValue(value:[]HardwareOathAuthenticationMethodable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfiguration-->*AuthenticationMethodConfiguration github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -247762,6 +248470,67 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthentication github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfigurationable::|public|GetIncludeTargets():[]AuthenticationMethodTargetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfigurationable::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathAuthenticationMethodConfigurationable~~>AuthenticationMethodConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice-->*AuthenticationMethodDevice +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetAssignedTo():Identityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetAssignTo():Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetHashFunction():*HardwareOathTokenHashFunction +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetManufacturer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetModel():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetSecretKey():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetSerialNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetStatus():*HardwareOathTokenStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|GetTimeIntervalInSeconds():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetAssignedTo(value:Identityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetAssignTo(value:Userable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetHashFunction(value:*HardwareOathTokenHashFunction):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetManufacturer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetModel(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetSecretKey(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetSerialNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetStatus(value:*HardwareOathTokenStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|public|SetTimeIntervalInSeconds(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDevice::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetAssignedTo():Identityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetAssignTo():Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetHashFunction():*HardwareOathTokenHashFunction +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetManufacturer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetModel():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetSecretKey():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetSerialNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetStatus():*HardwareOathTokenStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|GetTimeIntervalInSeconds():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetAssignedTo(value:Identityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetAssignTo(value:Userable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetHashFunction(value:*HardwareOathTokenHashFunction):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetManufacturer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetModel(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetSecretKey(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetSerialNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetStatus(value:*HardwareOathTokenStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable::|public|SetTimeIntervalInSeconds(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceable~~>AuthenticationMethodDeviceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|GetValue():[]HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|SetValue(value:[]HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponseable::|public|GetValue():[]HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponseable::|public|SetValue(value:[]HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenHashFunction::0000-hmacsha1 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenHashFunction::0001-hmacsha256 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenHashFunction::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenStatus::0000-available +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenStatus::0001-assigned +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenStatus::0002-activated +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenStatus::0003-failedActivation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwareOathTokenStatus::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwarePasswordDetail-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwarePasswordDetail::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.hardwarePasswordDetail::|public|GetCurrentPassword():*string @@ -272250,6 +273019,34 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSeverit github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSeveritySummaryable::|public|SetSeverity(value:*AlertSeverity):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSeveritySummaryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSeveritySummary~~>AlertSeveritySummaryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetAlertType():*AlertType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|GetSeverity():*AlertSeverity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetAlertType(value:*AlertType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|public|SetSeverity(value:*AlertSeverity):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|GetAlertType():*AlertType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|GetCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|GetSeverity():*AlertSeverity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|SetAlertType(value:*AlertType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|SetCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable::|public|SetSeverity(value:*AlertSeverity):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummaryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertSummary~~>AlertSummaryable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0000-unhealthyRemoteNetworks github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0001-unhealthyConnectors github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0002-deviceTokenInconsistency @@ -300504,19 +301301,23 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet-->*ie233e github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|GetCreatedBy():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|SetCreatedBy(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|GetCreatedBy():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|SetCreatedBy(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataSetable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataShareOperationAuditRecord-->*AuditData @@ -313904,6 +314705,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startHoldMusicOperation::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startHoldMusicOperation::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startHoldMusicOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startHoldMusicOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation-->*CommsOperation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startRecordingOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformation-->*CustomClaimTransformation github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformation::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -313919,6 +314727,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformationab github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformationable::|public|SetOutput(value:TransformationAttributeable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformationable::|public|SetValue(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startsWithTransformationable~~>CustomClaimTransformationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation-->*CommsOperation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.startTranscriptionOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stateManagementSetting::0000-notConfigured github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stateManagementSetting::0001-blocked github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stateManagementSetting::0002-allowed @@ -313987,6 +314802,20 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopHoldMusicOperation::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopHoldMusicOperation::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopHoldMusicOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopHoldMusicOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation-->*CommsOperation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopRecordingOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation-->*CommsOperation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stopTranscriptionOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.storage::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.storage::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.storage::|public|GetBackingStore():BackingStore @@ -344147,6 +344976,38 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGrap github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse-->*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable~~>AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; endDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder.AlertsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder.AlertsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -344168,6 +345029,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilde github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AlertsRequestBuilderGetRequestConfiguration):i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertCollectionResponseable github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*AlertsMicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|Post(body:i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Alertable; ctx:context.Context; requestConfiguration?:*AlertsRequestBuilderPostRequestConfiguration):i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Alertable github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.AlertsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -410324,6 +411186,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|filesFolder():*ItemChannelsItemFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsChannelItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|getAllMembers():*ItemChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|members():*ItemChannelsItemMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|messages():*ItemChannelsItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemChannelsChannelItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -410554,6 +411417,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemFilesFolder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostRequestBody~~>ItemChannelsItemGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder.ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder.ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|Post(body:ItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemChannelsItemGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddResponse-->*ItemChannelsItemGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersAddResponseable~~>ItemChannelsItemGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder.ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder.ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder.ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder.ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder.ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostRequestBody~~>ItemChannelsItemGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder.ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder.ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemChannelsItemGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveResponse-->*ItemChannelsItemGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRemoveResponseable~~>ItemChannelsItemGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder.ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|add():*ItemChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|Count():*ItemChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|remove():*ItemChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -412329,6 +413340,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelFilesFold github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostRequestBody~~>ItemPrimaryChannelGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder.ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder.ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|Post(body:ItemPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemPrimaryChannelGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemPrimaryChannelGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddResponse-->*ItemPrimaryChannelGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersAddResponseable~~>ItemPrimaryChannelGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder.ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder.ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder.ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder.ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder.ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostRequestBody~~>ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemPrimaryChannelGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemPrimaryChannelGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveResponse-->*ItemPrimaryChannelGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRemoveResponseable~~>ItemPrimaryChannelGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder.ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|add():*ItemPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|Count():*ItemPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|remove():*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -413040,6 +414199,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBu github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|filesFolder():*ItemPrimaryChannelFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|getAllMembers():*ItemPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|members():*ItemPrimaryChannelMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|messages():*ItemPrimaryChannelMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -414724,6 +415884,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|filesFolder():*ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|getAllMembers():*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|members():*ItemTeamDefinitionChannelsItemMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|messages():*ItemTeamDefinitionChannelsItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -414954,6 +416115,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody~~>ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|Post(body:ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddResponse-->*ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable~~>ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody~~>ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse-->*ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable~~>ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|add():*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Count():*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|remove():*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -416729,6 +418038,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody~~>ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|Post(body:ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse-->*ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable~~>ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody~~>ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|Post(body:ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse-->*ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable~~>ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|add():*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Count():*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|remove():*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -417440,6 +418897,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|filesFolder():*ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|getAllMembers():*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|members():*ItemTeamDefinitionPrimaryChannelMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|messages():*ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -419136,6 +420594,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannels github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|filesFolder():*DeletedTeamsItemChannelsItemFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsChannelItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|getAllMembers():*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|members():*DeletedTeamsItemChannelsItemMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|messages():*DeletedTeamsItemChannelsItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsChannelItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -419366,6 +420825,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannels github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody~~>DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|Post(body:DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):DeletedTeamsItemChannelsItemGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddResponse-->*DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersAddResponseable~~>DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody~~>DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|Post(body:DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse-->*DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable~~>DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|add():*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|Count():*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|remove():*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -420812,6 +422419,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|filesFolder():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|getAllMembers():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|members():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|messages():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -421042,6 +422650,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse-->*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse-->*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|add():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Count():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|remove():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -422817,6 +424573,154 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|PostAsAddPostResponse(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse-->*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|GetValues():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable::|public|SetValues(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|PostAsRemovePostResponse(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse-->*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|add():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ByConversationMemberId(conversationMemberId:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Count():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|remove():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostRequestBody::|public|GetBackingStore():BackingStore @@ -423528,6 +425432,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|filesFolder():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|getAllMembers():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|members():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|messages():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable @@ -433699,6 +435604,406 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationFido2Meth github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationFido2MethodsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationFido2MethodsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationFido2MethodsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationFido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationFido2MethodsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|GetSerialNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|SetSerialNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|GetSerialNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|SetSerialNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody~~>ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|Post(body:ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|ToPostRequestInformation(body:ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|GetDevice():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|SetDevice(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|GetDevice():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|SetDevice(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody~~>ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|Post(body:ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|ToPostRequestInformation(body:ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|activate():*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|deactivate():*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|device():*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|GetVerificationCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable::|public|SetVerificationCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody~~>ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|Post(body:ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|ToPostRequestInformation(body:ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|mailboxSettings():*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|serviceProvisioningErrors():*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|Count():*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|mailboxSettings():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|serviceProvisioningErrors():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Count():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|Count():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|assignTo():*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|hardwareOathDevices():*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder.ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|assignAndActivate():*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|assignAndActivateBySerialNumber():*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|ByHardwareOathAuthenticationMethodId(hardwareOathAuthenticationMethodId:string):*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|Count():*ItemAuthenticationHardwareOathMethodsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable; ctx:context.Context; requestConfiguration?:*ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationHardwareOathMethodsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAuthenticationHardwareOathMethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder.ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder.ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:[]string @@ -434210,6 +436515,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBu github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|emailMethods():*ItemAuthenticationEmailMethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|fido2Methods():*ItemAuthenticationFido2MethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAuthenticationRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Authenticationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|hardwareOathMethods():*ItemAuthenticationHardwareOathMethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|methods():*ItemAuthenticationMethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|microsoftAuthenticatorMethods():*ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAuthenticationRequestBuilder::|public|operations():*ItemAuthenticationOperationsRequestBuilder diff --git a/kiota-lock.json b/kiota-lock.json index 881b050c47c..02d45ec14a9 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4641BD7E28A76AB0CDF1D8A276424B0690677022FF97D45ED1717B4627B06BD9F42CD0CBE280CAD3CF3CB906ED657475ABCB4FFDE5C7154C04D8E6B63B9C6353", + "descriptionHash": "77254B0BD52910D9C305EC3E0405E2EB4BED8A7AEB257E670B2B233A135FD5BE50E8EE45E035F226EF613845E0E2616DBF0B7526EE9B02CD6A66C0DBF1D0605C", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.21.0", + "kiotaVersion": "1.22.0", "clientClassName": "GraphBaseServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "github.com/microsoftgraph/msgraph-beta-sdk-go/", diff --git a/models/android_managed_app_protection.go b/models/android_managed_app_protection.go index 07cbc4a1c3a..2ca355108ac 100644 --- a/models/android_managed_app_protection.go +++ b/models/android_managed_app_protection.go @@ -226,7 +226,7 @@ func (m *AndroidManagedAppProtection) GetConnectToVpnOnLaunch()(*bool) { } return nil } -// GetCustomBrowserDisplayName gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. +// GetCustomBrowserDisplayName gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. // returns a *string when successful func (m *AndroidManagedAppProtection) GetCustomBrowserDisplayName()(*string) { val, err := m.GetBackingStore().Get("customBrowserDisplayName") @@ -238,7 +238,7 @@ func (m *AndroidManagedAppProtection) GetCustomBrowserDisplayName()(*string) { } return nil } -// GetCustomBrowserPackageId gets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. +// GetCustomBrowserPackageId gets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. // returns a *string when successful func (m *AndroidManagedAppProtection) GetCustomBrowserPackageId()(*string) { val, err := m.GetBackingStore().Get("customBrowserPackageId") @@ -1470,14 +1470,14 @@ func (m *AndroidManagedAppProtection) SetConnectToVpnOnLaunch(value *bool)() { panic(err) } } -// SetCustomBrowserDisplayName sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. +// SetCustomBrowserDisplayName sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. func (m *AndroidManagedAppProtection) SetCustomBrowserDisplayName(value *string)() { err := m.GetBackingStore().Set("customBrowserDisplayName", value) if err != nil { panic(err) } } -// SetCustomBrowserPackageId sets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. +// SetCustomBrowserPackageId sets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. func (m *AndroidManagedAppProtection) SetCustomBrowserPackageId(value *string)() { err := m.GetBackingStore().Set("customBrowserPackageId", value) if err != nil { diff --git a/models/app_role_assignment.go b/models/app_role_assignment.go index 9e8d16d8601..40b3e04849b 100644 --- a/models/app_role_assignment.go +++ b/models/app_role_assignment.go @@ -121,7 +121,7 @@ func (m *AppRoleAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetPrincipalDisplayName gets the principalDisplayName property value. The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). +// GetPrincipalDisplayName gets the principalDisplayName property value. The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith). // returns a *string when successful func (m *AppRoleAssignment) GetPrincipalDisplayName()(*string) { val, err := m.GetBackingStore().Get("principalDisplayName") @@ -157,7 +157,7 @@ func (m *AppRoleAssignment) GetPrincipalType()(*string) { } return nil } -// GetResourceDisplayName gets the resourceDisplayName property value. The display name of the resource app's service principal to which the assignment is made. +// GetResourceDisplayName gets the resourceDisplayName property value. The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters. // returns a *string when successful func (m *AppRoleAssignment) GetResourceDisplayName()(*string) { val, err := m.GetBackingStore().Get("resourceDisplayName") @@ -245,7 +245,7 @@ func (m *AppRoleAssignment) SetCreationTimestamp(value *i336074805fc853987abe6f7 panic(err) } } -// SetPrincipalDisplayName sets the principalDisplayName property value. The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). +// SetPrincipalDisplayName sets the principalDisplayName property value. The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith). func (m *AppRoleAssignment) SetPrincipalDisplayName(value *string)() { err := m.GetBackingStore().Set("principalDisplayName", value) if err != nil { @@ -266,7 +266,7 @@ func (m *AppRoleAssignment) SetPrincipalType(value *string)() { panic(err) } } -// SetResourceDisplayName sets the resourceDisplayName property value. The display name of the resource app's service principal to which the assignment is made. +// SetResourceDisplayName sets the resourceDisplayName property value. The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters. func (m *AppRoleAssignment) SetResourceDisplayName(value *string)() { err := m.GetBackingStore().Set("resourceDisplayName", value) if err != nil { diff --git a/models/application.go b/models/application.go index 185aa6bbadb..2fc4443f417 100644 --- a/models/application.go +++ b/models/application.go @@ -167,7 +167,7 @@ func (m *Application) GetDisabledByMicrosoftStatus()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. +// GetDisplayName gets the displayName property value. The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. // returns a *string when successful func (m *Application) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -1610,7 +1610,7 @@ func (m *Application) SetDisabledByMicrosoftStatus(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. +// SetDisplayName sets the displayName property value. The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Application) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/authentication.go b/models/authentication.go index c11bae675d5..9e4b96e7a5f 100644 --- a/models/authentication.go +++ b/models/authentication.go @@ -79,6 +79,22 @@ func (m *Authentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["hardwareOathMethods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwareOathAuthenticationMethodFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwareOathAuthenticationMethodable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwareOathAuthenticationMethodable) + } + } + m.SetHardwareOathMethods(res) + } + return nil + } res["methods"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAuthenticationMethodFromDiscriminatorValue) if err != nil { @@ -261,6 +277,18 @@ func (m *Authentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } +// GetHardwareOathMethods gets the hardwareOathMethods property value. The hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +// returns a []HardwareOathAuthenticationMethodable when successful +func (m *Authentication) GetHardwareOathMethods()([]HardwareOathAuthenticationMethodable) { + val, err := m.GetBackingStore().Get("hardwareOathMethods") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwareOathAuthenticationMethodable) + } + return nil +} // GetMethods gets the methods property value. Represents all authentication methods registered to a user. // returns a []AuthenticationMethodable when successful func (m *Authentication) GetMethods()([]AuthenticationMethodable) { @@ -435,6 +463,18 @@ func (m *Authentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + if m.GetHardwareOathMethods() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHardwareOathMethods())) + for i, v := range m.GetHardwareOathMethods() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("hardwareOathMethods", cast) + if err != nil { + return err + } + } if m.GetMethods() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMethods())) for i, v := range m.GetMethods() { @@ -583,6 +623,13 @@ func (m *Authentication) SetFido2Methods(value []Fido2AuthenticationMethodable)( panic(err) } } +// SetHardwareOathMethods sets the hardwareOathMethods property value. The hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +func (m *Authentication) SetHardwareOathMethods(value []HardwareOathAuthenticationMethodable)() { + err := m.GetBackingStore().Set("hardwareOathMethods", value) + if err != nil { + panic(err) + } +} // SetMethods sets the methods property value. Represents all authentication methods registered to a user. func (m *Authentication) SetMethods(value []AuthenticationMethodable)() { err := m.GetBackingStore().Set("methods", value) @@ -672,6 +719,7 @@ type Authenticationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmailMethods()([]EmailAuthenticationMethodable) GetFido2Methods()([]Fido2AuthenticationMethodable) + GetHardwareOathMethods()([]HardwareOathAuthenticationMethodable) GetMethods()([]AuthenticationMethodable) GetMicrosoftAuthenticatorMethods()([]MicrosoftAuthenticatorAuthenticationMethodable) GetOperations()([]LongRunningOperationable) @@ -686,6 +734,7 @@ type Authenticationable interface { GetWindowsHelloForBusinessMethods()([]WindowsHelloForBusinessAuthenticationMethodable) SetEmailMethods(value []EmailAuthenticationMethodable)() SetFido2Methods(value []Fido2AuthenticationMethodable)() + SetHardwareOathMethods(value []HardwareOathAuthenticationMethodable)() SetMethods(value []AuthenticationMethodable)() SetMicrosoftAuthenticatorMethods(value []MicrosoftAuthenticatorAuthenticationMethodable)() SetOperations(value []LongRunningOperationable)() diff --git a/models/authentication_method.go b/models/authentication_method.go index 954bac16550..9a1fe98746f 100644 --- a/models/authentication_method.go +++ b/models/authentication_method.go @@ -34,6 +34,8 @@ func CreateAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d return NewEmailAuthenticationMethod(), nil case "#microsoft.graph.fido2AuthenticationMethod": return NewFido2AuthenticationMethod(), nil + case "#microsoft.graph.hardwareOathAuthenticationMethod": + return NewHardwareOathAuthenticationMethod(), nil case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": return NewMicrosoftAuthenticatorAuthenticationMethod(), nil case "#microsoft.graph.passwordAuthenticationMethod": diff --git a/models/authentication_method_device.go b/models/authentication_method_device.go new file mode 100644 index 00000000000..9c4090ff1d3 --- /dev/null +++ b/models/authentication_method_device.go @@ -0,0 +1,143 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AuthenticationMethodDevice struct { + Entity +} +// NewAuthenticationMethodDevice instantiates a new AuthenticationMethodDevice and sets the default values. +func NewAuthenticationMethodDevice()(*AuthenticationMethodDevice) { + m := &AuthenticationMethodDevice{ + Entity: *NewEntity(), + } + return m +} +// CreateAuthenticationMethodDeviceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAuthenticationMethodDeviceFromDiscriminatorValue(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.hardwareOathTokenAuthenticationMethodDevice": + return NewHardwareOathTokenAuthenticationMethodDevice(), nil + } + } + } + } + return NewAuthenticationMethodDevice(), nil +} +// GetDisplayName gets the displayName property value. Optional name given to the hardware OATH device. +// returns a *string when successful +func (m *AuthenticationMethodDevice) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + 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 *AuthenticationMethodDevice) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["hardwareOathDevices"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwareOathTokenAuthenticationMethodDeviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwareOathTokenAuthenticationMethodDeviceable) + } + } + m.SetHardwareOathDevices(res) + } + return nil + } + return res +} +// GetHardwareOathDevices gets the hardwareOathDevices property value. Exposes the hardware OATH method in the directory. +// returns a []HardwareOathTokenAuthenticationMethodDeviceable when successful +func (m *AuthenticationMethodDevice) GetHardwareOathDevices()([]HardwareOathTokenAuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("hardwareOathDevices") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwareOathTokenAuthenticationMethodDeviceable) + } + return nil +} +// Serialize serializes information the current object +func (m *AuthenticationMethodDevice) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetHardwareOathDevices() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHardwareOathDevices())) + for i, v := range m.GetHardwareOathDevices() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("hardwareOathDevices", cast) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. Optional name given to the hardware OATH device. +func (m *AuthenticationMethodDevice) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetHardwareOathDevices sets the hardwareOathDevices property value. Exposes the hardware OATH method in the directory. +func (m *AuthenticationMethodDevice) SetHardwareOathDevices(value []HardwareOathTokenAuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("hardwareOathDevices", value) + if err != nil { + panic(err) + } +} +type AuthenticationMethodDeviceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + GetHardwareOathDevices()([]HardwareOathTokenAuthenticationMethodDeviceable) + SetDisplayName(value *string)() + SetHardwareOathDevices(value []HardwareOathTokenAuthenticationMethodDeviceable)() +} diff --git a/models/authentication_method_device_collection_response.go b/models/authentication_method_device_collection_response.go new file mode 100644 index 00000000000..7315e91f8b4 --- /dev/null +++ b/models/authentication_method_device_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AuthenticationMethodDeviceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAuthenticationMethodDeviceCollectionResponse instantiates a new AuthenticationMethodDeviceCollectionResponse and sets the default values. +func NewAuthenticationMethodDeviceCollectionResponse()(*AuthenticationMethodDeviceCollectionResponse) { + m := &AuthenticationMethodDeviceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAuthenticationMethodDeviceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AuthenticationMethodDeviceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AuthenticationMethodDeviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AuthenticationMethodDeviceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AuthenticationMethodDeviceable when successful +func (m *AuthenticationMethodDeviceCollectionResponse) GetValue()([]AuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AuthenticationMethodDeviceable) + } + return nil +} +// Serialize serializes information the current object +func (m *AuthenticationMethodDeviceCollectionResponse) 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 *AuthenticationMethodDeviceCollectionResponse) SetValue(value []AuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AuthenticationMethodDeviceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AuthenticationMethodDeviceable) + SetValue(value []AuthenticationMethodDeviceable)() +} diff --git a/models/base_site_page.go b/models/base_site_page.go index 8ecde88155b..605b6030a0d 100644 --- a/models/base_site_page.go +++ b/models/base_site_page.go @@ -81,7 +81,7 @@ func (m *BaseSitePage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetPageLayout gets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue. +// GetPageLayout gets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue, newsLink. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: newsLink. // returns a *PageLayoutType when successful func (m *BaseSitePage) GetPageLayout()(*PageLayoutType) { val, err := m.GetBackingStore().Get("pageLayout") @@ -144,7 +144,7 @@ func (m *BaseSitePage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetPageLayout sets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue. +// SetPageLayout sets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue, newsLink. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: newsLink. func (m *BaseSitePage) SetPageLayout(value *PageLayoutType)() { err := m.GetBackingStore().Set("pageLayout", value) if err != nil { diff --git a/models/channel.go b/models/channel.go index b9d18f6a52b..357649dad4b 100644 --- a/models/channel.go +++ b/models/channel.go @@ -122,6 +122,22 @@ func (m *Channel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["getAllMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ConversationMemberable) + } + } + m.SetGetAllMembers(res) + } + return nil + } res["isArchived"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -270,6 +286,18 @@ func (m *Channel) GetFilesFolder()(DriveItemable) { } return nil } +// GetGetAllMembers gets the getAllMembers property value. The getAllMembers property +// returns a []ConversationMemberable when successful +func (m *Channel) GetGetAllMembers()([]ConversationMemberable) { + val, err := m.GetBackingStore().Get("getAllMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ConversationMemberable) + } + return nil +} // GetIsArchived gets the isArchived property value. Indicates whether the channel is archived. Read-only. // returns a *bool when successful func (m *Channel) GetIsArchived()(*bool) { @@ -438,6 +466,18 @@ func (m *Channel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + if m.GetGetAllMembers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetGetAllMembers())) + for i, v := range m.GetGetAllMembers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("getAllMembers", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isArchived", m.GetIsArchived()) if err != nil { @@ -566,6 +606,13 @@ func (m *Channel) SetFilesFolder(value DriveItemable)() { panic(err) } } +// SetGetAllMembers sets the getAllMembers property value. The getAllMembers property +func (m *Channel) SetGetAllMembers(value []ConversationMemberable)() { + err := m.GetBackingStore().Set("getAllMembers", value) + if err != nil { + panic(err) + } +} // SetIsArchived sets the isArchived property value. Indicates whether the channel is archived. Read-only. func (m *Channel) SetIsArchived(value *bool)() { err := m.GetBackingStore().Set("isArchived", value) @@ -651,6 +698,7 @@ type Channelable interface { GetDisplayName()(*string) GetEmail()(*string) GetFilesFolder()(DriveItemable) + GetGetAllMembers()([]ConversationMemberable) GetIsArchived()(*bool) GetIsFavoriteByDefault()(*bool) GetMembers()([]ConversationMemberable) @@ -667,6 +715,7 @@ type Channelable interface { SetDisplayName(value *string)() SetEmail(value *string)() SetFilesFolder(value DriveItemable)() + SetGetAllMembers(value []ConversationMemberable)() SetIsArchived(value *bool)() SetIsFavoriteByDefault(value *bool)() SetMembers(value []ConversationMemberable)() diff --git a/models/cloud_pc_cross_region_disaster_recovery_setting.go b/models/cloud_pc_cross_region_disaster_recovery_setting.go index 9cfd42d0412..4c3f5f602a3 100644 --- a/models/cloud_pc_cross_region_disaster_recovery_setting.go +++ b/models/cloud_pc_cross_region_disaster_recovery_setting.go @@ -40,7 +40,7 @@ func (m *CloudPcCrossRegionDisasterRecoverySetting) GetAdditionalData()(map[stri func (m *CloudPcCrossRegionDisasterRecoverySetting) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCrossRegionDisasterRecoveryEnabled gets the crossRegionDisasterRecoveryEnabled property value. True if an end user is allowed to set up cross-region disaster recovery for Cloud PC; otherwise, false. The default value is false. +// GetCrossRegionDisasterRecoveryEnabled gets the crossRegionDisasterRecoveryEnabled property value. True if an end user is allowed to set up cross-region disaster recovery for Cloud PC; otherwise, false. The default value is false. This property is deprecated and will no longer be supported effective February 11, 2025. For scenarios where crossRegionDisasterRecoveryEnabled is true, set disasterRecoveryType to crossRegion. For scenarios where crossRegionDisasterRecoveryEnabled is false, set disasterRecoveryType to notconfigured. // returns a *bool when successful func (m *CloudPcCrossRegionDisasterRecoverySetting) GetCrossRegionDisasterRecoveryEnabled()(*bool) { val, err := m.GetBackingStore().Get("crossRegionDisasterRecoveryEnabled") @@ -64,7 +64,7 @@ func (m *CloudPcCrossRegionDisasterRecoverySetting) GetDisasterRecoveryNetworkSe } return nil } -// GetDisasterRecoveryType gets the disasterRecoveryType property value. The disasterRecoveryType property +// GetDisasterRecoveryType gets the disasterRecoveryType property value. Indicates the type of disaster recovery to perform when a disaster occurs on the user's Cloud PC. The possible values are: notConfigured, crossRegion, premium, unknownFutureValue. The default value is notConfigured. // returns a *CloudPcDisasterRecoveryType when successful func (m *CloudPcCrossRegionDisasterRecoverySetting) GetDisasterRecoveryType()(*CloudPcDisasterRecoveryType) { val, err := m.GetBackingStore().Get("disasterRecoveryType") @@ -208,7 +208,7 @@ func (m *CloudPcCrossRegionDisasterRecoverySetting) SetAdditionalData(value map[ func (m *CloudPcCrossRegionDisasterRecoverySetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCrossRegionDisasterRecoveryEnabled sets the crossRegionDisasterRecoveryEnabled property value. True if an end user is allowed to set up cross-region disaster recovery for Cloud PC; otherwise, false. The default value is false. +// SetCrossRegionDisasterRecoveryEnabled sets the crossRegionDisasterRecoveryEnabled property value. True if an end user is allowed to set up cross-region disaster recovery for Cloud PC; otherwise, false. The default value is false. This property is deprecated and will no longer be supported effective February 11, 2025. For scenarios where crossRegionDisasterRecoveryEnabled is true, set disasterRecoveryType to crossRegion. For scenarios where crossRegionDisasterRecoveryEnabled is false, set disasterRecoveryType to notconfigured. func (m *CloudPcCrossRegionDisasterRecoverySetting) SetCrossRegionDisasterRecoveryEnabled(value *bool)() { err := m.GetBackingStore().Set("crossRegionDisasterRecoveryEnabled", value) if err != nil { @@ -222,7 +222,7 @@ func (m *CloudPcCrossRegionDisasterRecoverySetting) SetDisasterRecoveryNetworkSe panic(err) } } -// SetDisasterRecoveryType sets the disasterRecoveryType property value. The disasterRecoveryType property +// SetDisasterRecoveryType sets the disasterRecoveryType property value. Indicates the type of disaster recovery to perform when a disaster occurs on the user's Cloud PC. The possible values are: notConfigured, crossRegion, premium, unknownFutureValue. The default value is notConfigured. func (m *CloudPcCrossRegionDisasterRecoverySetting) SetDisasterRecoveryType(value *CloudPcDisasterRecoveryType)() { err := m.GetBackingStore().Set("disasterRecoveryType", value) if err != nil { diff --git a/models/comms_operation.go b/models/comms_operation.go index b2c5f6229ae..88c215639f9 100644 --- a/models/comms_operation.go +++ b/models/comms_operation.go @@ -47,8 +47,16 @@ func CreateCommsOperationFromDiscriminatorValue(parseNode i878a80d2330e89d268963 return NewSendDtmfTonesOperation(), nil case "#microsoft.graph.startHoldMusicOperation": return NewStartHoldMusicOperation(), nil + case "#microsoft.graph.startRecordingOperation": + return NewStartRecordingOperation(), nil + case "#microsoft.graph.startTranscriptionOperation": + return NewStartTranscriptionOperation(), nil case "#microsoft.graph.stopHoldMusicOperation": return NewStopHoldMusicOperation(), nil + case "#microsoft.graph.stopRecordingOperation": + return NewStopRecordingOperation(), nil + case "#microsoft.graph.stopTranscriptionOperation": + return NewStopTranscriptionOperation(), nil case "#microsoft.graph.subscribeToToneOperation": return NewSubscribeToToneOperation(), nil case "#microsoft.graph.unmuteParticipantOperation": diff --git a/models/device.go b/models/device.go index b091c88bd8b..6184af15058 100644 --- a/models/device.go +++ b/models/device.go @@ -142,7 +142,7 @@ func (m *Device) GetDeviceVersion()(*int32) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. +// GetDisplayName gets the displayName property value. The display name for the device. Maximum length is 256 characters. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. // returns a *string when successful func (m *Device) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -1452,7 +1452,7 @@ func (m *Device) SetDeviceVersion(value *int32)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. +// SetDisplayName sets the displayName property value. The display name for the device. Maximum length is 256 characters. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Device) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/device_management_configuration_choice_setting_definition.go b/models/device_management_configuration_choice_setting_definition.go index 2eeebaa89d4..4c89328c405 100644 --- a/models/device_management_configuration_choice_setting_definition.go +++ b/models/device_management_configuration_choice_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationChoiceSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationChoiceSettingDefinition(), nil } -// GetDefaultOptionId gets the defaultOptionId property value. Default option for the choice setting. +// GetDefaultOptionId gets the defaultOptionId property value. Default option for choice setting // returns a *string when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetDefaultOptionId()(*string) { val, err := m.GetBackingStore().Get("defaultOptionId") @@ -81,7 +81,7 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetFieldDeseriali } return res } -// GetOptions gets the options property value. Options for the setting that can be selected. +// GetOptions gets the options property value. Options for the setting that can be selected // returns a []DeviceManagementConfigurationOptionDefinitionable when successful func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetOptions()([]DeviceManagementConfigurationOptionDefinitionable) { val, err := m.GetBackingStore().Get("options") @@ -119,14 +119,14 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) Serialize(writer } return nil } -// SetDefaultOptionId sets the defaultOptionId property value. Default option for the choice setting. +// SetDefaultOptionId sets the defaultOptionId property value. Default option for choice setting func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetDefaultOptionId(value *string)() { err := m.GetBackingStore().Set("defaultOptionId", value) if err != nil { panic(err) } } -// SetOptions sets the options property value. Options for the setting that can be selected. +// SetOptions sets the options property value. Options for the setting that can be selected func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetOptions(value []DeviceManagementConfigurationOptionDefinitionable)() { err := m.GetBackingStore().Set("options", value) if err != nil { diff --git a/models/device_management_configuration_setting_definition.go b/models/device_management_configuration_setting_definition.go index c011e5384f7..6587253802f 100644 --- a/models/device_management_configuration_setting_definition.go +++ b/models/device_management_configuration_setting_definition.go @@ -61,7 +61,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetAccessTypes()(*Devic } return nil } -// GetApplicability gets the applicability property value. Details which device setting is applicable on +// GetApplicability gets the applicability property value. Details which device setting is applicable on. Supports: $filters. // returns a DeviceManagementConfigurationSettingApplicabilityable when successful func (m *DeviceManagementConfigurationSettingDefinition) GetApplicability()(DeviceManagementConfigurationSettingApplicabilityable) { val, err := m.GetBackingStore().Get("applicability") @@ -85,7 +85,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetBaseUri()(*string) { } return nil } -// GetCategoryId gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) +// GetCategoryId gets the categoryId property value. Specify category in which the setting is under. Support $filters. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string) { val, err := m.GetBackingStore().Get("categoryId") @@ -97,7 +97,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string } return nil } -// GetDescription gets the description property value. Description of the item +// GetDescription gets the description property value. Description of the setting. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -109,7 +109,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*strin } return nil } -// GetDisplayName gets the displayName property value. Display name of the item +// GetDisplayName gets the displayName property value. Name of the setting. For example: Allow Toast. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -325,7 +325,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetFieldDeserializers() } return res } -// GetHelpText gets the helpText property value. Help text of the item +// GetHelpText gets the helpText property value. Help text of the setting. Give more details of the setting. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) { val, err := m.GetBackingStore().Get("helpText") @@ -337,7 +337,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) } return nil } -// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at +// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at. // returns a []string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetInfoUrls()([]string) { val, err := m.GetBackingStore().Get("infoUrls") @@ -409,7 +409,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetReferredSettingInfor } return nil } -// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. +// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetRootDefinitionId()(*string) { val, err := m.GetBackingStore().Get("rootDefinitionId") @@ -602,7 +602,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetAccessTypes(value *D panic(err) } } -// SetApplicability sets the applicability property value. Details which device setting is applicable on +// SetApplicability sets the applicability property value. Details which device setting is applicable on. Supports: $filters. func (m *DeviceManagementConfigurationSettingDefinition) SetApplicability(value DeviceManagementConfigurationSettingApplicabilityable)() { err := m.GetBackingStore().Set("applicability", value) if err != nil { @@ -616,35 +616,35 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetBaseUri(value *strin panic(err) } } -// SetCategoryId sets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) +// SetCategoryId sets the categoryId property value. Specify category in which the setting is under. Support $filters. func (m *DeviceManagementConfigurationSettingDefinition) SetCategoryId(value *string)() { err := m.GetBackingStore().Set("categoryId", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. Description of the item +// SetDescription sets the description property value. Description of the setting. func (m *DeviceManagementConfigurationSettingDefinition) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Display name of the item +// SetDisplayName sets the displayName property value. Name of the setting. For example: Allow Toast. func (m *DeviceManagementConfigurationSettingDefinition) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetHelpText sets the helpText property value. Help text of the item +// SetHelpText sets the helpText property value. Help text of the setting. Give more details of the setting. func (m *DeviceManagementConfigurationSettingDefinition) SetHelpText(value *string)() { err := m.GetBackingStore().Set("helpText", value) if err != nil { panic(err) } } -// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at +// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at. func (m *DeviceManagementConfigurationSettingDefinition) SetInfoUrls(value []string)() { err := m.GetBackingStore().Set("infoUrls", value) if err != nil { @@ -686,7 +686,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetReferredSettingInfor panic(err) } } -// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition if the setting is a child setting. +// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. func (m *DeviceManagementConfigurationSettingDefinition) SetRootDefinitionId(value *string)() { err := m.GetBackingStore().Set("rootDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_collection_definition.go b/models/device_management_configuration_setting_group_collection_definition.go index 5d493903800..72e7bfbc56a 100644 --- a/models/device_management_configuration_setting_group_collection_definition.go +++ b/models/device_management_configuration_setting_group_collection_definition.go @@ -45,7 +45,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetField } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") @@ -57,7 +57,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaxim } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") @@ -89,14 +89,14 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) Serializ } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_definition.go b/models/device_management_configuration_setting_group_definition.go index 7e000516f27..fa23ec1955c 100644 --- a/models/device_management_configuration_setting_group_definition.go +++ b/models/device_management_configuration_setting_group_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSettingGroupDefinitionFromDiscriminatorV } return NewDeviceManagementConfigurationSettingGroupDefinition(), nil } -// GetChildIds gets the childIds property value. Dependent child settings to this group of settings +// GetChildIds gets the childIds property value. Dependent child settings to this group of settings. // returns a []string when successful func (m *DeviceManagementConfigurationSettingGroupDefinition) GetChildIds()([]string) { val, err := m.GetBackingStore().Get("childIds") @@ -165,7 +165,7 @@ func (m *DeviceManagementConfigurationSettingGroupDefinition) Serialize(writer i } return nil } -// SetChildIds sets the childIds property value. Dependent child settings to this group of settings +// SetChildIds sets the childIds property value. Dependent child settings to this group of settings. func (m *DeviceManagementConfigurationSettingGroupDefinition) SetChildIds(value []string)() { err := m.GetBackingStore().Set("childIds", value) if err != nil { diff --git a/models/device_management_configuration_string_setting_value_definition.go b/models/device_management_configuration_string_setting_value_definition.go index d37e1eda1b2..9a3156b662d 100644 --- a/models/device_management_configuration_string_setting_value_definition.go +++ b/models/device_management_configuration_string_setting_value_definition.go @@ -106,7 +106,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFileTypes } return nil } -// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. +// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. // returns a *DeviceManagementConfigurationStringFormat when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFormat()(*DeviceManagementConfigurationStringFormat) { val, err := m.GetBackingStore().Get("format") @@ -142,7 +142,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetIsSecret( } return nil } -// GetMaximumLength gets the maximumLength property value. Maximum length of string +// GetMaximumLength gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLength()(*int64) { val, err := m.GetBackingStore().Get("maximumLength") @@ -154,7 +154,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLe } return nil } -// GetMinimumLength gets the minimumLength property value. Minimum length of string +// GetMinimumLength gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 // returns a *int64 when successful func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMinimumLength()(*int64) { val, err := m.GetBackingStore().Get("minimumLength") @@ -218,7 +218,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFileTypes panic(err) } } -// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. +// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFormat(value *DeviceManagementConfigurationStringFormat)() { err := m.GetBackingStore().Set("format", value) if err != nil { @@ -239,14 +239,14 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetIsSecret( panic(err) } } -// SetMaximumLength sets the maximumLength property value. Maximum length of string +// SetMaximumLength sets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMaximumLength(value *int64)() { err := m.GetBackingStore().Set("maximumLength", value) if err != nil { panic(err) } } -// SetMinimumLength sets the minimumLength property value. Minimum length of string +// SetMinimumLength sets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMinimumLength(value *int64)() { err := m.GetBackingStore().Set("minimumLength", value) if err != nil { diff --git a/models/directory.go b/models/directory.go index 437cbce485d..bcbc3b9cb08 100644 --- a/models/directory.go +++ b/models/directory.go @@ -43,6 +43,18 @@ func (m *Directory) GetAttributeSets()([]AttributeSetable) { } return nil } +// GetAuthenticationMethodDevices gets the authenticationMethodDevices property value. Exposes the hardware OATH method in the directory. +// returns a AuthenticationMethodDeviceable when successful +func (m *Directory) GetAuthenticationMethodDevices()(AuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("authenticationMethodDevices") + if err != nil { + panic(err) + } + if val != nil { + return val.(AuthenticationMethodDeviceable) + } + return nil +} // GetCertificateAuthorities gets the certificateAuthorities property value. The certificateAuthorities property // returns a CertificateAuthorityPathable when successful func (m *Directory) GetCertificateAuthorities()(CertificateAuthorityPathable) { @@ -163,6 +175,16 @@ func (m *Directory) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return nil } + res["authenticationMethodDevices"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAuthenticationMethodDevices(val.(AuthenticationMethodDeviceable)) + } + return nil + } res["certificateAuthorities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateCertificateAuthorityPathFromDiscriminatorValue) if err != nil { @@ -547,6 +569,12 @@ func (m *Directory) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 return err } } + { + err = writer.WriteObjectValue("authenticationMethodDevices", m.GetAuthenticationMethodDevices()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("certificateAuthorities", m.GetCertificateAuthorities()) if err != nil { @@ -743,6 +771,13 @@ func (m *Directory) SetAttributeSets(value []AttributeSetable)() { panic(err) } } +// SetAuthenticationMethodDevices sets the authenticationMethodDevices property value. Exposes the hardware OATH method in the directory. +func (m *Directory) SetAuthenticationMethodDevices(value AuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("authenticationMethodDevices", value) + if err != nil { + panic(err) + } +} // SetCertificateAuthorities sets the certificateAuthorities property value. The certificateAuthorities property func (m *Directory) SetCertificateAuthorities(value CertificateAuthorityPathable)() { err := m.GetBackingStore().Set("certificateAuthorities", value) @@ -860,6 +895,7 @@ type Directoryable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAdministrativeUnits()([]AdministrativeUnitable) GetAttributeSets()([]AttributeSetable) + GetAuthenticationMethodDevices()(AuthenticationMethodDeviceable) GetCertificateAuthorities()(CertificateAuthorityPathable) GetCustomSecurityAttributeDefinitions()([]CustomSecurityAttributeDefinitionable) GetDeletedItems()([]DirectoryObjectable) @@ -878,6 +914,7 @@ type Directoryable interface { GetSubscriptions()([]CompanySubscriptionable) SetAdministrativeUnits(value []AdministrativeUnitable)() SetAttributeSets(value []AttributeSetable)() + SetAuthenticationMethodDevices(value AuthenticationMethodDeviceable)() SetCertificateAuthorities(value CertificateAuthorityPathable)() SetCustomSecurityAttributeDefinitions(value []CustomSecurityAttributeDefinitionable)() SetDeletedItems(value []DirectoryObjectable)() diff --git a/models/educational_activity_detail.go b/models/educational_activity_detail.go index acb834fda3c..53d15d32b09 100644 --- a/models/educational_activity_detail.go +++ b/models/educational_activity_detail.go @@ -88,7 +88,7 @@ func (m *EducationalActivityDetail) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Long-form name of the program that the user has provided. +// GetDisplayName gets the displayName property value. Long-form name of the program that the user provided. // returns a *string when successful func (m *EducationalActivityDetail) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -236,7 +236,7 @@ func (m *EducationalActivityDetail) GetFieldsOfStudy()([]string) { } return nil } -// GetGrade gets the grade property value. The final grade, class, GPA or score. +// GetGrade gets the grade property value. The final grade, class, GPA, or score. // returns a *string when successful func (m *EducationalActivityDetail) GetGrade()(*string) { val, err := m.GetBackingStore().Get("grade") @@ -248,7 +248,7 @@ func (m *EducationalActivityDetail) GetGrade()(*string) { } return nil } -// GetNotes gets the notes property value. Additional notes the user has provided. +// GetNotes gets the notes property value. More notes the user provided. // returns a *string when successful func (m *EducationalActivityDetail) GetNotes()(*string) { val, err := m.GetBackingStore().Get("notes") @@ -393,7 +393,7 @@ func (m *EducationalActivityDetail) SetDescription(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. Long-form name of the program that the user has provided. +// SetDisplayName sets the displayName property value. Long-form name of the program that the user provided. func (m *EducationalActivityDetail) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -407,14 +407,14 @@ func (m *EducationalActivityDetail) SetFieldsOfStudy(value []string)() { panic(err) } } -// SetGrade sets the grade property value. The final grade, class, GPA or score. +// SetGrade sets the grade property value. The final grade, class, GPA, or score. func (m *EducationalActivityDetail) SetGrade(value *string)() { err := m.GetBackingStore().Set("grade", value) if err != nil { panic(err) } } -// SetNotes sets the notes property value. Additional notes the user has provided. +// SetNotes sets the notes property value. More notes the user provided. func (m *EducationalActivityDetail) SetNotes(value *string)() { err := m.GetBackingStore().Set("notes", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index b7854d7b0b1..3b63ac95aeb 100644 --- a/models/entity.go +++ b/models/entity.go @@ -406,6 +406,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAuthenticationMethod(), nil case "#microsoft.graph.authenticationMethodConfiguration": return NewAuthenticationMethodConfiguration(), nil + case "#microsoft.graph.authenticationMethodDevice": + return NewAuthenticationMethodDevice(), nil case "#microsoft.graph.authenticationMethodModeDetail": return NewAuthenticationMethodModeDetail(), nil case "#microsoft.graph.authenticationMethodsPolicy": @@ -1460,8 +1462,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewHardwareConfigurationRunSummary(), nil case "#microsoft.graph.hardwareConfigurationUserState": return NewHardwareConfigurationUserState(), nil + case "#microsoft.graph.hardwareOathAuthenticationMethod": + return NewHardwareOathAuthenticationMethod(), nil case "#microsoft.graph.hardwareOathAuthenticationMethodConfiguration": return NewHardwareOathAuthenticationMethodConfiguration(), nil + case "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice": + return NewHardwareOathTokenAuthenticationMethodDevice(), nil case "#microsoft.graph.hardwarePasswordDetail": return NewHardwarePasswordDetail(), nil case "#microsoft.graph.hardwarePasswordInfo": @@ -2658,8 +2664,16 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewStandardWebPart(), nil case "#microsoft.graph.startHoldMusicOperation": return NewStartHoldMusicOperation(), nil + case "#microsoft.graph.startRecordingOperation": + return NewStartRecordingOperation(), nil + case "#microsoft.graph.startTranscriptionOperation": + return NewStartTranscriptionOperation(), nil case "#microsoft.graph.stopHoldMusicOperation": return NewStopHoldMusicOperation(), nil + case "#microsoft.graph.stopRecordingOperation": + return NewStopRecordingOperation(), nil + case "#microsoft.graph.stopTranscriptionOperation": + return NewStopTranscriptionOperation(), nil case "#microsoft.graph.storageQuotaBreakdown": return NewStorageQuotaBreakdown(), nil case "#microsoft.graph.storageSettings": diff --git a/models/expiration_pattern.go b/models/expiration_pattern.go index b8f6bf92404..f638e2ba56d 100644 --- a/models/expiration_pattern.go +++ b/models/expiration_pattern.go @@ -41,7 +41,7 @@ func (m *ExpirationPattern) GetAdditionalData()(map[string]any) { func (m *ExpirationPattern) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDuration gets the duration property value. The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime should not be present and the type property should be set to afterDuration. +// GetDuration gets the duration property value. The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime shouldn't be present and the type property should be set to afterDuration. // returns a *ISODuration when successful func (m *ExpirationPattern) GetDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("duration") @@ -53,7 +53,7 @@ func (m *ExpirationPattern) GetDuration()(*i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// GetEndDateTime gets the endDateTime property value. Timestamp of date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// GetEndDateTime gets the endDateTime property value. Timestamp of date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ExpirationPattern) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") @@ -181,14 +181,14 @@ func (m *ExpirationPattern) SetAdditionalData(value map[string]any)() { func (m *ExpirationPattern) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDuration sets the duration property value. The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime should not be present and the type property should be set to afterDuration. +// SetDuration sets the duration property value. The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime shouldn't be present and the type property should be set to afterDuration. func (m *ExpirationPattern) SetDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("duration", value) if err != nil { panic(err) } } -// SetEndDateTime sets the endDateTime property value. Timestamp of date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// SetEndDateTime sets the endDateTime property value. Timestamp of date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014, is 2014-01-01T00:00:00Z. func (m *ExpirationPattern) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { diff --git a/models/extended_key_usage.go b/models/extended_key_usage.go index f668da9895c..60199777ad0 100644 --- a/models/extended_key_usage.go +++ b/models/extended_key_usage.go @@ -77,7 +77,7 @@ func (m *ExtendedKeyUsage) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetName gets the name property value. Extended Key Usage Name +// GetName gets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. // returns a *string when successful func (m *ExtendedKeyUsage) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -89,7 +89,7 @@ func (m *ExtendedKeyUsage) GetName()(*string) { } return nil } -// GetObjectIdentifier gets the objectIdentifier property value. Extended Key Usage Object Identifier +// GetObjectIdentifier gets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. // returns a *string when successful func (m *ExtendedKeyUsage) GetObjectIdentifier()(*string) { val, err := m.GetBackingStore().Get("objectIdentifier") @@ -152,14 +152,14 @@ func (m *ExtendedKeyUsage) SetAdditionalData(value map[string]any)() { func (m *ExtendedKeyUsage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetName sets the name property value. Extended Key Usage Name +// SetName sets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. func (m *ExtendedKeyUsage) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetObjectIdentifier sets the objectIdentifier property value. Extended Key Usage Object Identifier +// SetObjectIdentifier sets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. func (m *ExtendedKeyUsage) SetObjectIdentifier(value *string)() { err := m.GetBackingStore().Set("objectIdentifier", value) if err != nil { diff --git a/models/externalconnectors/configuration.go b/models/externalconnectors/configuration.go index 4a4e9d3155d..692614c1f63 100644 --- a/models/externalconnectors/configuration.go +++ b/models/externalconnectors/configuration.go @@ -35,7 +35,7 @@ func (m *Configuration) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAuthorizedAppIds gets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps that are allowed to manage the externalConnection and to index content in the externalConnection. +// GetAuthorizedAppIds gets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps allowed to manage the externalConnection and index content in the externalConnection. // returns a []string when successful func (m *Configuration) GetAuthorizedAppIds()([]string) { val, err := m.GetBackingStore().Get("authorizedAppIds") @@ -125,7 +125,7 @@ func (m *Configuration) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAuthorizedAppIds sets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps that are allowed to manage the externalConnection and to index content in the externalConnection. +// SetAuthorizedAppIds sets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps allowed to manage the externalConnection and index content in the externalConnection. func (m *Configuration) SetAuthorizedAppIds(value []string)() { err := m.GetBackingStore().Set("authorizedAppIds", value) if err != nil { diff --git a/models/externalconnectors/external.go b/models/externalconnectors/external.go index 47527f51b5d..8b4213a9e15 100644 --- a/models/externalconnectors/external.go +++ b/models/externalconnectors/external.go @@ -37,7 +37,7 @@ func (m *External) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAuthorizationSystems gets the authorizationSystems property value. Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. +// GetAuthorizationSystems gets the authorizationSystems property value. Represents an onboarded Amazon Web Services (AWS) account, Azure subscription, or Google Cloud Platform (GCP) project that Microsoft Entra Permissions Management collects and analyzes permissions and actions on. // returns a []AuthorizationSystemable when successful func (m *External) GetAuthorizationSystems()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationSystemable) { val, err := m.GetBackingStore().Get("authorizationSystems") @@ -201,7 +201,7 @@ func (m *External) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAuthorizationSystems sets the authorizationSystems property value. Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. +// SetAuthorizationSystems sets the authorizationSystems property value. Represents an onboarded Amazon Web Services (AWS) account, Azure subscription, or Google Cloud Platform (GCP) project that Microsoft Entra Permissions Management collects and analyzes permissions and actions on. func (m *External) SetAuthorizationSystems(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationSystemable)() { err := m.GetBackingStore().Set("authorizationSystems", value) if err != nil { diff --git a/models/hardware_oath_authentication_method.go b/models/hardware_oath_authentication_method.go new file mode 100644 index 00000000000..9bfbfb5c66d --- /dev/null +++ b/models/hardware_oath_authentication_method.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HardwareOathAuthenticationMethod struct { + AuthenticationMethod +} +// NewHardwareOathAuthenticationMethod instantiates a new HardwareOathAuthenticationMethod and sets the default values. +func NewHardwareOathAuthenticationMethod()(*HardwareOathAuthenticationMethod) { + m := &HardwareOathAuthenticationMethod{ + AuthenticationMethod: *NewAuthenticationMethod(), + } + odataTypeValue := "#microsoft.graph.hardwareOathAuthenticationMethod" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateHardwareOathAuthenticationMethodFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwareOathAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwareOathAuthenticationMethod(), nil +} +// GetDevice gets the device property value. Exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +func (m *HardwareOathAuthenticationMethod) GetDevice()(HardwareOathTokenAuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("device") + if err != nil { + panic(err) + } + if val != nil { + return val.(HardwareOathTokenAuthenticationMethodDeviceable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwareOathAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethod.GetFieldDeserializers() + res["device"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDevice(val.(HardwareOathTokenAuthenticationMethodDeviceable)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *HardwareOathAuthenticationMethod) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethod.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("device", m.GetDevice()) + if err != nil { + return err + } + } + return nil +} +// SetDevice sets the device property value. Exposes the hardware OATH method in the directory. +func (m *HardwareOathAuthenticationMethod) SetDevice(value HardwareOathTokenAuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("device", value) + if err != nil { + panic(err) + } +} +type HardwareOathAuthenticationMethodable interface { + AuthenticationMethodable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDevice()(HardwareOathTokenAuthenticationMethodDeviceable) + SetDevice(value HardwareOathTokenAuthenticationMethodDeviceable)() +} diff --git a/models/hardware_oath_authentication_method_collection_response.go b/models/hardware_oath_authentication_method_collection_response.go new file mode 100644 index 00000000000..126fca10aa3 --- /dev/null +++ b/models/hardware_oath_authentication_method_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HardwareOathAuthenticationMethodCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewHardwareOathAuthenticationMethodCollectionResponse instantiates a new HardwareOathAuthenticationMethodCollectionResponse and sets the default values. +func NewHardwareOathAuthenticationMethodCollectionResponse()(*HardwareOathAuthenticationMethodCollectionResponse) { + m := &HardwareOathAuthenticationMethodCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateHardwareOathAuthenticationMethodCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwareOathAuthenticationMethodCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwareOathAuthenticationMethodCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwareOathAuthenticationMethodCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwareOathAuthenticationMethodFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwareOathAuthenticationMethodable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwareOathAuthenticationMethodable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []HardwareOathAuthenticationMethodable when successful +func (m *HardwareOathAuthenticationMethodCollectionResponse) GetValue()([]HardwareOathAuthenticationMethodable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwareOathAuthenticationMethodable) + } + return nil +} +// Serialize serializes information the current object +func (m *HardwareOathAuthenticationMethodCollectionResponse) 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 *HardwareOathAuthenticationMethodCollectionResponse) SetValue(value []HardwareOathAuthenticationMethodable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type HardwareOathAuthenticationMethodCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]HardwareOathAuthenticationMethodable) + SetValue(value []HardwareOathAuthenticationMethodable)() +} diff --git a/models/hardware_oath_token_authentication_method_device.go b/models/hardware_oath_token_authentication_method_device.go new file mode 100644 index 00000000000..8414ff5e2a7 --- /dev/null +++ b/models/hardware_oath_token_authentication_method_device.go @@ -0,0 +1,376 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HardwareOathTokenAuthenticationMethodDevice struct { + AuthenticationMethodDevice +} +// NewHardwareOathTokenAuthenticationMethodDevice instantiates a new HardwareOathTokenAuthenticationMethodDevice and sets the default values. +func NewHardwareOathTokenAuthenticationMethodDevice()(*HardwareOathTokenAuthenticationMethodDevice) { + m := &HardwareOathTokenAuthenticationMethodDevice{ + AuthenticationMethodDevice: *NewAuthenticationMethodDevice(), + } + odataTypeValue := "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwareOathTokenAuthenticationMethodDevice(), nil +} +// GetAssignedTo gets the assignedTo property value. User the token is assigned to. Nullable. Supports $filter (eq). +// returns a Identityable when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetAssignedTo()(Identityable) { + val, err := m.GetBackingStore().Get("assignedTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(Identityable) + } + return nil +} +// GetAssignTo gets the assignTo property value. Assign the hardware OATH token to a user. +// returns a Userable when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetAssignTo()(Userable) { + val, err := m.GetBackingStore().Get("assignTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(Userable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethodDevice.GetFieldDeserializers() + res["assignedTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedTo(val.(Identityable)) + } + return nil + } + res["assignTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignTo(val.(Userable)) + } + return nil + } + res["hashFunction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseHardwareOathTokenHashFunction) + if err != nil { + return err + } + if val != nil { + m.SetHashFunction(val.(*HardwareOathTokenHashFunction)) + } + return nil + } + res["manufacturer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManufacturer(val) + } + return nil + } + res["model"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetModel(val) + } + return nil + } + res["secretKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSecretKey(val) + } + return nil + } + res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSerialNumber(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseHardwareOathTokenStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*HardwareOathTokenStatus)) + } + return nil + } + res["timeIntervalInSeconds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTimeIntervalInSeconds(val) + } + return nil + } + return res +} +// GetHashFunction gets the hashFunction property value. Hash function of the hardrware token. The possible values are: hmacsha1 or hmacsha256. Default value is: hmacsha1. Supports $filter (eq). +// returns a *HardwareOathTokenHashFunction when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetHashFunction()(*HardwareOathTokenHashFunction) { + val, err := m.GetBackingStore().Get("hashFunction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*HardwareOathTokenHashFunction) + } + return nil +} +// GetManufacturer gets the manufacturer property value. Manufacturer name of the hardware token. Supports $filter (eq). +// returns a *string when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetManufacturer()(*string) { + val, err := m.GetBackingStore().Get("manufacturer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetModel gets the model property value. Model name of the hardware token. Supports $filter (eq). +// returns a *string when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetModel()(*string) { + val, err := m.GetBackingStore().Get("model") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSecretKey gets the secretKey property value. Secret key of the specific hardware token, provided by the vendor. +// returns a *string when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetSecretKey()(*string) { + val, err := m.GetBackingStore().Get("secretKey") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSerialNumber gets the serialNumber property value. Serial number of the specific hardware token, often found on the back of the device. Supports $select and $filter (eq). +// returns a *string when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetSerialNumber()(*string) { + val, err := m.GetBackingStore().Get("serialNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatus gets the status property value. Status of the hardware OATH token.The possible values are: available, assigned, activated, failedActivation. Supports $filter(eq). +// returns a *HardwareOathTokenStatus when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetStatus()(*HardwareOathTokenStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*HardwareOathTokenStatus) + } + return nil +} +// GetTimeIntervalInSeconds gets the timeIntervalInSeconds property value. Refresh interval of the 6-digit verification code, in seconds. The possible values are: 30 or 60. Supports $filter (eq). +// returns a *int32 when successful +func (m *HardwareOathTokenAuthenticationMethodDevice) GetTimeIntervalInSeconds()(*int32) { + val, err := m.GetBackingStore().Get("timeIntervalInSeconds") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *HardwareOathTokenAuthenticationMethodDevice) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethodDevice.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("assignedTo", m.GetAssignedTo()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("assignTo", m.GetAssignTo()) + if err != nil { + return err + } + } + if m.GetHashFunction() != nil { + cast := (*m.GetHashFunction()).String() + err = writer.WriteStringValue("hashFunction", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("manufacturer", m.GetManufacturer()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("model", m.GetModel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("secretKey", m.GetSecretKey()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("serialNumber", m.GetSerialNumber()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("timeIntervalInSeconds", m.GetTimeIntervalInSeconds()) + if err != nil { + return err + } + } + return nil +} +// SetAssignedTo sets the assignedTo property value. User the token is assigned to. Nullable. Supports $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetAssignedTo(value Identityable)() { + err := m.GetBackingStore().Set("assignedTo", value) + if err != nil { + panic(err) + } +} +// SetAssignTo sets the assignTo property value. Assign the hardware OATH token to a user. +func (m *HardwareOathTokenAuthenticationMethodDevice) SetAssignTo(value Userable)() { + err := m.GetBackingStore().Set("assignTo", value) + if err != nil { + panic(err) + } +} +// SetHashFunction sets the hashFunction property value. Hash function of the hardrware token. The possible values are: hmacsha1 or hmacsha256. Default value is: hmacsha1. Supports $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetHashFunction(value *HardwareOathTokenHashFunction)() { + err := m.GetBackingStore().Set("hashFunction", value) + if err != nil { + panic(err) + } +} +// SetManufacturer sets the manufacturer property value. Manufacturer name of the hardware token. Supports $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetManufacturer(value *string)() { + err := m.GetBackingStore().Set("manufacturer", value) + if err != nil { + panic(err) + } +} +// SetModel sets the model property value. Model name of the hardware token. Supports $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetModel(value *string)() { + err := m.GetBackingStore().Set("model", value) + if err != nil { + panic(err) + } +} +// SetSecretKey sets the secretKey property value. Secret key of the specific hardware token, provided by the vendor. +func (m *HardwareOathTokenAuthenticationMethodDevice) SetSecretKey(value *string)() { + err := m.GetBackingStore().Set("secretKey", value) + if err != nil { + panic(err) + } +} +// SetSerialNumber sets the serialNumber property value. Serial number of the specific hardware token, often found on the back of the device. Supports $select and $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetSerialNumber(value *string)() { + err := m.GetBackingStore().Set("serialNumber", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. Status of the hardware OATH token.The possible values are: available, assigned, activated, failedActivation. Supports $filter(eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetStatus(value *HardwareOathTokenStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetTimeIntervalInSeconds sets the timeIntervalInSeconds property value. Refresh interval of the 6-digit verification code, in seconds. The possible values are: 30 or 60. Supports $filter (eq). +func (m *HardwareOathTokenAuthenticationMethodDevice) SetTimeIntervalInSeconds(value *int32)() { + err := m.GetBackingStore().Set("timeIntervalInSeconds", value) + if err != nil { + panic(err) + } +} +type HardwareOathTokenAuthenticationMethodDeviceable interface { + AuthenticationMethodDeviceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignedTo()(Identityable) + GetAssignTo()(Userable) + GetHashFunction()(*HardwareOathTokenHashFunction) + GetManufacturer()(*string) + GetModel()(*string) + GetSecretKey()(*string) + GetSerialNumber()(*string) + GetStatus()(*HardwareOathTokenStatus) + GetTimeIntervalInSeconds()(*int32) + SetAssignedTo(value Identityable)() + SetAssignTo(value Userable)() + SetHashFunction(value *HardwareOathTokenHashFunction)() + SetManufacturer(value *string)() + SetModel(value *string)() + SetSecretKey(value *string)() + SetSerialNumber(value *string)() + SetStatus(value *HardwareOathTokenStatus)() + SetTimeIntervalInSeconds(value *int32)() +} diff --git a/models/hardware_oath_token_authentication_method_device_collection_response.go b/models/hardware_oath_token_authentication_method_device_collection_response.go new file mode 100644 index 00000000000..ad1fc87de38 --- /dev/null +++ b/models/hardware_oath_token_authentication_method_device_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type HardwareOathTokenAuthenticationMethodDeviceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewHardwareOathTokenAuthenticationMethodDeviceCollectionResponse instantiates a new HardwareOathTokenAuthenticationMethodDeviceCollectionResponse and sets the default values. +func NewHardwareOathTokenAuthenticationMethodDeviceCollectionResponse()(*HardwareOathTokenAuthenticationMethodDeviceCollectionResponse) { + m := &HardwareOathTokenAuthenticationMethodDeviceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateHardwareOathTokenAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateHardwareOathTokenAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHardwareOathTokenAuthenticationMethodDeviceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *HardwareOathTokenAuthenticationMethodDeviceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HardwareOathTokenAuthenticationMethodDeviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HardwareOathTokenAuthenticationMethodDeviceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []HardwareOathTokenAuthenticationMethodDeviceable when successful +func (m *HardwareOathTokenAuthenticationMethodDeviceCollectionResponse) GetValue()([]HardwareOathTokenAuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HardwareOathTokenAuthenticationMethodDeviceable) + } + return nil +} +// Serialize serializes information the current object +func (m *HardwareOathTokenAuthenticationMethodDeviceCollectionResponse) 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 *HardwareOathTokenAuthenticationMethodDeviceCollectionResponse) SetValue(value []HardwareOathTokenAuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]HardwareOathTokenAuthenticationMethodDeviceable) + SetValue(value []HardwareOathTokenAuthenticationMethodDeviceable)() +} diff --git a/models/hardware_oath_token_hash_function.go b/models/hardware_oath_token_hash_function.go new file mode 100644 index 00000000000..fe32b2de772 --- /dev/null +++ b/models/hardware_oath_token_hash_function.go @@ -0,0 +1,36 @@ +package models +type HardwareOathTokenHashFunction int + +const ( + HMACSHA1_HARDWAREOATHTOKENHASHFUNCTION HardwareOathTokenHashFunction = iota + HMACSHA256_HARDWAREOATHTOKENHASHFUNCTION + UNKNOWNFUTUREVALUE_HARDWAREOATHTOKENHASHFUNCTION +) + +func (i HardwareOathTokenHashFunction) String() string { + return []string{"hmacsha1", "hmacsha256", "unknownFutureValue"}[i] +} +func ParseHardwareOathTokenHashFunction(v string) (any, error) { + result := HMACSHA1_HARDWAREOATHTOKENHASHFUNCTION + switch v { + case "hmacsha1": + result = HMACSHA1_HARDWAREOATHTOKENHASHFUNCTION + case "hmacsha256": + result = HMACSHA256_HARDWAREOATHTOKENHASHFUNCTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_HARDWAREOATHTOKENHASHFUNCTION + default: + return nil, nil + } + return &result, nil +} +func SerializeHardwareOathTokenHashFunction(values []HardwareOathTokenHashFunction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i HardwareOathTokenHashFunction) isMultiValue() bool { + return false +} diff --git a/models/hardware_oath_token_status.go b/models/hardware_oath_token_status.go new file mode 100644 index 00000000000..dfe35f347d7 --- /dev/null +++ b/models/hardware_oath_token_status.go @@ -0,0 +1,42 @@ +package models +type HardwareOathTokenStatus int + +const ( + AVAILABLE_HARDWAREOATHTOKENSTATUS HardwareOathTokenStatus = iota + ASSIGNED_HARDWAREOATHTOKENSTATUS + ACTIVATED_HARDWAREOATHTOKENSTATUS + FAILEDACTIVATION_HARDWAREOATHTOKENSTATUS + UNKNOWNFUTUREVALUE_HARDWAREOATHTOKENSTATUS +) + +func (i HardwareOathTokenStatus) String() string { + return []string{"available", "assigned", "activated", "failedActivation", "unknownFutureValue"}[i] +} +func ParseHardwareOathTokenStatus(v string) (any, error) { + result := AVAILABLE_HARDWAREOATHTOKENSTATUS + switch v { + case "available": + result = AVAILABLE_HARDWAREOATHTOKENSTATUS + case "assigned": + result = ASSIGNED_HARDWAREOATHTOKENSTATUS + case "activated": + result = ACTIVATED_HARDWAREOATHTOKENSTATUS + case "failedActivation": + result = FAILEDACTIVATION_HARDWAREOATHTOKENSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_HARDWAREOATHTOKENSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeHardwareOathTokenStatus(values []HardwareOathTokenStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i HardwareOathTokenStatus) isMultiValue() bool { + return false +} diff --git a/models/identity_set.go b/models/identity_set.go index cce7a6f5bef..1069fcfc94e 100644 --- a/models/identity_set.go +++ b/models/identity_set.go @@ -63,7 +63,7 @@ func (m *IdentitySet) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplication gets the application property value. The Identity of the Application. This property is read-only. +// GetApplication gets the application property value. Optional. The application associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetApplication()(Identityable) { val, err := m.GetBackingStore().Get("application") @@ -80,7 +80,7 @@ func (m *IdentitySet) GetApplication()(Identityable) { func (m *IdentitySet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDevice gets the device property value. The Identity of the Device. This property is read-only. +// GetDevice gets the device property value. Optional. The device associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetDevice()(Identityable) { val, err := m.GetBackingStore().Get("device") @@ -150,7 +150,7 @@ func (m *IdentitySet) GetOdataType()(*string) { } return nil } -// GetUser gets the user property value. The Identity of the User. This property is read-only. +// GetUser gets the user property value. Optional. The user associated with this action. // returns a Identityable when successful func (m *IdentitySet) GetUser()(Identityable) { val, err := m.GetBackingStore().Get("user") @@ -203,7 +203,7 @@ func (m *IdentitySet) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApplication sets the application property value. The Identity of the Application. This property is read-only. +// SetApplication sets the application property value. Optional. The application associated with this action. func (m *IdentitySet) SetApplication(value Identityable)() { err := m.GetBackingStore().Set("application", value) if err != nil { @@ -214,7 +214,7 @@ func (m *IdentitySet) SetApplication(value Identityable)() { func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDevice sets the device property value. The Identity of the Device. This property is read-only. +// SetDevice sets the device property value. Optional. The device associated with this action. func (m *IdentitySet) SetDevice(value Identityable)() { err := m.GetBackingStore().Set("device", value) if err != nil { @@ -228,7 +228,7 @@ func (m *IdentitySet) SetOdataType(value *string)() { panic(err) } } -// SetUser sets the user property value. The Identity of the User. This property is read-only. +// SetUser sets the user property value. Optional. The user associated with this action. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/initiator.go b/models/initiator.go index a59070766ed..bf8f0900ce5 100644 --- a/models/initiator.go +++ b/models/initiator.go @@ -37,7 +37,7 @@ func (m *Initiator) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return res } -// GetInitiatorType gets the initiatorType property value. Type of initiator. Possible values are: user, application, system, unknownFutureValue. +// GetInitiatorType gets the initiatorType property value. The type of the initiator. Possible values are: user, application, system, unknownFutureValue. // returns a *InitiatorType when successful func (m *Initiator) GetInitiatorType()(*InitiatorType) { val, err := m.GetBackingStore().Get("initiatorType") @@ -64,7 +64,7 @@ func (m *Initiator) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } return nil } -// SetInitiatorType sets the initiatorType property value. Type of initiator. Possible values are: user, application, system, unknownFutureValue. +// SetInitiatorType sets the initiatorType property value. The type of the initiator. Possible values are: user, application, system, unknownFutureValue. func (m *Initiator) SetInitiatorType(value *InitiatorType)() { err := m.GetBackingStore().Set("initiatorType", value) if err != nil { diff --git a/models/ios_lob_app_provisioning_configuration.go b/models/ios_lob_app_provisioning_configuration.go index 4c72c8d7e93..762ebf06ff5 100644 --- a/models/ios_lob_app_provisioning_configuration.go +++ b/models/ios_lob_app_provisioning_configuration.go @@ -21,7 +21,7 @@ func NewIosLobAppProvisioningConfiguration()(*IosLobAppProvisioningConfiguration func CreateIosLobAppProvisioningConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewIosLobAppProvisioningConfiguration(), nil } -// GetAssignments gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. +// GetAssignments gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. // returns a []IosLobAppProvisioningConfigurationAssignmentable when successful func (m *IosLobAppProvisioningConfiguration) GetAssignments()([]IosLobAppProvisioningConfigurationAssignmentable) { val, err := m.GetBackingStore().Get("assignments") @@ -81,7 +81,7 @@ func (m *IosLobAppProvisioningConfiguration) GetDisplayName()(*string) { } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. Optional profile expiration date and time. +// GetExpirationDateTime gets the expirationDateTime property value. Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. // returns a *Time when successful func (m *IosLobAppProvisioningConfiguration) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -453,7 +453,7 @@ func (m *IosLobAppProvisioningConfiguration) Serialize(writer i878a80d2330e89d26 } return nil } -// SetAssignments sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. +// SetAssignments sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. func (m *IosLobAppProvisioningConfiguration) SetAssignments(value []IosLobAppProvisioningConfigurationAssignmentable)() { err := m.GetBackingStore().Set("assignments", value) if err != nil { @@ -488,7 +488,7 @@ func (m *IosLobAppProvisioningConfiguration) SetDisplayName(value *string)() { panic(err) } } -// SetExpirationDateTime sets the expirationDateTime property value. Optional profile expiration date and time. +// SetExpirationDateTime sets the expirationDateTime property value. Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. func (m *IosLobAppProvisioningConfiguration) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { diff --git a/models/ios_managed_app_protection.go b/models/ios_managed_app_protection.go index 87a905e227d..0f2100dad75 100644 --- a/models/ios_managed_app_protection.go +++ b/models/ios_managed_app_protection.go @@ -94,7 +94,7 @@ func (m *IosManagedAppProtection) GetApps()([]ManagedMobileAppable) { } return nil } -// GetCustomBrowserProtocol gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// GetCustomBrowserProtocol gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. // returns a *string when successful func (m *IosManagedAppProtection) GetCustomBrowserProtocol()(*string) { val, err := m.GetBackingStore().Get("customBrowserProtocol") @@ -733,7 +733,7 @@ func (m *IosManagedAppProtection) SetApps(value []ManagedMobileAppable)() { panic(err) } } -// SetCustomBrowserProtocol sets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. +// SetCustomBrowserProtocol sets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. func (m *IosManagedAppProtection) SetCustomBrowserProtocol(value *string)() { err := m.GetBackingStore().Set("customBrowserProtocol", value) if err != nil { diff --git a/models/item_attachment.go b/models/item_attachment.go index 4576bcba51c..120253f7465 100644 --- a/models/item_attachment.go +++ b/models/item_attachment.go @@ -37,7 +37,7 @@ func (m *ItemAttachment) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetItem gets the item property value. The attached contact, message or event. Navigation property. +// GetItem gets the item property value. The attached contact, message, or event. Navigation property. // returns a OutlookItemable when successful func (m *ItemAttachment) GetItem()(OutlookItemable) { val, err := m.GetBackingStore().Get("item") @@ -63,7 +63,7 @@ func (m *ItemAttachment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetItem sets the item property value. The attached contact, message or event. Navigation property. +// SetItem sets the item property value. The attached contact, message, or event. Navigation property. func (m *ItemAttachment) SetItem(value OutlookItemable)() { err := m.GetBackingStore().Set("item", value) if err != nil { diff --git a/models/key_credential_configuration.go b/models/key_credential_configuration.go index 8a203a9b218..adeb395bab6 100644 --- a/models/key_credential_configuration.go +++ b/models/key_credential_configuration.go @@ -173,7 +173,7 @@ func (m *KeyCredentialConfiguration) GetRestrictionType()(*AppKeyCredentialRestr } return nil } -// GetState gets the state property value. String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. +// GetState gets the state property value. Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. // returns a *AppManagementRestrictionState when successful func (m *KeyCredentialConfiguration) GetState()(*AppManagementRestrictionState) { val, err := m.GetBackingStore().Get("state") @@ -279,7 +279,7 @@ func (m *KeyCredentialConfiguration) SetRestrictionType(value *AppKeyCredentialR panic(err) } } -// SetState sets the state property value. String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. +// SetState sets the state property value. Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. func (m *KeyCredentialConfiguration) SetState(value *AppManagementRestrictionState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/models/key_value.go b/models/key_value.go index 422f3c025fd..bebb09fce47 100644 --- a/models/key_value.go +++ b/models/key_value.go @@ -76,7 +76,7 @@ func (m *KeyValue) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetKey gets the key property value. Contains the name of the field that a value is associated with. +// GetKey gets the key property value. Key. // returns a *string when successful func (m *KeyValue) GetKey()(*string) { val, err := m.GetBackingStore().Get("key") @@ -100,7 +100,7 @@ func (m *KeyValue) GetOdataType()(*string) { } return nil } -// GetValue gets the value property value. Contains the corresponding value for the specified key. +// GetValue gets the value property value. Value. // returns a *string when successful func (m *KeyValue) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -151,7 +151,7 @@ func (m *KeyValue) SetAdditionalData(value map[string]any)() { func (m *KeyValue) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Contains the name of the field that a value is associated with. +// SetKey sets the key property value. Key. func (m *KeyValue) SetKey(value *string)() { err := m.GetBackingStore().Set("key", value) if err != nil { @@ -165,7 +165,7 @@ func (m *KeyValue) SetOdataType(value *string)() { panic(err) } } -// SetValue sets the value property value. Contains the corresponding value for the specified key. +// SetValue sets the value property value. Value. func (m *KeyValue) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/mail_tips.go b/models/mail_tips.go index c7637af25ec..d215cba5972 100644 --- a/models/mail_tips.go +++ b/models/mail_tips.go @@ -35,7 +35,7 @@ func (m *MailTips) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAutomaticReplies gets the automaticReplies property value. Mail tips for automatic reply if it has been set up by the recipient. +// GetAutomaticReplies gets the automaticReplies property value. Mailtips for an automatic reply if set up by the recipient. // returns a AutomaticRepliesMailTipsable when successful func (m *MailTips) GetAutomaticReplies()(AutomaticRepliesMailTipsable) { val, err := m.GetBackingStore().Get("automaticReplies") @@ -64,7 +64,7 @@ func (m *MailTips) GetCustomMailTip()(*string) { } return nil } -// GetDeliveryRestricted gets the deliveryRestricted property value. Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. +// GetDeliveryRestricted gets the deliveryRestricted property value. Whether the recipient's mailbox is restricted. For example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. // returns a *bool when successful func (m *MailTips) GetDeliveryRestricted()(*bool) { val, err := m.GetBackingStore().Get("deliveryRestricted") @@ -254,7 +254,7 @@ func (m *MailTips) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetIsModerated gets the isModerated property value. Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. +// GetIsModerated gets the isModerated property value. Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator is set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. // returns a *bool when successful func (m *MailTips) GetIsModerated()(*bool) { val, err := m.GetBackingStore().Get("isModerated") @@ -278,7 +278,7 @@ func (m *MailTips) GetMailboxFull()(*bool) { } return nil } -// GetMaxMessageSize gets the maxMessageSize property value. The maximum message size that has been configured for the recipient's organization or mailbox. +// GetMaxMessageSize gets the maxMessageSize property value. The maximum message size configured for the recipient's organization or mailbox. // returns a *int32 when successful func (m *MailTips) GetMaxMessageSize()(*int32) { val, err := m.GetBackingStore().Get("maxMessageSize") @@ -302,7 +302,7 @@ func (m *MailTips) GetOdataType()(*string) { } return nil } -// GetRecipientScope gets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. +// GetRecipientScope gets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone, and content. // returns a *RecipientScopeType when successful func (m *MailTips) GetRecipientScope()(*RecipientScopeType) { val, err := m.GetBackingStore().Get("recipientScope") @@ -440,7 +440,7 @@ func (m *MailTips) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAutomaticReplies sets the automaticReplies property value. Mail tips for automatic reply if it has been set up by the recipient. +// SetAutomaticReplies sets the automaticReplies property value. Mailtips for an automatic reply if set up by the recipient. func (m *MailTips) SetAutomaticReplies(value AutomaticRepliesMailTipsable)() { err := m.GetBackingStore().Set("automaticReplies", value) if err != nil { @@ -458,7 +458,7 @@ func (m *MailTips) SetCustomMailTip(value *string)() { panic(err) } } -// SetDeliveryRestricted sets the deliveryRestricted property value. Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. +// SetDeliveryRestricted sets the deliveryRestricted property value. Whether the recipient's mailbox is restricted. For example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. func (m *MailTips) SetDeliveryRestricted(value *bool)() { err := m.GetBackingStore().Set("deliveryRestricted", value) if err != nil { @@ -486,7 +486,7 @@ func (m *MailTips) SetExternalMemberCount(value *int32)() { panic(err) } } -// SetIsModerated sets the isModerated property value. Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. +// SetIsModerated sets the isModerated property value. Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator is set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. func (m *MailTips) SetIsModerated(value *bool)() { err := m.GetBackingStore().Set("isModerated", value) if err != nil { @@ -500,7 +500,7 @@ func (m *MailTips) SetMailboxFull(value *bool)() { panic(err) } } -// SetMaxMessageSize sets the maxMessageSize property value. The maximum message size that has been configured for the recipient's organization or mailbox. +// SetMaxMessageSize sets the maxMessageSize property value. The maximum message size configured for the recipient's organization or mailbox. func (m *MailTips) SetMaxMessageSize(value *int32)() { err := m.GetBackingStore().Set("maxMessageSize", value) if err != nil { @@ -514,7 +514,7 @@ func (m *MailTips) SetOdataType(value *string)() { panic(err) } } -// SetRecipientScope sets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. +// SetRecipientScope sets the recipientScope property value. The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone, and content. func (m *MailTips) SetRecipientScope(value *RecipientScopeType)() { err := m.GetBackingStore().Set("recipientScope", value) if err != nil { diff --git a/models/mailbox_restore_artifact.go b/models/mailbox_restore_artifact.go index 64fd6dd2dea..d9a4bf9efa2 100644 --- a/models/mailbox_restore_artifact.go +++ b/models/mailbox_restore_artifact.go @@ -73,7 +73,7 @@ func (m *MailboxRestoreArtifact) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetRestoredFolderId gets the restoredFolderId property value. The new restored folder identifier for the user. +// GetRestoredFolderId gets the restoredFolderId property value. The newly restored folder identifier for the user. // returns a *string when successful func (m *MailboxRestoreArtifact) GetRestoredFolderId()(*string) { val, err := m.GetBackingStore().Get("restoredFolderId") @@ -97,7 +97,7 @@ func (m *MailboxRestoreArtifact) GetRestoredFolderName()(*string) { } return nil } -// GetRestoredItemCount gets the restoredItemCount property value. The restoredItemCount property +// GetRestoredItemCount gets the restoredItemCount property value. The number of items that are being restored in the folder. // returns a *int32 when successful func (m *MailboxRestoreArtifact) GetRestoredItemCount()(*int32) { val, err := m.GetBackingStore().Get("restoredItemCount") @@ -129,7 +129,7 @@ func (m *MailboxRestoreArtifact) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetRestoredFolderId sets the restoredFolderId property value. The new restored folder identifier for the user. +// SetRestoredFolderId sets the restoredFolderId property value. The newly restored folder identifier for the user. func (m *MailboxRestoreArtifact) SetRestoredFolderId(value *string)() { err := m.GetBackingStore().Set("restoredFolderId", value) if err != nil { @@ -143,7 +143,7 @@ func (m *MailboxRestoreArtifact) SetRestoredFolderName(value *string)() { panic(err) } } -// SetRestoredItemCount sets the restoredItemCount property value. The restoredItemCount property +// SetRestoredItemCount sets the restoredItemCount property value. The number of items that are being restored in the folder. func (m *MailboxRestoreArtifact) SetRestoredItemCount(value *int32)() { err := m.GetBackingStore().Set("restoredItemCount", value) if err != nil { diff --git a/models/mobile_app.go b/models/mobile_app.go index 8e1ccc1f51c..9d4b6d04b34 100644 --- a/models/mobile_app.go +++ b/models/mobile_app.go @@ -141,7 +141,7 @@ func (m *MobileApp) GetCategories()([]MobileAppCategoryable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. // returns a *Time when successful func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -153,7 +153,7 @@ func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f30 } return nil } -// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. +// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. // returns a *int32 when successful func (m *MobileApp) GetDependentAppCount()(*int32) { val, err := m.GetBackingStore().Get("dependentAppCount") @@ -463,7 +463,7 @@ func (m *MobileApp) GetInformationUrl()(*string) { } return nil } -// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. +// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. // returns a *bool when successful func (m *MobileApp) GetIsAssigned()(*bool) { val, err := m.GetBackingStore().Get("isAssigned") @@ -499,7 +499,7 @@ func (m *MobileApp) GetLargeIcon()(MimeContentable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. // returns a *Time when successful func (m *MobileApp) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -571,7 +571,7 @@ func (m *MobileApp) GetPublishingState()(*MobileAppPublishingState) { } return nil } -// GetRelationships gets the relationships property value. The set of direct relationships for this app. +// GetRelationships gets the relationships property value. List of relationships for this mobile app. // returns a []MobileAppRelationshipable when successful func (m *MobileApp) GetRelationships()([]MobileAppRelationshipable) { val, err := m.GetBackingStore().Get("relationships") @@ -619,7 +619,7 @@ func (m *MobileApp) GetSupersedingAppCount()(*int32) { } return nil } -// GetUploadState gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. +// GetUploadState gets the uploadState property value. The upload state. // returns a *int32 when successful func (m *MobileApp) GetUploadState()(*int32) { val, err := m.GetBackingStore().Get("uploadState") @@ -762,14 +762,14 @@ func (m *MobileApp) SetCategories(value []MobileAppCategoryable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. func (m *MobileApp) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. +// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. func (m *MobileApp) SetDependentAppCount(value *int32)() { err := m.GetBackingStore().Set("dependentAppCount", value) if err != nil { @@ -804,7 +804,7 @@ func (m *MobileApp) SetInformationUrl(value *string)() { panic(err) } } -// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. +// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. func (m *MobileApp) SetIsAssigned(value *bool)() { err := m.GetBackingStore().Set("isAssigned", value) if err != nil { @@ -825,7 +825,7 @@ func (m *MobileApp) SetLargeIcon(value MimeContentable)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. func (m *MobileApp) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { @@ -867,7 +867,7 @@ func (m *MobileApp) SetPublishingState(value *MobileAppPublishingState)() { panic(err) } } -// SetRelationships sets the relationships property value. The set of direct relationships for this app. +// SetRelationships sets the relationships property value. List of relationships for this mobile app. func (m *MobileApp) SetRelationships(value []MobileAppRelationshipable)() { err := m.GetBackingStore().Set("relationships", value) if err != nil { @@ -895,7 +895,7 @@ func (m *MobileApp) SetSupersedingAppCount(value *int32)() { panic(err) } } -// SetUploadState sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. +// SetUploadState sets the uploadState property value. The upload state. func (m *MobileApp) SetUploadState(value *int32)() { err := m.GetBackingStore().Set("uploadState", value) if err != nil { diff --git a/models/mobile_app_troubleshooting_event.go b/models/mobile_app_troubleshooting_event.go index df58bebcc6b..d7f4a34e5ae 100644 --- a/models/mobile_app_troubleshooting_event.go +++ b/models/mobile_app_troubleshooting_event.go @@ -32,7 +32,7 @@ func (m *MobileAppTroubleshootingEvent) GetApplicationId()(*string) { } return nil } -// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. +// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. // returns a []AppLogCollectionRequestable when successful func (m *MobileAppTroubleshootingEvent) GetAppLogCollectionRequests()([]AppLogCollectionRequestable) { val, err := m.GetBackingStore().Get("appLogCollectionRequests") @@ -233,7 +233,7 @@ func (m *MobileAppTroubleshootingEvent) SetApplicationId(value *string)() { panic(err) } } -// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. +// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. func (m *MobileAppTroubleshootingEvent) SetAppLogCollectionRequests(value []AppLogCollectionRequestable)() { err := m.GetBackingStore().Set("appLogCollectionRequests", value) if err != nil { diff --git a/models/networkaccess/alert_summary.go b/models/networkaccess/alert_summary.go new file mode 100644 index 00000000000..5e2564ca7c2 --- /dev/null +++ b/models/networkaccess/alert_summary.go @@ -0,0 +1,226 @@ +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AlertSummary struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAlertSummary instantiates a new AlertSummary and sets the default values. +func NewAlertSummary()(*AlertSummary) { + m := &AlertSummary{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAlertSummaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAlertSummaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAlertSummary(), 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 *AlertSummary) 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) +} +// GetAlertType gets the alertType property value. The alertType property +// returns a *AlertType when successful +func (m *AlertSummary) GetAlertType()(*AlertType) { + val, err := m.GetBackingStore().Get("alertType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AlertType) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *AlertSummary) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCount gets the count property value. The count property +// returns a *int64 when successful +func (m *AlertSummary) GetCount()(*int64) { + val, err := m.GetBackingStore().Get("count") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AlertSummary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["alertType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAlertType) + if err != nil { + return err + } + if val != nil { + m.SetAlertType(val.(*AlertType)) + } + return nil + } + res["count"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetCount(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["severity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAlertSeverity) + if err != nil { + return err + } + if val != nil { + m.SetSeverity(val.(*AlertSeverity)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AlertSummary) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSeverity gets the severity property value. The severity property +// returns a *AlertSeverity when successful +func (m *AlertSummary) GetSeverity()(*AlertSeverity) { + val, err := m.GetBackingStore().Get("severity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AlertSeverity) + } + return nil +} +// Serialize serializes information the current object +func (m *AlertSummary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAlertType() != nil { + cast := (*m.GetAlertType()).String() + err := writer.WriteStringValue("alertType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteInt64Value("count", m.GetCount()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetSeverity() != nil { + cast := (*m.GetSeverity()).String() + err := writer.WriteStringValue("severity", &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 *AlertSummary) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAlertType sets the alertType property value. The alertType property +func (m *AlertSummary) SetAlertType(value *AlertType)() { + err := m.GetBackingStore().Set("alertType", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *AlertSummary) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCount sets the count property value. The count property +func (m *AlertSummary) SetCount(value *int64)() { + err := m.GetBackingStore().Set("count", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AlertSummary) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSeverity sets the severity property value. The severity property +func (m *AlertSummary) SetSeverity(value *AlertSeverity)() { + err := m.GetBackingStore().Set("severity", value) + if err != nil { + panic(err) + } +} +type AlertSummaryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAlertType()(*AlertType) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCount()(*int64) + GetOdataType()(*string) + GetSeverity()(*AlertSeverity) + SetAlertType(value *AlertType)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCount(value *int64)() + SetOdataType(value *string)() + SetSeverity(value *AlertSeverity)() +} diff --git a/models/networkaccess/connectivity.go b/models/networkaccess/connectivity.go index 7967047cc19..667479784e2 100644 --- a/models/networkaccess/connectivity.go +++ b/models/networkaccess/connectivity.go @@ -20,7 +20,7 @@ func NewConnectivity()(*Connectivity) { func CreateConnectivityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConnectivity(), nil } -// GetBranches gets the branches property value. Branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. +// GetBranches gets the branches property value. The locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. // returns a []BranchSiteable when successful func (m *Connectivity) GetBranches()([]BranchSiteable) { val, err := m.GetBackingStore().Get("branches") @@ -86,7 +86,7 @@ func (m *Connectivity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetRemoteNetworks gets the remoteNetworks property value. Represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// GetRemoteNetworks gets the remoteNetworks property value. The locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. // returns a []RemoteNetworkable when successful func (m *Connectivity) GetRemoteNetworks()([]RemoteNetworkable) { val, err := m.GetBackingStore().Get("remoteNetworks") @@ -154,14 +154,14 @@ func (m *Connectivity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetBranches sets the branches property value. Branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. +// SetBranches sets the branches property value. The locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. func (m *Connectivity) SetBranches(value []BranchSiteable)() { err := m.GetBackingStore().Set("branches", value) if err != nil { panic(err) } } -// SetRemoteNetworks sets the remoteNetworks property value. Represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// SetRemoteNetworks sets the remoteNetworks property value. The locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. func (m *Connectivity) SetRemoteNetworks(value []RemoteNetworkable)() { err := m.GetBackingStore().Set("remoteNetworks", value) if err != nil { diff --git a/models/networkaccess/profile.go b/models/networkaccess/profile.go index e72a4af4427..32cb1971277 100644 --- a/models/networkaccess/profile.go +++ b/models/networkaccess/profile.go @@ -125,7 +125,7 @@ func (m *Profile) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return res } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Profile last modified time. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when the profile was last modified. // returns a *Time when successful func (m *Profile) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -137,7 +137,7 @@ func (m *Profile) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6 } return nil } -// GetName gets the name property value. Profile name. +// GetName gets the name property value. The name of the profile. // returns a *string when successful func (m *Profile) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -149,7 +149,7 @@ func (m *Profile) GetName()(*string) { } return nil } -// GetPolicies gets the policies property value. Traffic forwarding policies associated with this profile. +// GetPolicies gets the policies property value. The traffic forwarding policies associated with this profile. // returns a []PolicyLinkable when successful func (m *Profile) GetPolicies()([]PolicyLinkable) { val, err := m.GetBackingStore().Get("policies") @@ -243,21 +243,21 @@ func (m *Profile) SetDescription(value *string)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Profile last modified time. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when the profile was last modified. func (m *Profile) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { panic(err) } } -// SetName sets the name property value. Profile name. +// SetName sets the name property value. The name of the profile. func (m *Profile) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetPolicies sets the policies property value. Traffic forwarding policies associated with this profile. +// SetPolicies sets the policies property value. The traffic forwarding policies associated with this profile. func (m *Profile) SetPolicies(value []PolicyLinkable)() { err := m.GetBackingStore().Set("policies", value) if err != nil { diff --git a/models/news_link_page.go b/models/news_link_page.go index 378e7895a0d..0455102414d 100644 --- a/models/news_link_page.go +++ b/models/news_link_page.go @@ -19,7 +19,7 @@ func NewNewsLinkPage()(*NewsLinkPage) { func CreateNewsLinkPageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewNewsLinkPage(), nil } -// GetBannerImageWebUrl gets the bannerImageWebUrl property value. The bannerImageWebUrl property +// GetBannerImageWebUrl gets the bannerImageWebUrl property value. A link to the banner image for the newsLinkPage. // returns a *string when successful func (m *NewsLinkPage) GetBannerImageWebUrl()(*string) { val, err := m.GetBackingStore().Get("bannerImageWebUrl") @@ -67,7 +67,7 @@ func (m *NewsLinkPage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetNewsSharepointIds gets the newsSharepointIds property value. The newsSharepointIds property +// GetNewsSharepointIds gets the newsSharepointIds property value. The SharePoint IDs of the referenced news article if it's recognized as a SharePoint resource. Read-only. // returns a SharepointIdsable when successful func (m *NewsLinkPage) GetNewsSharepointIds()(SharepointIdsable) { val, err := m.GetBackingStore().Get("newsSharepointIds") @@ -79,7 +79,7 @@ func (m *NewsLinkPage) GetNewsSharepointIds()(SharepointIdsable) { } return nil } -// GetNewsWebUrl gets the newsWebUrl property value. The newsWebUrl property +// GetNewsWebUrl gets the newsWebUrl property value. The URL of the news article referenced by the newsLinkPage. It can be an external link. // returns a *string when successful func (m *NewsLinkPage) GetNewsWebUrl()(*string) { val, err := m.GetBackingStore().Get("newsWebUrl") @@ -117,21 +117,21 @@ func (m *NewsLinkPage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetBannerImageWebUrl sets the bannerImageWebUrl property value. The bannerImageWebUrl property +// SetBannerImageWebUrl sets the bannerImageWebUrl property value. A link to the banner image for the newsLinkPage. func (m *NewsLinkPage) SetBannerImageWebUrl(value *string)() { err := m.GetBackingStore().Set("bannerImageWebUrl", value) if err != nil { panic(err) } } -// SetNewsSharepointIds sets the newsSharepointIds property value. The newsSharepointIds property +// SetNewsSharepointIds sets the newsSharepointIds property value. The SharePoint IDs of the referenced news article if it's recognized as a SharePoint resource. Read-only. func (m *NewsLinkPage) SetNewsSharepointIds(value SharepointIdsable)() { err := m.GetBackingStore().Set("newsSharepointIds", value) if err != nil { panic(err) } } -// SetNewsWebUrl sets the newsWebUrl property value. The newsWebUrl property +// SetNewsWebUrl sets the newsWebUrl property value. The URL of the news article referenced by the newsLinkPage. It can be an external link. func (m *NewsLinkPage) SetNewsWebUrl(value *string)() { err := m.GetBackingStore().Set("newsWebUrl", value) if err != nil { diff --git a/models/on_attribute_collection_external_users_self_service_sign_up.go b/models/on_attribute_collection_external_users_self_service_sign_up.go index a0bd515e2e3..19d08176800 100644 --- a/models/on_attribute_collection_external_users_self_service_sign_up.go +++ b/models/on_attribute_collection_external_users_self_service_sign_up.go @@ -21,7 +21,7 @@ func NewOnAttributeCollectionExternalUsersSelfServiceSignUp()(*OnAttributeCollec func CreateOnAttributeCollectionExternalUsersSelfServiceSignUpFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOnAttributeCollectionExternalUsersSelfServiceSignUp(), nil } -// GetAttributeCollectionPage gets the attributeCollectionPage property value. Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. +// GetAttributeCollectionPage gets the attributeCollectionPage property value. Required. The configuration for how attributes are displayed in the sign-up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. // returns a AuthenticationAttributeCollectionPageable when successful func (m *OnAttributeCollectionExternalUsersSelfServiceSignUp) GetAttributeCollectionPage()(AuthenticationAttributeCollectionPageable) { val, err := m.GetBackingStore().Get("attributeCollectionPage") @@ -103,7 +103,7 @@ func (m *OnAttributeCollectionExternalUsersSelfServiceSignUp) Serialize(writer i } return nil } -// SetAttributeCollectionPage sets the attributeCollectionPage property value. Required. The configuration for how attributes are displayed in the sign up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. +// SetAttributeCollectionPage sets the attributeCollectionPage property value. Required. The configuration for how attributes are displayed in the sign-up experience defined by a user flow, like the externalUsersSelfServiceSignupEventsFlow, specifically on the attribute collection page. func (m *OnAttributeCollectionExternalUsersSelfServiceSignUp) SetAttributeCollectionPage(value AuthenticationAttributeCollectionPageable)() { err := m.GetBackingStore().Set("attributeCollectionPage", value) if err != nil { diff --git a/models/on_interactive_auth_flow_start_listener.go b/models/on_interactive_auth_flow_start_listener.go index e0016d5ddb6..4e8028827b7 100644 --- a/models/on_interactive_auth_flow_start_listener.go +++ b/models/on_interactive_auth_flow_start_listener.go @@ -37,7 +37,7 @@ func (m *OnInteractiveAuthFlowStartListener) GetFieldDeserializers()(map[string] } return res } -// GetHandler gets the handler property value. Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. +// GetHandler gets the handler property value. Required. Configuration for what to invoke if the event resolves to this listener. You can use this handler to define potential handler configurations for specific events. // returns a OnInteractiveAuthFlowStartHandlerable when successful func (m *OnInteractiveAuthFlowStartListener) GetHandler()(OnInteractiveAuthFlowStartHandlerable) { val, err := m.GetBackingStore().Get("handler") @@ -63,7 +63,7 @@ func (m *OnInteractiveAuthFlowStartListener) Serialize(writer i878a80d2330e89d26 } return nil } -// SetHandler sets the handler property value. Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. +// SetHandler sets the handler property value. Required. Configuration for what to invoke if the event resolves to this listener. You can use this handler to define potential handler configurations for specific events. func (m *OnInteractiveAuthFlowStartListener) SetHandler(value OnInteractiveAuthFlowStartHandlerable)() { err := m.GetBackingStore().Set("handler", value) if err != nil { diff --git a/models/one_drive_for_business_protection_policy.go b/models/one_drive_for_business_protection_policy.go index 42e2479518d..6a2972c9072 100644 --- a/models/one_drive_for_business_protection_policy.go +++ b/models/one_drive_for_business_protection_policy.go @@ -21,7 +21,7 @@ func NewOneDriveForBusinessProtectionPolicy()(*OneDriveForBusinessProtectionPoli func CreateOneDriveForBusinessProtectionPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOneDriveForBusinessProtectionPolicy(), nil } -// GetDriveInclusionRules gets the driveInclusionRules property value. Contains the details of the Onedrive for Business protection rule. +// GetDriveInclusionRules gets the driveInclusionRules property value. Contains the details of the OneDrive for Work or School protection rule. // returns a []DriveProtectionRuleable when successful func (m *OneDriveForBusinessProtectionPolicy) GetDriveInclusionRules()([]DriveProtectionRuleable) { val, err := m.GetBackingStore().Get("driveInclusionRules") @@ -33,7 +33,7 @@ func (m *OneDriveForBusinessProtectionPolicy) GetDriveInclusionRules()([]DrivePr } return nil } -// GetDriveProtectionUnits gets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Business protection policy. +// GetDriveProtectionUnits gets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Work or School protection policy. // returns a []DriveProtectionUnitable when successful func (m *OneDriveForBusinessProtectionPolicy) GetDriveProtectionUnits()([]DriveProtectionUnitable) { val, err := m.GetBackingStore().Get("driveProtectionUnits") @@ -155,14 +155,14 @@ func (m *OneDriveForBusinessProtectionPolicy) Serialize(writer i878a80d2330e89d2 } return nil } -// SetDriveInclusionRules sets the driveInclusionRules property value. Contains the details of the Onedrive for Business protection rule. +// SetDriveInclusionRules sets the driveInclusionRules property value. Contains the details of the OneDrive for Work or School protection rule. func (m *OneDriveForBusinessProtectionPolicy) SetDriveInclusionRules(value []DriveProtectionRuleable)() { err := m.GetBackingStore().Set("driveInclusionRules", value) if err != nil { panic(err) } } -// SetDriveProtectionUnits sets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Business protection policy. +// SetDriveProtectionUnits sets the driveProtectionUnits property value. Contains the protection units associated with a OneDrive for Work or School protection policy. func (m *OneDriveForBusinessProtectionPolicy) SetDriveProtectionUnits(value []DriveProtectionUnitable)() { err := m.GetBackingStore().Set("driveProtectionUnits", value) if err != nil { diff --git a/models/one_drive_for_business_restore_session.go b/models/one_drive_for_business_restore_session.go index 6820d148ef6..06b1102f1fc 100644 --- a/models/one_drive_for_business_restore_session.go +++ b/models/one_drive_for_business_restore_session.go @@ -21,7 +21,7 @@ func NewOneDriveForBusinessRestoreSession()(*OneDriveForBusinessRestoreSession) func CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOneDriveForBusinessRestoreSession(), nil } -// GetDriveRestoreArtifacts gets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// GetDriveRestoreArtifacts gets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. // returns a []DriveRestoreArtifactable when successful func (m *OneDriveForBusinessRestoreSession) GetDriveRestoreArtifacts()([]DriveRestoreArtifactable) { val, err := m.GetBackingStore().Get("driveRestoreArtifacts") @@ -115,7 +115,7 @@ func (m *OneDriveForBusinessRestoreSession) Serialize(writer i878a80d2330e89d268 } return nil } -// SetDriveRestoreArtifacts sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// SetDriveRestoreArtifacts sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. func (m *OneDriveForBusinessRestoreSession) SetDriveRestoreArtifacts(value []DriveRestoreArtifactable)() { err := m.GetBackingStore().Set("driveRestoreArtifacts", value) if err != nil { diff --git a/models/onenote.go b/models/onenote.go index 2b6e83eed94..42279b2e299 100644 --- a/models/onenote.go +++ b/models/onenote.go @@ -121,7 +121,7 @@ func (m *Onenote) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return res } -// GetNotebooks gets the notebooks property value. The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// GetNotebooks gets the notebooks property value. The collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a []Notebookable when successful func (m *Onenote) GetNotebooks()([]Notebookable) { val, err := m.GetBackingStore().Get("notebooks") @@ -145,7 +145,7 @@ func (m *Onenote) GetOperations()([]OnenoteOperationable) { } return nil } -// GetPages gets the pages property value. The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// GetPages gets the pages property value. The pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a []OnenotePageable when successful func (m *Onenote) GetPages()([]OnenotePageable) { val, err := m.GetBackingStore().Get("pages") @@ -169,7 +169,7 @@ func (m *Onenote) GetResources()([]OnenoteResourceable) { } return nil } -// GetSectionGroups gets the sectionGroups property value. The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// GetSectionGroups gets the sectionGroups property value. The section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a []SectionGroupable when successful func (m *Onenote) GetSectionGroups()([]SectionGroupable) { val, err := m.GetBackingStore().Get("sectionGroups") @@ -181,7 +181,7 @@ func (m *Onenote) GetSectionGroups()([]SectionGroupable) { } return nil } -// GetSections gets the sections property value. The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// GetSections gets the sections property value. The sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a []OnenoteSectionable when successful func (m *Onenote) GetSections()([]OnenoteSectionable) { val, err := m.GetBackingStore().Get("sections") @@ -273,7 +273,7 @@ func (m *Onenote) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 } return nil } -// SetNotebooks sets the notebooks property value. The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// SetNotebooks sets the notebooks property value. The collection of OneNote notebooks that the user or group owns. Read-only. Nullable. func (m *Onenote) SetNotebooks(value []Notebookable)() { err := m.GetBackingStore().Set("notebooks", value) if err != nil { @@ -287,7 +287,7 @@ func (m *Onenote) SetOperations(value []OnenoteOperationable)() { panic(err) } } -// SetPages sets the pages property value. The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// SetPages sets the pages property value. The pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. func (m *Onenote) SetPages(value []OnenotePageable)() { err := m.GetBackingStore().Set("pages", value) if err != nil { @@ -301,14 +301,14 @@ func (m *Onenote) SetResources(value []OnenoteResourceable)() { panic(err) } } -// SetSectionGroups sets the sectionGroups property value. The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// SetSectionGroups sets the sectionGroups property value. The section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. func (m *Onenote) SetSectionGroups(value []SectionGroupable)() { err := m.GetBackingStore().Set("sectionGroups", value) if err != nil { panic(err) } } -// SetSections sets the sections property value. The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// SetSections sets the sections property value. The sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. func (m *Onenote) SetSections(value []OnenoteSectionable)() { err := m.GetBackingStore().Set("sections", value) if err != nil { diff --git a/models/org_contact.go b/models/org_contact.go index 6e84f74514c..8cc6da19c8e 100644 --- a/models/org_contact.go +++ b/models/org_contact.go @@ -70,7 +70,7 @@ func (m *OrgContact) GetDirectReports()([]DirectoryObjectable) { } return nil } -// GetDisplayName gets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. +// GetDisplayName gets the displayName property value. Display name for this organizational contact. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. // returns a *string when successful func (m *OrgContact) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -726,7 +726,7 @@ func (m *OrgContact) SetDirectReports(value []DirectoryObjectable)() { panic(err) } } -// SetDisplayName sets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. +// SetDisplayName sets the displayName property value. Display name for this organizational contact. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. func (m *OrgContact) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/password_credential_configuration.go b/models/password_credential_configuration.go index 3616088fdf6..5278fb8c6f3 100644 --- a/models/password_credential_configuration.go +++ b/models/password_credential_configuration.go @@ -145,7 +145,7 @@ func (m *PasswordCredentialConfiguration) GetRestrictionType()(*AppCredentialRes } return nil } -// GetState gets the state property value. String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. +// GetState gets the state property value. Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. // returns a *AppManagementRestrictionState when successful func (m *PasswordCredentialConfiguration) GetState()(*AppManagementRestrictionState) { val, err := m.GetBackingStore().Get("state") @@ -238,7 +238,7 @@ func (m *PasswordCredentialConfiguration) SetRestrictionType(value *AppCredentia panic(err) } } -// SetState sets the state property value. String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. +// SetState sets the state property value. Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. func (m *PasswordCredentialConfiguration) SetState(value *AppManagementRestrictionState)() { err := m.GetBackingStore().Set("state", value) if err != nil { diff --git a/models/payload.go b/models/payload.go index c3ea9eeea4f..3b28101ffca 100644 --- a/models/payload.go +++ b/models/payload.go @@ -80,7 +80,7 @@ func (m *Payload) GetDescription()(*string) { } return nil } -// GetDetail gets the detail property value. Additional details about the payload. +// GetDetail gets the detail property value. More details about the payload. // returns a PayloadDetailable when successful func (m *Payload) GetDetail()(PayloadDetailable) { val, err := m.GetBackingStore().Get("detail") @@ -492,7 +492,7 @@ func (m *Payload) GetStatus()(*SimulationContentStatus) { } return nil } -// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetTechnique gets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Payload) GetTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("technique") @@ -700,7 +700,7 @@ func (m *Payload) SetDescription(value *string)() { panic(err) } } -// SetDetail sets the detail property value. Additional details about the payload. +// SetDetail sets the detail property value. More details about the payload. func (m *Payload) SetDetail(value PayloadDetailable)() { err := m.GetBackingStore().Set("detail", value) if err != nil { @@ -805,7 +805,7 @@ func (m *Payload) SetStatus(value *SimulationContentStatus)() { panic(err) } } -// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetTechnique sets the technique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. func (m *Payload) SetTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("technique", value) if err != nil { diff --git a/models/printer_base.go b/models/printer_base.go index 824b099d480..7b808759d11 100644 --- a/models/printer_base.go +++ b/models/printer_base.go @@ -39,7 +39,7 @@ func CreatePrinterBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a } return NewPrinterBase(), nil } -// GetCapabilities gets the capabilities property value. The capabilities property +// GetCapabilities gets the capabilities property value. The capabilities of the printer/printerShare. // returns a PrinterCapabilitiesable when successful func (m *PrinterBase) GetCapabilities()(PrinterCapabilitiesable) { val, err := m.GetBackingStore().Get("capabilities") @@ -51,7 +51,7 @@ func (m *PrinterBase) GetCapabilities()(PrinterCapabilitiesable) { } return nil } -// GetDefaults gets the defaults property value. The defaults property +// GetDefaults gets the defaults property value. The default print settings of printer/printerShare. // returns a PrinterDefaultsable when successful func (m *PrinterBase) GetDefaults()(PrinterDefaultsable) { val, err := m.GetBackingStore().Get("defaults") @@ -63,7 +63,7 @@ func (m *PrinterBase) GetDefaults()(PrinterDefaultsable) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The name of the printer/printerShare. // returns a *string when successful func (m *PrinterBase) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -187,7 +187,7 @@ func (m *PrinterBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetIsAcceptingJobs gets the isAcceptingJobs property value. The isAcceptingJobs property +// GetIsAcceptingJobs gets the isAcceptingJobs property value. Specifies whether the printer/printerShare is currently accepting new print jobs. // returns a *bool when successful func (m *PrinterBase) GetIsAcceptingJobs()(*bool) { val, err := m.GetBackingStore().Get("isAcceptingJobs") @@ -199,7 +199,7 @@ func (m *PrinterBase) GetIsAcceptingJobs()(*bool) { } return nil } -// GetJobs gets the jobs property value. The jobs property +// GetJobs gets the jobs property value. The list of jobs that are queued for printing by the printer/printerShare. // returns a []PrintJobable when successful func (m *PrinterBase) GetJobs()([]PrintJobable) { val, err := m.GetBackingStore().Get("jobs") @@ -211,7 +211,7 @@ func (m *PrinterBase) GetJobs()([]PrintJobable) { } return nil } -// GetLocation gets the location property value. The location property +// GetLocation gets the location property value. The physical and/or organizational location of the printer/printerShare. // returns a PrinterLocationable when successful func (m *PrinterBase) GetLocation()(PrinterLocationable) { val, err := m.GetBackingStore().Get("location") @@ -223,7 +223,7 @@ func (m *PrinterBase) GetLocation()(PrinterLocationable) { } return nil } -// GetManufacturer gets the manufacturer property value. The manufacturer property +// GetManufacturer gets the manufacturer property value. The manufacturer of the printer/printerShare. // returns a *string when successful func (m *PrinterBase) GetManufacturer()(*string) { val, err := m.GetBackingStore().Get("manufacturer") @@ -235,7 +235,7 @@ func (m *PrinterBase) GetManufacturer()(*string) { } return nil } -// GetModel gets the model property value. The model property +// GetModel gets the model property value. The model name of the printer/printerShare. // returns a *string when successful func (m *PrinterBase) GetModel()(*string) { val, err := m.GetBackingStore().Get("model") @@ -345,56 +345,56 @@ func (m *PrinterBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetCapabilities sets the capabilities property value. The capabilities property +// SetCapabilities sets the capabilities property value. The capabilities of the printer/printerShare. func (m *PrinterBase) SetCapabilities(value PrinterCapabilitiesable)() { err := m.GetBackingStore().Set("capabilities", value) if err != nil { panic(err) } } -// SetDefaults sets the defaults property value. The defaults property +// SetDefaults sets the defaults property value. The default print settings of printer/printerShare. func (m *PrinterBase) SetDefaults(value PrinterDefaultsable)() { err := m.GetBackingStore().Set("defaults", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The name of the printer/printerShare. func (m *PrinterBase) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetIsAcceptingJobs sets the isAcceptingJobs property value. The isAcceptingJobs property +// SetIsAcceptingJobs sets the isAcceptingJobs property value. Specifies whether the printer/printerShare is currently accepting new print jobs. func (m *PrinterBase) SetIsAcceptingJobs(value *bool)() { err := m.GetBackingStore().Set("isAcceptingJobs", value) if err != nil { panic(err) } } -// SetJobs sets the jobs property value. The jobs property +// SetJobs sets the jobs property value. The list of jobs that are queued for printing by the printer/printerShare. func (m *PrinterBase) SetJobs(value []PrintJobable)() { err := m.GetBackingStore().Set("jobs", value) if err != nil { panic(err) } } -// SetLocation sets the location property value. The location property +// SetLocation sets the location property value. The physical and/or organizational location of the printer/printerShare. func (m *PrinterBase) SetLocation(value PrinterLocationable)() { err := m.GetBackingStore().Set("location", value) if err != nil { panic(err) } } -// SetManufacturer sets the manufacturer property value. The manufacturer property +// SetManufacturer sets the manufacturer property value. The manufacturer of the printer/printerShare. func (m *PrinterBase) SetManufacturer(value *string)() { err := m.GetBackingStore().Set("manufacturer", value) if err != nil { panic(err) } } -// SetModel sets the model property value. The model property +// SetModel sets the model property value. The model name of the printer/printerShare. func (m *PrinterBase) SetModel(value *string)() { err := m.GetBackingStore().Set("model", value) if err != nil { diff --git a/models/printer_share.go b/models/printer_share.go index 415acc0049c..ac926a05b40 100644 --- a/models/printer_share.go +++ b/models/printer_share.go @@ -22,7 +22,7 @@ func NewPrinterShare()(*PrinterShare) { func CreatePrinterShareFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPrinterShare(), nil } -// GetAllowAllUsers gets the allowAllUsers property value. If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. +// GetAllowAllUsers gets the allowAllUsers property value. If true, all users and groups can access this printer share. This property supersedes the lists of allowed users and groups defined by the allowedUsers and allowedGroups navigation properties. // returns a *bool when successful func (m *PrinterShare) GetAllowAllUsers()(*bool) { val, err := m.GetBackingStore().Get("allowAllUsers") @@ -160,7 +160,7 @@ func (m *PrinterShare) GetPrinter()(Printerable) { } return nil } -// GetViewPoint gets the viewPoint property value. Additional data for a printer share as viewed by the signed-in user. +// GetViewPoint gets the viewPoint property value. More data for a printer share as viewed by the signed-in user. // returns a PrinterShareViewpointable when successful func (m *PrinterShare) GetViewPoint()(PrinterShareViewpointable) { val, err := m.GetBackingStore().Get("viewPoint") @@ -228,7 +228,7 @@ func (m *PrinterShare) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetAllowAllUsers sets the allowAllUsers property value. If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. +// SetAllowAllUsers sets the allowAllUsers property value. If true, all users and groups can access this printer share. This property supersedes the lists of allowed users and groups defined by the allowedUsers and allowedGroups navigation properties. func (m *PrinterShare) SetAllowAllUsers(value *bool)() { err := m.GetBackingStore().Set("allowAllUsers", value) if err != nil { @@ -263,7 +263,7 @@ func (m *PrinterShare) SetPrinter(value Printerable)() { panic(err) } } -// SetViewPoint sets the viewPoint property value. Additional data for a printer share as viewed by the signed-in user. +// SetViewPoint sets the viewPoint property value. More data for a printer share as viewed by the signed-in user. func (m *PrinterShare) SetViewPoint(value PrinterShareViewpointable)() { err := m.GetBackingStore().Set("viewPoint", value) if err != nil { diff --git a/models/restore_session_artifact_count.go b/models/restore_session_artifact_count.go index b18575d85f6..ac87e14d12f 100644 --- a/models/restore_session_artifact_count.go +++ b/models/restore_session_artifact_count.go @@ -40,7 +40,7 @@ func (m *RestoreSessionArtifactCount) GetAdditionalData()(map[string]any) { func (m *RestoreSessionArtifactCount) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCompleted gets the completed property value. The completed property +// GetCompleted gets the completed property value. The number of artifacts whose restoration completed. // returns a *int32 when successful func (m *RestoreSessionArtifactCount) GetCompleted()(*int32) { val, err := m.GetBackingStore().Get("completed") @@ -52,7 +52,7 @@ func (m *RestoreSessionArtifactCount) GetCompleted()(*int32) { } return nil } -// GetFailed gets the failed property value. The failed property +// GetFailed gets the failed property value. The number of artifacts whose restoration failed. // returns a *int32 when successful func (m *RestoreSessionArtifactCount) GetFailed()(*int32) { val, err := m.GetBackingStore().Get("failed") @@ -120,7 +120,7 @@ func (m *RestoreSessionArtifactCount) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetInProgress gets the inProgress property value. The inProgress property +// GetInProgress gets the inProgress property value. The number of artifacts whose restoration is in progress. // returns a *int32 when successful func (m *RestoreSessionArtifactCount) GetInProgress()(*int32) { val, err := m.GetBackingStore().Get("inProgress") @@ -144,7 +144,7 @@ func (m *RestoreSessionArtifactCount) GetOdataType()(*string) { } return nil } -// GetTotal gets the total property value. The total property +// GetTotal gets the total property value. The number of artifacts present in the restore session. // returns a *int32 when successful func (m *RestoreSessionArtifactCount) GetTotal()(*int32) { val, err := m.GetBackingStore().Get("total") @@ -207,21 +207,21 @@ func (m *RestoreSessionArtifactCount) SetAdditionalData(value map[string]any)() func (m *RestoreSessionArtifactCount) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCompleted sets the completed property value. The completed property +// SetCompleted sets the completed property value. The number of artifacts whose restoration completed. func (m *RestoreSessionArtifactCount) SetCompleted(value *int32)() { err := m.GetBackingStore().Set("completed", value) if err != nil { panic(err) } } -// SetFailed sets the failed property value. The failed property +// SetFailed sets the failed property value. The number of artifacts whose restoration failed. func (m *RestoreSessionArtifactCount) SetFailed(value *int32)() { err := m.GetBackingStore().Set("failed", value) if err != nil { panic(err) } } -// SetInProgress sets the inProgress property value. The inProgress property +// SetInProgress sets the inProgress property value. The number of artifacts whose restoration is in progress. func (m *RestoreSessionArtifactCount) SetInProgress(value *int32)() { err := m.GetBackingStore().Set("inProgress", value) if err != nil { @@ -235,7 +235,7 @@ func (m *RestoreSessionArtifactCount) SetOdataType(value *string)() { panic(err) } } -// SetTotal sets the total property value. The total property +// SetTotal sets the total property value. The number of artifacts present in the restore session. func (m *RestoreSessionArtifactCount) SetTotal(value *int32)() { err := m.GetBackingStore().Set("total", value) if err != nil { diff --git a/models/restore_session_base.go b/models/restore_session_base.go index c405761d937..1a8f1880608 100644 --- a/models/restore_session_base.go +++ b/models/restore_session_base.go @@ -210,7 +210,7 @@ func (m *RestoreSessionBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetRestoreJobType gets the restoreJobType property value. The restoreJobType property +// GetRestoreJobType gets the restoreJobType property value. Indicates whether the restore session was created normally or by a bulk job. // returns a *RestoreJobType when successful func (m *RestoreSessionBase) GetRestoreJobType()(*RestoreJobType) { val, err := m.GetBackingStore().Get("restoreJobType") @@ -222,7 +222,7 @@ func (m *RestoreSessionBase) GetRestoreJobType()(*RestoreJobType) { } return nil } -// GetRestoreSessionArtifactCount gets the restoreSessionArtifactCount property value. The restoreSessionArtifactCount property +// GetRestoreSessionArtifactCount gets the restoreSessionArtifactCount property value. The number of metadata artifacts that belong to this restore session. // returns a RestoreSessionArtifactCountable when successful func (m *RestoreSessionBase) GetRestoreSessionArtifactCount()(RestoreSessionArtifactCountable) { val, err := m.GetBackingStore().Get("restoreSessionArtifactCount") @@ -352,14 +352,14 @@ func (m *RestoreSessionBase) SetLastModifiedDateTime(value *i336074805fc853987ab panic(err) } } -// SetRestoreJobType sets the restoreJobType property value. The restoreJobType property +// SetRestoreJobType sets the restoreJobType property value. Indicates whether the restore session was created normally or by a bulk job. func (m *RestoreSessionBase) SetRestoreJobType(value *RestoreJobType)() { err := m.GetBackingStore().Set("restoreJobType", value) if err != nil { panic(err) } } -// SetRestoreSessionArtifactCount sets the restoreSessionArtifactCount property value. The restoreSessionArtifactCount property +// SetRestoreSessionArtifactCount sets the restoreSessionArtifactCount property value. The number of metadata artifacts that belong to this restore session. func (m *RestoreSessionBase) SetRestoreSessionArtifactCount(value RestoreSessionArtifactCountable)() { err := m.GetBackingStore().Set("restoreSessionArtifactCount", value) if err != nil { diff --git a/models/security/data_set.go b/models/security/data_set.go index 53ddd508115..d81807e0b0f 100644 --- a/models/security/data_set.go +++ b/models/security/data_set.go @@ -63,6 +63,18 @@ func (m *DataSet) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077 } return nil } +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *DataSet) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetDisplayName gets the displayName property value. The displayName property // returns a *string when successful func (m *DataSet) GetDisplayName()(*string) { @@ -99,6 +111,16 @@ func (m *DataSet) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -129,6 +151,12 @@ func (m *DataSet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { @@ -151,6 +179,13 @@ func (m *DataSet) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f panic(err) } } +// SetDescription sets the description property value. The description property +func (m *DataSet) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} // SetDisplayName sets the displayName property value. The displayName property func (m *DataSet) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -163,8 +198,10 @@ type DataSetable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCreatedBy()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDescription()(*string) GetDisplayName()(*string) SetCreatedBy(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDescription(value *string)() SetDisplayName(value *string)() } diff --git a/models/service_activity_performance_metric.go b/models/service_activity_performance_metric.go index 644d64a94da..1c4e3ed48ee 100644 --- a/models/service_activity_performance_metric.go +++ b/models/service_activity_performance_metric.go @@ -77,7 +77,7 @@ func (m *ServiceActivityPerformanceMetric) GetFieldDeserializers()(map[string]fu } return res } -// GetIntervalStartDateTime gets the intervalStartDateTime property value. The intervalStartDateTime property +// GetIntervalStartDateTime gets the intervalStartDateTime property value. The start date and time (UTC) of the interval. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ServiceActivityPerformanceMetric) GetIntervalStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("intervalStartDateTime") @@ -101,7 +101,7 @@ func (m *ServiceActivityPerformanceMetric) GetOdataType()(*string) { } return nil } -// GetPercentage gets the percentage property value. The percentage property +// GetPercentage gets the percentage property value. The aggregated performance over the given aggregation interval that starts from the intervalStartDateTime. The performance is calculated at the minute level. The performance at the starting minute of the intervalStartDateTime is included. The performance at the last minute of the given interval is excluded. For example, if intervalStartDateTime is 2023-09-20T18:00:00Z and the aggregation interval is 5 minutes, then performance is aggregated from 2023-09-20T18:00:00Z (inclusive) to 2023-09-20T18:05:00Z (exclusive). // returns a *float64 when successful func (m *ServiceActivityPerformanceMetric) GetPercentage()(*float64) { val, err := m.GetBackingStore().Get("percentage") @@ -152,7 +152,7 @@ func (m *ServiceActivityPerformanceMetric) SetAdditionalData(value map[string]an func (m *ServiceActivityPerformanceMetric) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIntervalStartDateTime sets the intervalStartDateTime property value. The intervalStartDateTime property +// SetIntervalStartDateTime sets the intervalStartDateTime property value. The start date and time (UTC) of the interval. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ServiceActivityPerformanceMetric) SetIntervalStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("intervalStartDateTime", value) if err != nil { @@ -166,7 +166,7 @@ func (m *ServiceActivityPerformanceMetric) SetOdataType(value *string)() { panic(err) } } -// SetPercentage sets the percentage property value. The percentage property +// SetPercentage sets the percentage property value. The aggregated performance over the given aggregation interval that starts from the intervalStartDateTime. The performance is calculated at the minute level. The performance at the starting minute of the intervalStartDateTime is included. The performance at the last minute of the given interval is excluded. For example, if intervalStartDateTime is 2023-09-20T18:00:00Z and the aggregation interval is 5 minutes, then performance is aggregated from 2023-09-20T18:00:00Z (inclusive) to 2023-09-20T18:05:00Z (exclusive). func (m *ServiceActivityPerformanceMetric) SetPercentage(value *float64)() { err := m.GetBackingStore().Set("percentage", value) if err != nil { diff --git a/models/service_principal.go b/models/service_principal.go index 416dd5395dd..ec76c2474a1 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -71,7 +71,7 @@ func (m *ServicePrincipal) GetAppDescription()(*string) { } return nil } -// GetAppDisplayName gets the appDisplayName property value. The display name exposed by the associated application. +// GetAppDisplayName gets the appDisplayName property value. The display name exposed by the associated application. Maximum length is 256 characters. // returns a *string when successful func (m *ServicePrincipal) GetAppDisplayName()(*string) { val, err := m.GetBackingStore().Get("appDisplayName") @@ -2023,7 +2023,7 @@ func (m *ServicePrincipal) SetAppDescription(value *string)() { panic(err) } } -// SetAppDisplayName sets the appDisplayName property value. The display name exposed by the associated application. +// SetAppDisplayName sets the appDisplayName property value. The display name exposed by the associated application. Maximum length is 256 characters. func (m *ServicePrincipal) SetAppDisplayName(value *string)() { err := m.GetBackingStore().Set("appDisplayName", value) if err != nil { diff --git a/models/simulation.go b/models/simulation.go index 1b9018b0c89..e8ac096e53f 100644 --- a/models/simulation.go +++ b/models/simulation.go @@ -20,7 +20,7 @@ func NewSimulation()(*Simulation) { func CreateSimulationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSimulation(), nil } -// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// GetAttackTechnique gets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. // returns a *SimulationAttackTechnique when successful func (m *Simulation) GetAttackTechnique()(*SimulationAttackTechnique) { val, err := m.GetBackingStore().Get("attackTechnique") @@ -710,7 +710,7 @@ func (m *Simulation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } return nil } -// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. +// SetAttackTechnique sets the attackTechnique property value. The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. func (m *Simulation) SetAttackTechnique(value *SimulationAttackTechnique)() { err := m.GetBackingStore().Set("attackTechnique", value) if err != nil { diff --git a/models/start_recording_operation.go b/models/start_recording_operation.go new file mode 100644 index 00000000000..d28d616e601 --- /dev/null +++ b/models/start_recording_operation.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type StartRecordingOperation struct { + CommsOperation +} +// NewStartRecordingOperation instantiates a new StartRecordingOperation and sets the default values. +func NewStartRecordingOperation()(*StartRecordingOperation) { + m := &StartRecordingOperation{ + CommsOperation: *NewCommsOperation(), + } + return m +} +// CreateStartRecordingOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStartRecordingOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStartRecordingOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *StartRecordingOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CommsOperation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *StartRecordingOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CommsOperation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type StartRecordingOperationable interface { + CommsOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/start_transcription_operation.go b/models/start_transcription_operation.go new file mode 100644 index 00000000000..136d834f9e9 --- /dev/null +++ b/models/start_transcription_operation.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type StartTranscriptionOperation struct { + CommsOperation +} +// NewStartTranscriptionOperation instantiates a new StartTranscriptionOperation and sets the default values. +func NewStartTranscriptionOperation()(*StartTranscriptionOperation) { + m := &StartTranscriptionOperation{ + CommsOperation: *NewCommsOperation(), + } + return m +} +// CreateStartTranscriptionOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStartTranscriptionOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStartTranscriptionOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *StartTranscriptionOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CommsOperation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *StartTranscriptionOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CommsOperation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type StartTranscriptionOperationable interface { + CommsOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/stop_recording_operation.go b/models/stop_recording_operation.go new file mode 100644 index 00000000000..defc0b63ae8 --- /dev/null +++ b/models/stop_recording_operation.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type StopRecordingOperation struct { + CommsOperation +} +// NewStopRecordingOperation instantiates a new StopRecordingOperation and sets the default values. +func NewStopRecordingOperation()(*StopRecordingOperation) { + m := &StopRecordingOperation{ + CommsOperation: *NewCommsOperation(), + } + return m +} +// CreateStopRecordingOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStopRecordingOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStopRecordingOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *StopRecordingOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CommsOperation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *StopRecordingOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CommsOperation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type StopRecordingOperationable interface { + CommsOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/stop_transcription_operation.go b/models/stop_transcription_operation.go new file mode 100644 index 00000000000..f699c3a91cb --- /dev/null +++ b/models/stop_transcription_operation.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type StopTranscriptionOperation struct { + CommsOperation +} +// NewStopTranscriptionOperation instantiates a new StopTranscriptionOperation and sets the default values. +func NewStopTranscriptionOperation()(*StopTranscriptionOperation) { + m := &StopTranscriptionOperation{ + CommsOperation: *NewCommsOperation(), + } + return m +} +// CreateStopTranscriptionOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStopTranscriptionOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStopTranscriptionOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *StopTranscriptionOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CommsOperation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *StopTranscriptionOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CommsOperation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type StopTranscriptionOperationable interface { + CommsOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/user.go b/models/user.go index 47942bd7670..766d89c53d0 100644 --- a/models/user.go +++ b/models/user.go @@ -2856,7 +2856,7 @@ func (m *User) GetLastPasswordChangeDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetLegalAgeGroupClassification gets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. +// GetLegalAgeGroupClassification gets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, Undefined, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. // returns a *string when successful func (m *User) GetLegalAgeGroupClassification()(*string) { val, err := m.GetBackingStore().Get("legalAgeGroupClassification") @@ -5631,7 +5631,7 @@ func (m *User) SetLastPasswordChangeDateTime(value *i336074805fc853987abe6f7fe3a panic(err) } } -// SetLegalAgeGroupClassification sets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. +// SetLegalAgeGroupClassification sets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, Undefined, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. func (m *User) SetLegalAgeGroupClassification(value *string)() { err := m.GetBackingStore().Set("legalAgeGroupClassification", value) if err != nil { diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index 9f8c4a96285..1d7b26dfe27 100644 --- a/models/windows_app_x_app_assignment_settings.go +++ b/models/windows_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsAppXAppAssignmentSettings) GetFieldDeserializers()(map[string]fu } return res } -// GetUseDeviceContext gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. +// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. // returns a *bool when successful func (m *WindowsAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsAppXAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. +// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_domain_join_configuration.go b/models/windows_domain_join_configuration.go index e490c9ef3e1..988d96356d8 100644 --- a/models/windows_domain_join_configuration.go +++ b/models/windows_domain_join_configuration.go @@ -120,7 +120,7 @@ func (m *WindowsDomainJoinConfiguration) GetFieldDeserializers()(map[string]func } return res } -// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity +// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. // returns a []DeviceConfigurationable when successful func (m *WindowsDomainJoinConfiguration) GetNetworkAccessConfigurations()([]DeviceConfigurationable) { val, err := m.GetBackingStore().Get("networkAccessConfigurations") @@ -209,7 +209,7 @@ func (m *WindowsDomainJoinConfiguration) SetComputerNameSuffixRandomCharCount(va panic(err) } } -// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity +// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. func (m *WindowsDomainJoinConfiguration) SetNetworkAccessConfigurations(value []DeviceConfigurationable)() { err := m.GetBackingStore().Set("networkAccessConfigurations", value) if err != nil { diff --git a/models/windows_universal_app_x_app_assignment_settings.go b/models/windows_universal_app_x_app_assignment_settings.go index fc347495bb4..98044527a48 100644 --- a/models/windows_universal_app_x_app_assignment_settings.go +++ b/models/windows_universal_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) GetFieldDeserializers()(map[ } return res } -// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. +// GetUseDeviceContext gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. // returns a *bool when successful func (m *WindowsUniversalAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) Serialize(writer i878a80d233 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. +// SetUseDeviceContext sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. func (m *WindowsUniversalAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/networkaccess/0787173cb083c9cefb6336a20e2b5aa26431c5410961d494513776fd3f5e1eb8.go b/networkaccess/0787173cb083c9cefb6336a20e2b5aa26431c5410961d494513776fd3f5e1eb8.go new file mode 100644 index 00000000000..b92830d312b --- /dev/null +++ b/networkaccess/0787173cb083c9cefb6336a20e2b5aa26431c5410961d494513776fd3f5e1eb8.go @@ -0,0 +1,27 @@ +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse struct { + AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +} +// NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse instantiates a new AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse()(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse) { + m := &AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse{ + AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse: *NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable interface { + AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/networkaccess/457594a2b70623b32bb077f3d0b75cb357821b95cf679724d6b117d43e7bf8f0.go b/networkaccess/457594a2b70623b32bb077f3d0b75cb357821b95cf679724d6b117d43e7bf8f0.go new file mode 100644 index 00000000000..94f170272bf --- /dev/null +++ b/networkaccess/457594a2b70623b32bb077f3d0b75cb357821b95cf679724d6b117d43e7bf8f0.go @@ -0,0 +1,114 @@ +package networkaccess + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the getAlertSummaries method. +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getAlertSummaries +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/networkAccess/alerts/microsoft.graph.networkaccess.getAlertSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get invoke function getAlertSummaries +// Deprecated: This method is obsolete. Use GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse invoke function getAlertSummaries +// returns a AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation invoke function getAlertSummaries +// returns a *RequestInformation when successful +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/548deca3b3b9e249520572c08a85577482132947ee5dfefcbe4b0342b2a903ee.go b/networkaccess/548deca3b3b9e249520572c08a85577482132947ee5dfefcbe4b0342b2a903ee.go new file mode 100644 index 00000000000..3ecd4a509e5 --- /dev/null +++ b/networkaccess/548deca3b3b9e249520572c08a85577482132947ee5dfefcbe4b0342b2a903ee.go @@ -0,0 +1,90 @@ +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/networkaccess" +) + +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse instantiates a new AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse()(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse) { + m := &AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CreateAlertSummaryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AlertSummaryable when successful +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable) + } + return nil +} +// Serialize serializes information the current object +func (m *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse) 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 *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable) + SetValue(value []i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.AlertSummaryable)() +} diff --git a/networkaccess/alerts_request_builder.go b/networkaccess/alerts_request_builder.go index 6bbc35576ed..c7506cb6ea4 100644 --- a/networkaccess/alerts_request_builder.go +++ b/networkaccess/alerts_request_builder.go @@ -109,6 +109,11 @@ func (m *AlertsRequestBuilder) MicrosoftGraphNetworkaccessGetAlertFrequenciesWit func (m *AlertsRequestBuilder) MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*AlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewAlertsMicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } +// MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime provides operations to call the getAlertSummaries method. +// returns a *AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AlertsRequestBuilder) MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*AlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAlertsMicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} // Post create new navigation property to alerts for networkAccess // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go index ef30a111dcc..a66e60874ac 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,7 +71,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq } return nil } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // Deprecated: The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess // returns a PolicyLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -130,7 +130,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // Deprecated: The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess // returns a *RequestInformation when successful func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go index 56c7bed134f..a75a9c7fa1c 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,7 +77,7 @@ func NewConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder(raw func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) Count()(*ConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuilder) { return NewConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // Deprecated: The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess // returns a PolicyLinkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -119,7 +119,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) P } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkable), nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // Deprecated: The Branches API is deprecated and will stop returning data on March 20, 2024. Please use the new Remote Network API. as of 2022-06/PrivatePreview:NetworkAccess // returns a *RequestInformation when successful func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go index 50d586ad9b7..2cf98131abb 100644 --- a/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkI } return nil } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // returns a PolicyLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkable, error) { @@ -126,7 +126,7 @@ func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_request_builder.go b/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_request_builder.go index 6daf92953c6..1aa393bc7d1 100644 --- a/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/connectivity_remote_networks_item_forwarding_profiles_item_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuild func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilder) Count()(*ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesCountRequestBuilder) { return NewConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // returns a PolicyLinkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuil } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkable), nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemForwardingProfilesItemPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/connectivity_remote_networks_remote_network_item_request_builder.go b/networkaccess/connectivity_remote_networks_remote_network_item_request_builder.go index 8bca34ffc07..e3e8ee38f64 100644 --- a/networkaccess/connectivity_remote_networks_remote_network_item_request_builder.go +++ b/networkaccess/connectivity_remote_networks_remote_network_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderGetQueryParameters represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderGetQueryParameters the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. type ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,7 +85,7 @@ func (m *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilder) DeviceLinks( func (m *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilder) ForwardingProfiles()(*ConnectivityRemoteNetworksItemForwardingProfilesRequestBuilder) { return NewConnectivityRemoteNetworksItemForwardingProfilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// Get the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. // returns a RemoteNetworkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkable, error) { @@ -136,7 +136,7 @@ func (m *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// ToGetRequestInformation the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksRemoteNetworkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/connectivity_remote_networks_request_builder.go b/networkaccess/connectivity_remote_networks_request_builder.go index c61ea1fa099..f76e76f2365 100644 --- a/networkaccess/connectivity_remote_networks_request_builder.go +++ b/networkaccess/connectivity_remote_networks_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityRemoteNetworksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityRemoteNetworksRequestBuilderGetQueryParameters represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// ConnectivityRemoteNetworksRequestBuilderGetQueryParameters the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. type ConnectivityRemoteNetworksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewConnectivityRemoteNetworksRequestBuilder(rawUrl string, requestAdapter i func (m *ConnectivityRemoteNetworksRequestBuilder) Count()(*ConnectivityRemoteNetworksCountRequestBuilder) { return NewConnectivityRemoteNetworksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// Get the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. // returns a RemoteNetworkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectivityRemoteNetworksRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ConnectivityRemoteNetworksRequestBuilder) Post(ctx context.Context, bod } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkable), nil } -// ToGetRequestInformation represent locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. +// ToGetRequestInformation the locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/filtering_profiles_item_policies_policy_link_item_request_builder.go index 48e951c70d8..ab1e13ff9f6 100644 --- a/networkaccess/filtering_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/filtering_profiles_item_policies_policy_link_item_request_builder.go @@ -18,7 +18,7 @@ type FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilder) Delete(ctx c } return nil } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // returns a PolicyLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkable, error) { @@ -126,7 +126,7 @@ func (m *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // returns a *RequestInformation when successful func (m *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilteringProfilesItemPoliciesPolicyLinkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_profiles_item_policies_request_builder.go b/networkaccess/filtering_profiles_item_policies_request_builder.go index 3a58006e0d9..b957a1dbf2d 100644 --- a/networkaccess/filtering_profiles_item_policies_request_builder.go +++ b/networkaccess/filtering_profiles_item_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type FilteringProfilesItemPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FilteringProfilesItemPoliciesRequestBuilderGetQueryParameters traffic forwarding policies associated with this profile. +// FilteringProfilesItemPoliciesRequestBuilderGetQueryParameters the traffic forwarding policies associated with this profile. type FilteringProfilesItemPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewFilteringProfilesItemPoliciesRequestBuilder(rawUrl string, requestAdapte func (m *FilteringProfilesItemPoliciesRequestBuilder) Count()(*FilteringProfilesItemPoliciesCountRequestBuilder) { return NewFilteringProfilesItemPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get traffic forwarding policies associated with this profile. +// Get the traffic forwarding policies associated with this profile. // returns a PolicyLinkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FilteringProfilesItemPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *FilteringProfilesItemPoliciesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *FilteringProfilesItemPoliciesRequestBuilder) Post(ctx context.Context, } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.PolicyLinkable), nil } -// ToGetRequestInformation traffic forwarding policies associated with this profile. +// ToGetRequestInformation the traffic forwarding policies associated with this profile. // returns a *RequestInformation when successful func (m *FilteringProfilesItemPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilteringProfilesItemPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printer_shares_item_jobs_print_job_item_request_builder.go b/print/printer_shares_item_jobs_print_job_item_request_builder.go index a64a3866332..33bf6141c3e 100644 --- a/print/printer_shares_item_jobs_print_job_item_request_builder.go +++ b/print/printer_shares_item_jobs_print_job_item_request_builder.go @@ -18,7 +18,7 @@ type PrinterSharesItemJobsPrintJobItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrinterSharesItemJobsPrintJobItemRequestBuilderGetQueryParameters get jobs from print +// PrinterSharesItemJobsPrintJobItemRequestBuilderGetQueryParameters the list of jobs that are queued for printing by the printer/printerShare. type PrinterSharesItemJobsPrintJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -91,7 +91,7 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) Delete(ctx context.Con func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) Documents()(*PrinterSharesItemJobsItemDocumentsRequestBuilder) { return NewPrinterSharesItemJobsItemDocumentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get jobs from print +// Get the list of jobs that are queued for printing by the printer/printerShare. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans // returns a PrintJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -165,7 +165,7 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get jobs from print +// ToGetRequestInformation the list of jobs that are queued for printing by the printer/printerShare. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans // returns a *RequestInformation when successful func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemJobsPrintJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_jobs_request_builder.go b/print/printer_shares_item_jobs_request_builder.go index e08b5cfd5f4..aecc41fc8e2 100644 --- a/print/printer_shares_item_jobs_request_builder.go +++ b/print/printer_shares_item_jobs_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemJobsRequestBuilderGetQueryParameters get jobs from print +// PrinterSharesItemJobsRequestBuilderGetQueryParameters the list of jobs that are queued for printing by the printer/printerShare. type PrinterSharesItemJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,7 +77,7 @@ func NewPrinterSharesItemJobsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *PrinterSharesItemJobsRequestBuilder) Count()(*PrinterSharesItemJobsCountRequestBuilder) { return NewPrinterSharesItemJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get jobs from print +// Get the list of jobs that are queued for printing by the printer/printerShare. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans // returns a PrintJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -119,7 +119,7 @@ func (m *PrinterSharesItemJobsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintJobable), nil } -// ToGetRequestInformation get jobs from print +// ToGetRequestInformation the list of jobs that are queued for printing by the printer/printerShare. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans // returns a *RequestInformation when successful func (m *PrinterSharesItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/shares_item_jobs_print_job_item_request_builder.go b/print/shares_item_jobs_print_job_item_request_builder.go index 58b24f2acd9..a1b1f6bb3d1 100644 --- a/print/shares_item_jobs_print_job_item_request_builder.go +++ b/print/shares_item_jobs_print_job_item_request_builder.go @@ -18,7 +18,7 @@ type SharesItemJobsPrintJobItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SharesItemJobsPrintJobItemRequestBuilderGetQueryParameters get jobs from print +// SharesItemJobsPrintJobItemRequestBuilderGetQueryParameters the list of jobs that are queued for printing by the printer/printerShare. type SharesItemJobsPrintJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,7 +90,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) Delete(ctx context.Context, r func (m *SharesItemJobsPrintJobItemRequestBuilder) Documents()(*SharesItemJobsItemDocumentsRequestBuilder) { return NewSharesItemJobsItemDocumentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get jobs from print +// Get the list of jobs that are queued for printing by the printer/printerShare. // returns a PrintJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *SharesItemJobsPrintJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemJobsPrintJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintJobable, error) { @@ -161,7 +161,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get jobs from print +// ToGetRequestInformation the list of jobs that are queued for printing by the printer/printerShare. // returns a *RequestInformation when successful func (m *SharesItemJobsPrintJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemJobsPrintJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/28491eb6bac8ada0e83b2b354c221e31c273c1ccd4aa3d24c51922bfac32d4e0.go b/reports/28491eb6bac8ada0e83b2b354c221e31c273c1ccd4aa3d24c51922bfac32d4e0.go index 0fd470613b6..3c7a17a5c10 100644 --- a/reports/28491eb6bac8ada0e83b2b354c221e31c273c1ccd4aa3d24c51922bfac32d4e0.go +++ b/reports/28491eb6bac8ada0e83b2b354c221e31c273c1ccd4aa3d24c51922bfac32d4e0.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForWordWeb +// ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users who open or save Word for the web. type ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartD urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForWordWeb +// Get get all the active usage based on the number of active users who open or save Word for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforwordweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStart } return res.(ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForWordWeb +// GetAsGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users who open or save Word for the web. // returns a ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforwordweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStart } return res.(ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForWordWeb +// ToGetRequestInformation get all the active usage based on the number of active users who open or save Word for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/2c3a7a238c23803636b868d4eee592e377cf81fc63e1ed75dd64883b4d0a0750.go b/reports/2c3a7a238c23803636b868d4eee592e377cf81fc63e1ed75dd64883b4d0a0750.go index 127868cf60a..2060d7dd385 100644 --- a/reports/2c3a7a238c23803636b868d4eee592e377cf81fc63e1ed75dd64883b4d0a0750.go +++ b/reports/2c3a7a238c23803636b868d4eee592e377cf81fc63e1ed75dd64883b4d0a0750.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForOutlookMobileByReadEmail +// ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. type ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclus urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForOutlookMobileByReadEmail +// Get get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforoutlookmobilebyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclu } return res.(ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForOutlookMobileByReadEmail +// GetAsGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. // returns a ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforoutlookmobilebyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclu } return res.(ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForOutlookMobileByReadEmail +// ToGetRequestInformation get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/3e80414f2be52440f14f78c5b6062487d3129c07ffc8f0d7a11569ca41fb7adb.go b/reports/3e80414f2be52440f14f78c5b6062487d3129c07ffc8f0d7a11569ca41fb7adb.go index dec355a8104..5f015af58c0 100644 --- a/reports/3e80414f2be52440f14f78c5b6062487d3129c07ffc8f0d7a11569ca41fb7adb.go +++ b/reports/3e80414f2be52440f14f78c5b6062487d3129c07ffc8f0d7a11569ca41fb7adb.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForDesktopMailByReadEmail +// ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who successfully read emails using desktop mail apps. type ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiv urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForDesktopMailByReadEmail +// Get get all the active usage based on the number of users who successfully read emails using desktop mail apps. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsfordesktopmailbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusi } return res.(ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForDesktopMailByReadEmail +// GetAsGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who successfully read emails using desktop mail apps. // returns a ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsfordesktopmailbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusi } return res.(ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForDesktopMailByReadEmail +// ToGetRequestInformation get all the active usage based on the number of users who successfully read emails using desktop mail apps. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/49c7569cf8d7389a2339e1950e576c1cca4a8149f67a73f1063cd34a5704792e.go b/reports/49c7569cf8d7389a2339e1950e576c1cca4a8149f67a73f1063cd34a5704792e.go index 4a924e1f1f9..3a4569dcfbb 100644 --- a/reports/49c7569cf8d7389a2339e1950e576c1cca4a8149f67a73f1063cd34a5704792e.go +++ b/reports/49c7569cf8d7389a2339e1950e576c1cca4a8149f67a73f1063cd34a5704792e.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getAudioStreamQoEMetricsForTeams +// ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. type ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStar urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getAudioStreamQoEMetricsForTeams +// Get get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. // Deprecated: This method is obsolete. Use GetAsGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getaudiostreamqoemetricsforteams?view=graph-rest-beta func (m *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalSta } return res.(ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getAudioStreamQoEMetricsForTeams +// GetAsGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. // returns a ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getaudiostreamqoemetricsforteams?view=graph-rest-beta func (m *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalSta } return res.(ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getAudioStreamQoEMetricsForTeams +// ToGetRequestInformation get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. // returns a *RequestInformation when successful func (m *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/4cd95b0c6db6329b988ba1784a22c5f261f4c332766cbe70be12e9574d292b51.go b/reports/4cd95b0c6db6329b988ba1784a22c5f261f4c332766cbe70be12e9574d292b51.go index 8cbf9eba4c4..df3e6bca238 100644 --- a/reports/4cd95b0c6db6329b988ba1784a22c5f261f4c332766cbe70be12e9574d292b51.go +++ b/reports/4cd95b0c6db6329b988ba1784a22c5f261f4c332766cbe70be12e9574d292b51.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForOutlookMacByReadEmail +// ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who successfully read emails using Outlook for Mac. type ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusive urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForOutlookMacByReadEmail +// Get get all the active usage based on the number of users who successfully read emails using Outlook for Mac. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforoutlookmacbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiv } return res.(ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForOutlookMacByReadEmail +// GetAsGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who successfully read emails using Outlook for Mac. // returns a ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforoutlookmacbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiv } return res.(ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForOutlookMacByReadEmail +// ToGetRequestInformation get all the active usage based on the number of users who successfully read emails using Outlook for Mac. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/6e05c5d855812c2a836ed1016c9a8956788f2a20bae17bceee3f70634558f8df.go b/reports/6e05c5d855812c2a836ed1016c9a8956788f2a20bae17bceee3f70634558f8df.go index aceda6b3418..60ba6d0fae8 100644 --- a/reports/6e05c5d855812c2a836ed1016c9a8956788f2a20bae17bceee3f70634558f8df.go +++ b/reports/6e05c5d855812c2a836ed1016c9a8956788f2a20bae17bceee3f70634558f8df.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForPowerPointWeb +// ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users who open or save PowerPoint for the web. type ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveInterval urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForPowerPointWeb +// Get get all the active usage based on the number of active users who open or save PowerPoint for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforpowerpointweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveInterva } return res.(ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForPowerPointWeb +// GetAsGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users who open or save PowerPoint for the web. // returns a ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforpowerpointweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveInterva } return res.(ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForPowerPointWeb +// ToGetRequestInformation get all the active usage based on the number of active users who open or save PowerPoint for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/7191520e7c19ed77ce248008438ee6784ce4711db209a9c1824380e863a6f97d.go b/reports/7191520e7c19ed77ce248008438ee6784ce4711db209a9c1824380e863a6f97d.go index 30cb344853a..cbda05dc221 100644 --- a/reports/7191520e7c19ed77ce248008438ee6784ce4711db209a9c1824380e863a6f97d.go +++ b/reports/7191520e7c19ed77ce248008438ee6784ce4711db209a9c1824380e863a6f97d.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForExcelWeb +// ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users who open or save Excel for the web. type ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStart urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForExcelWeb +// Get get all the active usage based on the number of active users who open or save Excel for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforexcelweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStar } return res.(ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForExcelWeb +// GetAsGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users who open or save Excel for the web. // returns a ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforexcelweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStar } return res.(ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForExcelWeb +// ToGetRequestInformation get all the active usage based on the number of active users who open or save Excel for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/73d351fd1287311873e7824d0d6a0cefe4441270046cbd35046822223f1a8eb9.go b/reports/73d351fd1287311873e7824d0d6a0cefe4441270046cbd35046822223f1a8eb9.go index 571d65ec7b8..c665e86a14a 100644 --- a/reports/73d351fd1287311873e7824d0d6a0cefe4441270046cbd35046822223f1a8eb9.go +++ b/reports/73d351fd1287311873e7824d0d6a0cefe4441270046cbd35046822223f1a8eb9.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail +// ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. type ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInc urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail +// Get get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforiosorandroidmailbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithIn } return res.(ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail +// GetAsGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. // returns a ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforiosorandroidmailbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithIn } return res.(ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail +// ToGetRequestInformation get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/89d9a21c8ad42a173634aaa0fbe79e0d3c2db32d56c0ac253af9d8d449344461.go b/reports/89d9a21c8ad42a173634aaa0fbe79e0d3c2db32d56c0ac253af9d8d449344461.go index 0005a7506a6..87ec284ae99 100644 --- a/reports/89d9a21c8ad42a173634aaa0fbe79e0d3c2db32d56c0ac253af9d8d449344461.go +++ b/reports/89d9a21c8ad42a173634aaa0fbe79e0d3c2db32d56c0ac253af9d8d449344461.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForVisioWeb +// ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users who open or save Visio for the web. type ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStart urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForVisioWeb +// Get get all the active usage based on the number of active users who open or save Visio for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforvisioweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStar } return res.(ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForVisioWeb +// GetAsGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users who open or save Visio for the web. // returns a ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforvisioweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStar } return res.(ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForVisioWeb +// ToGetRequestInformation get all the active usage based on the number of active users who open or save Visio for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/90444203e58d5fb2cf6f0ba820a939b0857aa89a5f83463f5d3c2b3a12924625.go b/reports/90444203e58d5fb2cf6f0ba820a939b0857aa89a5f83463f5d3c2b3a12924625.go index 2c972e81724..fe1596f1ea7 100644 --- a/reports/90444203e58d5fb2cf6f0ba820a939b0857aa89a5f83463f5d3c2b3a12924625.go +++ b/reports/90444203e58d5fb2cf6f0ba820a939b0857aa89a5f83463f5d3c2b3a12924625.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForOneNoteWeb +// ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users who open or save OneNote for the web. type ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalSta urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForOneNoteWeb +// Get get all the active usage based on the number of active users who open or save OneNote for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforonenoteweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalSt } return res.(ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForOneNoteWeb +// GetAsGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users who open or save OneNote for the web. // returns a ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforonenoteweb?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalSt } return res.(ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForOneNoteWeb +// ToGetRequestInformation get all the active usage based on the number of active users who open or save OneNote for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/a3e7ef1d30ce654351ba77fd5cbc3be0e738f53fc3ede6542399dbd383e52356.go b/reports/a3e7ef1d30ce654351ba77fd5cbc3be0e738f53fc3ede6542399dbd383e52356.go index 6901e862bbb..1dcf210ca10 100644 --- a/reports/a3e7ef1d30ce654351ba77fd5cbc3be0e738f53fc3ede6542399dbd383e52356.go +++ b/reports/a3e7ef1d30ce654351ba77fd5cbc3be0e738f53fc3ede6542399dbd383e52356.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForOutlookWebByReadEmail +// ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who successfully read emails using Outlook for the web. type ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusive urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForOutlookWebByReadEmail +// Get get all the active usage based on the number of users who successfully read emails using Outlook for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforoutlookwebbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiv } return res.(ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForOutlookWebByReadEmail +// GetAsGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who successfully read emails using Outlook for the web. // returns a ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforoutlookwebbyreademail?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiv } return res.(ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForOutlookWebByReadEmail +// ToGetRequestInformation get all the active usage based on the number of users who successfully read emails using Outlook for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/a7b4048812513d4611da08c9524d1fe7851a44ce23fdd887e39d407eef336761.go b/reports/a7b4048812513d4611da08c9524d1fe7851a44ce23fdd887e39d407eef336761.go index 28905b8bb10..b085be1871d 100644 --- a/reports/a7b4048812513d4611da08c9524d1fe7851a44ce23fdd887e39d407eef336761.go +++ b/reports/a7b4048812513d4611da08c9524d1fe7851a44ce23fdd887e39d407eef336761.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForOutlookWebByAppOpening +// ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of active users that signed in and started Outlook for the web. type ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiv urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForOutlookWebByAppOpening +// Get get all the active usage based on the number of active users that signed in and started Outlook for the web. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforoutlookwebbyappopening?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusi } return res.(ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForOutlookWebByAppOpening +// GetAsGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of active users that signed in and started Outlook for the web. // returns a ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforoutlookwebbyappopening?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusi } return res.(ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForOutlookWebByAppOpening +// ToGetRequestInformation get all the active usage based on the number of active users that signed in and started Outlook for the web. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/bad9352ffc54287fac942f5972990f91c7cfb5744e9ee95ea6393c6b8bbe7458.go b/reports/bad9352ffc54287fac942f5972990f91c7cfb5744e9ee95ea6393c6b8bbe7458.go index 94e50c9a364..6af5e6f7c70 100644 --- a/reports/bad9352ffc54287fac942f5972990f91c7cfb5744e9ee95ea6393c6b8bbe7458.go +++ b/reports/bad9352ffc54287fac942f5972990f91c7cfb5744e9ee95ea6393c6b8bbe7458.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMessageVolumeMetricsForEmailDelivery +// ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. type ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveInter urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMessageVolumeMetricsForEmailDelivery +// Get get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. // Deprecated: This method is obsolete. Use GetAsGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getmessagevolumemetricsforemaildelivery?view=graph-rest-beta func (m *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveInte } return res.(ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMessageVolumeMetricsForEmailDelivery +// GetAsGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. // returns a ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getmessagevolumemetricsforemaildelivery?view=graph-rest-beta func (m *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveInte } return res.(ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMessageVolumeMetricsForEmailDelivery +// ToGetRequestInformation get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. // returns a *RequestInformation when successful func (m *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/bbe7b760bb7f81e531c89d1c4dbf9f642dff887823845587065b830edce38eae.go b/reports/bbe7b760bb7f81e531c89d1c4dbf9f642dff887823845587065b830edce38eae.go index 4786ea52852..b07ad1ad9a8 100644 --- a/reports/bbe7b760bb7f81e531c89d1c4dbf9f642dff887823845587065b830edce38eae.go +++ b/reports/bbe7b760bb7f81e531c89d1c4dbf9f642dff887823845587065b830edce38eae.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMessageVolumeMetricsForTeamsChat +// ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of chat messages successfully sent and delivered in Teams. type ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalS urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMessageVolumeMetricsForTeamsChat +// Get get the number of chat messages successfully sent and delivered in Teams. // Deprecated: This method is obsolete. Use GetAsGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getmessagevolumemetricsforteamschat?view=graph-rest-beta func (m *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveInterval } return res.(ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMessageVolumeMetricsForTeamsChat +// GetAsGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of chat messages successfully sent and delivered in Teams. // returns a ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getmessagevolumemetricsforteamschat?view=graph-rest-beta func (m *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveInterval } return res.(ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMessageVolumeMetricsForTeamsChat +// ToGetRequestInformation get the number of chat messages successfully sent and delivered in Teams. // returns a *RequestInformation when successful func (m *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/d4aa0917363eba707dcc91563bb199739d900f90684445de3317ac6eb5146d20.go b/reports/d4aa0917363eba707dcc91563bb199739d900f90684445de3317ac6eb5146d20.go index 9dd711347c0..b0eea9f317b 100644 --- a/reports/d4aa0917363eba707dcc91563bb199739d900f90684445de3317ac6eb5146d20.go +++ b/reports/d4aa0917363eba707dcc91563bb199739d900f90684445de3317ac6eb5146d20.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getUsageMetricsForTeamsByLaunch +// ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get usage metrics based on the number of times users opened the Teams app without error. type ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStart urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getUsageMetricsForTeamsByLaunch +// Get get usage metrics based on the number of times users opened the Teams app without error. // Deprecated: This method is obsolete. Use GetAsGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getusagemetricsforteamsbylaunch?view=graph-rest-beta func (m *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStar } return res.(ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getUsageMetricsForTeamsByLaunch +// GetAsGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get usage metrics based on the number of times users opened the Teams app without error. // returns a ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getusagemetricsforteamsbylaunch?view=graph-rest-beta func (m *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStar } return res.(ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getUsageMetricsForTeamsByLaunch +// ToGetRequestInformation get usage metrics based on the number of times users opened the Teams app without error. // returns a *RequestInformation when successful func (m *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/e212d99699264f4355c7e4399857136e39c9bb5d3f4a7b739e353a31410320c2.go b/reports/e212d99699264f4355c7e4399857136e39c9bb5d3f4a7b739e353a31410320c2.go index f43be4e672f..c1cff4b561b 100644 --- a/reports/e212d99699264f4355c7e4399857136e39c9bb5d3f4a7b739e353a31410320c2.go +++ b/reports/e212d99699264f4355c7e4399857136e39c9bb5d3f4a7b739e353a31410320c2.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getConnectivityMetricsForExchange +// ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. type ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalSta urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getConnectivityMetricsForExchange +// Get get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. // Deprecated: This method is obsolete. Use GetAsGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getconnectivitymetricsforexchange?view=graph-rest-beta func (m *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalSt } return res.(ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getConnectivityMetricsForExchange +// GetAsGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. // returns a ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getconnectivitymetricsforexchange?view=graph-rest-beta func (m *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalSt } return res.(ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getConnectivityMetricsForExchange +// ToGetRequestInformation get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. // returns a *RequestInformation when successful func (m *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/e82a94f838cffd7e71b8959775161c5aef5d50768bddd702558e835fc9385eea.go b/reports/e82a94f838cffd7e71b8959775161c5aef5d50768bddd702558e835fc9385eea.go index 64d1189c728..aa376c6ac23 100644 --- a/reports/e82a94f838cffd7e71b8959775161c5aef5d50768bddd702558e835fc9385eea.go +++ b/reports/e82a94f838cffd7e71b8959775161c5aef5d50768bddd702558e835fc9385eea.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getAudioStreamsOverUdpMetricsForTeams +// ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get metrics based on the percentage of audio streams that were established over User Datagram Protocol. type ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveInterva urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getAudioStreamsOverUdpMetricsForTeams +// Get get metrics based on the percentage of audio streams that were established over User Datagram Protocol. // Deprecated: This method is obsolete. Use GetAsGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getaudiostreamsoverudpmetricsforteams?view=graph-rest-beta func (m *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveInterv } return res.(ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getAudioStreamsOverUdpMetricsForTeams +// GetAsGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get metrics based on the percentage of audio streams that were established over User Datagram Protocol. // returns a ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getaudiostreamsoverudpmetricsforteams?view=graph-rest-beta func (m *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveInterv } return res.(ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getAudioStreamsOverUdpMetricsForTeams +// ToGetRequestInformation get metrics based on the percentage of audio streams that were established over User Datagram Protocol. // returns a *RequestInformation when successful func (m *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/f240f16a3d4ada5798f8074f4270340df2c2a43001029cbedb52dd634a981f6b.go b/reports/f240f16a3d4ada5798f8074f4270340df2c2a43001029cbedb52dd634a981f6b.go index 2ba512f2115..787b2ace53d 100644 --- a/reports/f240f16a3d4ada5798f8074f4270340df2c2a43001029cbedb52dd634a981f6b.go +++ b/reports/f240f16a3d4ada5798f8074f4270340df2c2a43001029cbedb52dd634a981f6b.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getUsageMetricsForTeamsByMeetingsJoined +// ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get usage metrics based on the number of times users joined Teams meetings without errors. type ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveInter urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getUsageMetricsForTeamsByMeetingsJoined +// Get get usage metrics based on the number of times users joined Teams meetings without errors. // Deprecated: This method is obsolete. Use GetAsGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getusagemetricsforteamsbymeetingsjoined?view=graph-rest-beta func (m *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveInte } return res.(ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getUsageMetricsForTeamsByMeetingsJoined +// GetAsGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get usage metrics based on the number of times users joined Teams meetings without errors. // returns a ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getusagemetricsforteamsbymeetingsjoined?view=graph-rest-beta func (m *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveInte } return res.(ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getUsageMetricsForTeamsByMeetingsJoined +// ToGetRequestInformation get usage metrics based on the number of times users joined Teams meetings without errors. // returns a *RequestInformation when successful func (m *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/f8ec5e6b9a1ab9cd8f697f66deab951b6615c0c8204728aa15bb362a8126a75c.go b/reports/f8ec5e6b9a1ab9cd8f697f66deab951b6615c0c8204728aa15bb362a8126a75c.go index d42715221a0..3923ebdc695 100644 --- a/reports/f8ec5e6b9a1ab9cd8f697f66deab951b6615c0c8204728aa15bb362a8126a75c.go +++ b/reports/f8ec5e6b9a1ab9cd8f697f66deab951b6615c0c8204728aa15bb362a8126a75c.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getActiveUserMetricsForEmailByModernAuthentication +// ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get all the active usage based on the number of users who signed in with modern authentication across all email apps. type ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInc urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getActiveUserMetricsForEmailByModernAuthentication +// Get get all the active usage based on the number of users who signed in with modern authentication across all email apps. // Deprecated: This method is obsolete. Use GetAsGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable 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/serviceactivity-getactiveusermetricsforemailbymodernauthentication?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithIn } return res.(ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getActiveUserMetricsForEmailByModernAuthentication +// GetAsGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get all the active usage based on the number of users who signed in with modern authentication across all email apps. // returns a ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable 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/serviceactivity-getactiveusermetricsforemailbymodernauthentication?view=graph-rest-beta func (m *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithIn } return res.(ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getActiveUserMetricsForEmailByModernAuthentication +// ToGetRequestInformation get all the active usage based on the number of users who signed in with modern authentication across all email apps. // returns a *RequestInformation when successful func (m *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/riskdetections/risk_detections_request_builder.go b/riskdetections/risk_detections_request_builder.go index 57902cbefce..ad6291d25f0 100644 --- a/riskdetections/risk_detections_request_builder.go +++ b/riskdetections/risk_detections_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskDetectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. +// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. type RiskDetectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -71,12 +71,12 @@ func NewRiskDetectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewRiskDetectionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of a riskDetection object. +// Get retrieve the properties of a collection of riskDetection objects. // returns a RiskDetectionCollectionResponseable 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/riskdetection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta func (m *RiskDetectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +114,7 @@ func (m *RiskDetectionsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable), nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. // returns a *RequestInformation when successful func (m *RiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_payloads_payload_item_request_builder.go b/security/attack_simulation_payloads_payload_item_request_builder.go index 06eecac5345..7c677e53407 100644 --- a/security/attack_simulation_payloads_payload_item_request_builder.go +++ b/security/attack_simulation_payloads_payload_item_request_builder.go @@ -18,7 +18,7 @@ type AttackSimulationPayloadsPayloadItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttackSimulationPayloadsPayloadItemRequestBuilderGetQueryParameters represents an attack simulation training campaign payload in a tenant. +// AttackSimulationPayloadsPayloadItemRequestBuilderGetQueryParameters get an attack simulation campaign payload for a tenant. type AttackSimulationPayloadsPayloadItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,9 +70,12 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) Delete(ctx context.C } return nil } -// Get represents an attack simulation training campaign payload in a tenant. +// Get get an attack simulation campaign payload for a tenant. // returns a Payloadable 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/payload-get?view=graph-rest-beta func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationPayloadsPayloadItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Payloadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +124,7 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents an attack simulation training campaign payload in a tenant. +// ToGetRequestInformation get an attack simulation campaign payload for a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationPayloadsPayloadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 59779d63cf6..690a1392f07 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. +// ItemListsListItemRequestBuilderGetQueryParameters return the metadata for a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a list. +// Get return 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-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +174,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. +// ToGetRequestInformation return 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/item_onenote_notebooks_notebook_item_request_builder.go b/sites/item_onenote_notebooks_notebook_item_request_builder.go index f49636443b4..c755b1bc3a0 100644 --- a/sites/item_onenote_notebooks_notebook_item_request_builder.go +++ b/sites/item_onenote_notebooks_notebook_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteNotebooksNotebookItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { @@ -136,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_request_builder.go b/sites/item_onenote_notebooks_request_builder.go index 43add191759..19950d3bd54 100644 --- a/sites/item_onenote_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { @@ -126,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_pages_onenote_page_item_request_builder.go b/sites/item_onenote_pages_onenote_page_item_request_builder.go index f4e1e4fddaa..3d7aeff356c 100644 --- a/sites/item_onenote_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_pages_onenote_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable, error) { @@ -151,7 +151,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_pages_request_builder.go b/sites/item_onenote_pages_request_builder.go index 475e42d644a..64904768583 100644 --- a/sites/item_onenote_pages_request_builder.go +++ b/sites/item_onenote_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenotePagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenotePagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOnenotePagesRequestBuilder) Count()(*ItemOnenotePagesCountRequestBuilder) { return NewItemOnenotePagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenotePagesRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable), nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_section_groups_request_builder.go b/sites/item_onenote_section_groups_request_builder.go index 46ef319c362..561b6c05271 100644 --- a/sites/item_onenote_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_section_groups_section_group_item_request_builder.go b/sites/item_onenote_section_groups_section_group_item_request_builder.go index a360f3b2562..b8a2d14d263 100644 --- a/sites/item_onenote_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_section_groups_section_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_sections_onenote_section_item_request_builder.go b/sites/item_onenote_sections_onenote_section_item_request_builder.go index 897b64af662..dca539fb37a 100644 --- a/sites/item_onenote_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_sections_onenote_section_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { @@ -146,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_sections_request_builder.go b/sites/item_onenote_sections_request_builder.go index ba058e0f025..b482dd62c81 100644 --- a/sites/item_onenote_sections_request_builder.go +++ b/sites/item_onenote_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_pages_request_builder.go b/sites/item_pages_request_builder.go index afa1227c9b1..b048046efa3 100644 --- a/sites/item_pages_request_builder.go +++ b/sites/item_pages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemPagesRequestBuilder) Get(ctx context.Context, requestConfiguration func (m *ItemPagesRequestBuilder) GraphSitePage()(*ItemPagesGraphSitePageRequestBuilder) { return NewItemPagesGraphSitePageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new sitePage in the site pages list in a site. +// Post create a new newsLinkPage in the site pages list of a site. // returns a BaseSitePageable 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/sitepage-create?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/newslinkpage-create?view=graph-rest-beta func (m *ItemPagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemPagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new sitePage in the site pages list in a site. +// ToPostRequestInformation create a new newsLinkPage in the site pages list of a site. // returns a *RequestInformation when successful func (m *ItemPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemPagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/494e7c3040ad4207c356e85c5dc6813800f419678df08ab5560a627e1d5104d5.go b/solutions/494e7c3040ad4207c356e85c5dc6813800f419678df08ab5560a627e1d5104d5.go index c07798ab952..bb75f5f8357 100644 --- a/solutions/494e7c3040ad4207c356e85c5dc6813800f419678df08ab5560a627e1d5104d5.go +++ b/solutions/494e7c3040ad4207c356e85c5dc6813800f419678df08ab5560a627e1d5104d5.go @@ -11,7 +11,7 @@ import ( type BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderGetQueryParameters contains the protection units associated with a OneDrive for Business protection policy. +// BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderGetQueryParameters contains the protection units associated with a OneDrive for Work or School protection policy. type BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewBackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUni urlParams["request-raw-url"] = rawUrl return NewBackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get contains the protection units associated with a OneDrive for Business protection policy. +// Get contains the protection units associated with a OneDrive for Work or School protection policy. // returns a DriveProtectionUnitable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable, error) { @@ -60,7 +60,7 @@ func (m *BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveProtectionUnitable), nil } -// ToGetRequestInformation contains the protection units associated with a OneDrive for Business protection policy. +// ToGetRequestInformation contains the protection units associated with a OneDrive for Work or School protection policy. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessProtectionPoliciesItemDriveProtectionUnitsDriveProtectionUnitItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go b/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go index b264fb12c50..3bfb08e64e1 100644 --- a/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go +++ b/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go @@ -18,7 +18,7 @@ type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDri // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return nil } -// Get a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// Get a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. // returns a DriveRestoreArtifactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, error) { @@ -126,7 +126,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation a collection of restore points and destination details that can be used to restore a OneDrive for Business drive. +// ToGetRequestInformation a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_channel_item_request_builder.go b/teams/item_channels_channel_item_request_builder.go index 75c98b60659..af98587681e 100644 --- a/teams/item_channels_channel_item_request_builder.go +++ b/teams/item_channels_channel_item_request_builder.go @@ -116,6 +116,11 @@ func (m *ItemChannelsChannelItemRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemChannelsChannelItemRequestBuilder) GetAllMembers()(*ItemChannelsItemGetAllMembersRequestBuilder) { + return NewItemChannelsItemGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemChannelsItemMembersRequestBuilder when successful func (m *ItemChannelsChannelItemRequestBuilder) Members()(*ItemChannelsItemMembersRequestBuilder) { diff --git a/teams/item_channels_item_get_all_members_add_post_request_body.go b/teams/item_channels_item_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..79a5a8f807c --- /dev/null +++ b/teams/item_channels_item_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChannelsItemGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChannelsItemGetAllMembersAddPostRequestBody instantiates a new ItemChannelsItemGetAllMembersAddPostRequestBody and sets the default values. +func NewItemChannelsItemGetAllMembersAddPostRequestBody()(*ItemChannelsItemGetAllMembersAddPostRequestBody) { + m := &ItemChannelsItemGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersAddPostRequestBody(), 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 *ItemChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemChannelsItemGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemChannelsItemGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemChannelsItemGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemChannelsItemGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teams/item_channels_item_get_all_members_add_post_response.go b/teams/item_channels_item_get_all_members_add_post_response.go new file mode 100644 index 00000000000..5c4d5736b6e --- /dev/null +++ b/teams/item_channels_item_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemChannelsItemGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemChannelsItemGetAllMembersAddPostResponse instantiates a new ItemChannelsItemGetAllMembersAddPostResponse and sets the default values. +func NewItemChannelsItemGetAllMembersAddPostResponse()(*ItemChannelsItemGetAllMembersAddPostResponse) { + m := &ItemChannelsItemGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChannelsItemGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemChannelsItemGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemGetAllMembersAddPostResponse) 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 *ItemChannelsItemGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teams/item_channels_item_get_all_members_add_request_builder.go b/teams/item_channels_item_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..086d9b8e507 --- /dev/null +++ b/teams/item_channels_item_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemChannelsItemGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemGetAllMembersAddRequestBuilderInternal instantiates a new ItemChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersAddRequestBuilder) { + m := &ItemChannelsItemGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/add", pathParameters), + } + return m +} +// NewItemChannelsItemGetAllMembersAddRequestBuilder instantiates a new ItemChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemChannelsItemGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemChannelsItemGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemChannelsItemGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChannelsItemGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemChannelsItemGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemChannelsItemGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemChannelsItemGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChannelsItemGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemChannelsItemGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_get_all_members_add_response.go b/teams/item_channels_item_get_all_members_add_response.go new file mode 100644 index 00000000000..350636a12fa --- /dev/null +++ b/teams/item_channels_item_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemChannelsItemGetAllMembersAddPostResponseable instead. +type ItemChannelsItemGetAllMembersAddResponse struct { + ItemChannelsItemGetAllMembersAddPostResponse +} +// NewItemChannelsItemGetAllMembersAddResponse instantiates a new ItemChannelsItemGetAllMembersAddResponse and sets the default values. +func NewItemChannelsItemGetAllMembersAddResponse()(*ItemChannelsItemGetAllMembersAddResponse) { + m := &ItemChannelsItemGetAllMembersAddResponse{ + ItemChannelsItemGetAllMembersAddPostResponse: *NewItemChannelsItemGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemChannelsItemGetAllMembersAddPostResponseable instead. +type ItemChannelsItemGetAllMembersAddResponseable interface { + ItemChannelsItemGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teams/item_channels_item_get_all_members_conversation_member_item_request_builder.go b/teams/item_channels_item_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..fd292bd51d1 --- /dev/null +++ b/teams/item_channels_item_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teams +type ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teams +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teams +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teams +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teams +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_get_all_members_count_request_builder.go b/teams/item_channels_item_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..5508039eb43 --- /dev/null +++ b/teams/item_channels_item_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemChannelsItemGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemChannelsItemGetAllMembersCountRequestBuilderInternal instantiates a new ItemChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersCountRequestBuilder) { + m := &ItemChannelsItemGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemChannelsItemGetAllMembersCountRequestBuilder instantiates a new ItemChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemGetAllMembersCountRequestBuilderInternal(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 *ItemChannelsItemGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemChannelsItemGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemChannelsItemGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_get_all_members_remove_post_request_body.go b/teams/item_channels_item_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..e72afda8038 --- /dev/null +++ b/teams/item_channels_item_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChannelsItemGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChannelsItemGetAllMembersRemovePostRequestBody instantiates a new ItemChannelsItemGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemChannelsItemGetAllMembersRemovePostRequestBody()(*ItemChannelsItemGetAllMembersRemovePostRequestBody) { + m := &ItemChannelsItemGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersRemovePostRequestBody(), 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 *ItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemChannelsItemGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemChannelsItemGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemChannelsItemGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemChannelsItemGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teams/item_channels_item_get_all_members_remove_post_response.go b/teams/item_channels_item_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..b6fe28941af --- /dev/null +++ b/teams/item_channels_item_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemChannelsItemGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemChannelsItemGetAllMembersRemovePostResponse instantiates a new ItemChannelsItemGetAllMembersRemovePostResponse and sets the default values. +func NewItemChannelsItemGetAllMembersRemovePostResponse()(*ItemChannelsItemGetAllMembersRemovePostResponse) { + m := &ItemChannelsItemGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChannelsItemGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemChannelsItemGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemGetAllMembersRemovePostResponse) 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 *ItemChannelsItemGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teams/item_channels_item_get_all_members_remove_request_builder.go b/teams/item_channels_item_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..72ad265f4da --- /dev/null +++ b/teams/item_channels_item_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemChannelsItemGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersRemoveRequestBuilder) { + m := &ItemChannelsItemGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemChannelsItemGetAllMembersRemoveRequestBuilder instantiates a new ItemChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemChannelsItemGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemChannelsItemGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemChannelsItemGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChannelsItemGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemChannelsItemGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemChannelsItemGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemChannelsItemGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemChannelsItemGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_get_all_members_remove_response.go b/teams/item_channels_item_get_all_members_remove_response.go new file mode 100644 index 00000000000..497f87e2f3c --- /dev/null +++ b/teams/item_channels_item_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemChannelsItemGetAllMembersRemoveResponse struct { + ItemChannelsItemGetAllMembersRemovePostResponse +} +// NewItemChannelsItemGetAllMembersRemoveResponse instantiates a new ItemChannelsItemGetAllMembersRemoveResponse and sets the default values. +func NewItemChannelsItemGetAllMembersRemoveResponse()(*ItemChannelsItemGetAllMembersRemoveResponse) { + m := &ItemChannelsItemGetAllMembersRemoveResponse{ + ItemChannelsItemGetAllMembersRemovePostResponse: *NewItemChannelsItemGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemChannelsItemGetAllMembersRemoveResponseable interface { + ItemChannelsItemGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teams/item_channels_item_get_all_members_request_builder.go b/teams/item_channels_item_get_all_members_request_builder.go new file mode 100644 index 00000000000..2047f3acf5b --- /dev/null +++ b/teams/item_channels_item_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemChannelsItemGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teams +type ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters +} +// ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) Add()(*ItemChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemChannelsItemGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemChannelsItemGetAllMembersRequestBuilderInternal instantiates a new ItemChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersRequestBuilder) { + m := &ItemChannelsItemGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemChannelsItemGetAllMembersRequestBuilder instantiates a new ItemChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemChannelsItemGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) Count()(*ItemChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemChannelsItemGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teams +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChannelsItemGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemChannelsItemGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) Remove()(*ItemChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teams +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teams +// returns a *RequestInformation when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemChannelsItemGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemGetAllMembersRequestBuilder) { + return NewItemChannelsItemGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} 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 00e12d1d283..72c3b8041d9 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Patch update the role of a conversationMember in a team.or channel. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-beta func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_get_all_members_add_post_request_body.go b/teams/item_primary_channel_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..0676dcd8807 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPrimaryChannelGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPrimaryChannelGetAllMembersAddPostRequestBody instantiates a new ItemPrimaryChannelGetAllMembersAddPostRequestBody and sets the default values. +func NewItemPrimaryChannelGetAllMembersAddPostRequestBody()(*ItemPrimaryChannelGetAllMembersAddPostRequestBody) { + m := &ItemPrimaryChannelGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersAddPostRequestBody(), 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 *ItemPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemPrimaryChannelGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemPrimaryChannelGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemPrimaryChannelGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemPrimaryChannelGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teams/item_primary_channel_get_all_members_add_post_response.go b/teams/item_primary_channel_get_all_members_add_post_response.go new file mode 100644 index 00000000000..f0a34d5e370 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemPrimaryChannelGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemPrimaryChannelGetAllMembersAddPostResponse instantiates a new ItemPrimaryChannelGetAllMembersAddPostResponse and sets the default values. +func NewItemPrimaryChannelGetAllMembersAddPostResponse()(*ItemPrimaryChannelGetAllMembersAddPostResponse) { + m := &ItemPrimaryChannelGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPrimaryChannelGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemPrimaryChannelGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelGetAllMembersAddPostResponse) 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 *ItemPrimaryChannelGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teams/item_primary_channel_get_all_members_add_request_builder.go b/teams/item_primary_channel_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..ee7ad43ee19 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemPrimaryChannelGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelGetAllMembersAddRequestBuilderInternal instantiates a new ItemPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersAddRequestBuilder) { + m := &ItemPrimaryChannelGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/add", pathParameters), + } + return m +} +// NewItemPrimaryChannelGetAllMembersAddRequestBuilder instantiates a new ItemPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemPrimaryChannelGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemPrimaryChannelGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemPrimaryChannelGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemPrimaryChannelGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemPrimaryChannelGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemPrimaryChannelGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_get_all_members_add_response.go b/teams/item_primary_channel_get_all_members_add_response.go new file mode 100644 index 00000000000..96ff7c42b71 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemPrimaryChannelGetAllMembersAddResponse struct { + ItemPrimaryChannelGetAllMembersAddPostResponse +} +// NewItemPrimaryChannelGetAllMembersAddResponse instantiates a new ItemPrimaryChannelGetAllMembersAddResponse and sets the default values. +func NewItemPrimaryChannelGetAllMembersAddResponse()(*ItemPrimaryChannelGetAllMembersAddResponse) { + m := &ItemPrimaryChannelGetAllMembersAddResponse{ + ItemPrimaryChannelGetAllMembersAddPostResponse: *NewItemPrimaryChannelGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemPrimaryChannelGetAllMembersAddResponseable interface { + ItemPrimaryChannelGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teams/item_primary_channel_get_all_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..7bc606ce8ac --- /dev/null +++ b/teams/item_primary_channel_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teams +type ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teams +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teams +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teams +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teams +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_get_all_members_count_request_builder.go b/teams/item_primary_channel_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..b56aa182f9e --- /dev/null +++ b/teams/item_primary_channel_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemPrimaryChannelGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemPrimaryChannelGetAllMembersCountRequestBuilderInternal instantiates a new ItemPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersCountRequestBuilder) { + m := &ItemPrimaryChannelGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemPrimaryChannelGetAllMembersCountRequestBuilder instantiates a new ItemPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelGetAllMembersCountRequestBuilderInternal(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 *ItemPrimaryChannelGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemPrimaryChannelGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_get_all_members_remove_post_request_body.go b/teams/item_primary_channel_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..4c2f8cd4bae --- /dev/null +++ b/teams/item_primary_channel_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPrimaryChannelGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPrimaryChannelGetAllMembersRemovePostRequestBody instantiates a new ItemPrimaryChannelGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemPrimaryChannelGetAllMembersRemovePostRequestBody()(*ItemPrimaryChannelGetAllMembersRemovePostRequestBody) { + m := &ItemPrimaryChannelGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersRemovePostRequestBody(), 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 *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemPrimaryChannelGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teams/item_primary_channel_get_all_members_remove_post_response.go b/teams/item_primary_channel_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..b2d4cef83f2 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemPrimaryChannelGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemPrimaryChannelGetAllMembersRemovePostResponse instantiates a new ItemPrimaryChannelGetAllMembersRemovePostResponse and sets the default values. +func NewItemPrimaryChannelGetAllMembersRemovePostResponse()(*ItemPrimaryChannelGetAllMembersRemovePostResponse) { + m := &ItemPrimaryChannelGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPrimaryChannelGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemPrimaryChannelGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelGetAllMembersRemovePostResponse) 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 *ItemPrimaryChannelGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teams/item_primary_channel_get_all_members_remove_request_builder.go b/teams/item_primary_channel_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..08eafa54509 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemPrimaryChannelGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) { + m := &ItemPrimaryChannelGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemPrimaryChannelGetAllMembersRemoveRequestBuilder instantiates a new ItemPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemPrimaryChannelGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemPrimaryChannelGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemPrimaryChannelGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemPrimaryChannelGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_get_all_members_remove_response.go b/teams/item_primary_channel_get_all_members_remove_response.go new file mode 100644 index 00000000000..02ccc9c9989 --- /dev/null +++ b/teams/item_primary_channel_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemPrimaryChannelGetAllMembersRemoveResponse struct { + ItemPrimaryChannelGetAllMembersRemovePostResponse +} +// NewItemPrimaryChannelGetAllMembersRemoveResponse instantiates a new ItemPrimaryChannelGetAllMembersRemoveResponse and sets the default values. +func NewItemPrimaryChannelGetAllMembersRemoveResponse()(*ItemPrimaryChannelGetAllMembersRemoveResponse) { + m := &ItemPrimaryChannelGetAllMembersRemoveResponse{ + ItemPrimaryChannelGetAllMembersRemovePostResponse: *NewItemPrimaryChannelGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemPrimaryChannelGetAllMembersRemoveResponseable interface { + ItemPrimaryChannelGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teams/item_primary_channel_get_all_members_request_builder.go b/teams/item_primary_channel_get_all_members_request_builder.go new file mode 100644 index 00000000000..2eb9fc3230b --- /dev/null +++ b/teams/item_primary_channel_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemPrimaryChannelGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teams +type ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +} +// ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) Add()(*ItemPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemPrimaryChannelGetAllMembersRequestBuilderInternal instantiates a new ItemPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersRequestBuilder) { + m := &ItemPrimaryChannelGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemPrimaryChannelGetAllMembersRequestBuilder instantiates a new ItemPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemPrimaryChannelGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) Count()(*ItemPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teams +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teams +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) Remove()(*ItemPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teams +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teams +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemPrimaryChannelGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_request_builder.go b/teams/item_primary_channel_request_builder.go index 1ae42a3b4d8..8fddc2cf1b9 100644 --- a/teams/item_primary_channel_request_builder.go +++ b/teams/item_primary_channel_request_builder.go @@ -113,6 +113,11 @@ func (m *ItemPrimaryChannelRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemPrimaryChannelRequestBuilder) GetAllMembers()(*ItemPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemPrimaryChannelGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemPrimaryChannelMembersRequestBuilder when successful func (m *ItemPrimaryChannelRequestBuilder) Members()(*ItemPrimaryChannelMembersRequestBuilder) { diff --git a/teams/item_schedule_open_shifts_request_builder.go b/teams/item_schedule_open_shifts_request_builder.go index d3e87943b3a..3367a813bf0 100644 --- a/teams/item_schedule_open_shifts_request_builder.go +++ b/teams/item_schedule_open_shifts_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable), nil } -// Post create an instance of an openshift object. +// Post create an instance of an openShift object. // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an openshift object. +// ToPostRequestInformation create an instance of an openShift object. // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go index 953052d6cad..efa2443a92e 100644 --- a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go @@ -110,6 +110,11 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) GetAllMembers()(*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemTeamDefinitionChannelsItemMembersRequestBuilder when successful func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Members()(*ItemTeamDefinitionChannelsItemMembersRequestBuilder) { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_request_body.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..e16e29e0de9 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody()(*ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody(), 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_response.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_response.go new file mode 100644 index 00000000000..d54b96b9a18 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse()(*ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) 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 *ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..57cfb26a7ac --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_response.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_response.go new file mode 100644 index 00000000000..1991031f5e0 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable instead. +type ItemTeamDefinitionChannelsItemGetAllMembersAddResponse struct { + ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse +} +// NewItemTeamDefinitionChannelsItemGetAllMembersAddResponse instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersAddResponse and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersAddResponse()(*ItemTeamDefinitionChannelsItemGetAllMembersAddResponse) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersAddResponse{ + ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse: *NewItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable instead. +type ItemTeamDefinitionChannelsItemGetAllMembersAddResponseable interface { + ItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..2ea3a8ca515 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teamTemplateDefinition +type ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teamTemplateDefinition +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..80e18f6a84c --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(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 *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_request_body.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..8396740074f --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody()(*ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody(), 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_response.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..dfd7de3e0c0 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse()(*ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) 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 *ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..53b8f27590d --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_response.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_response.go new file mode 100644 index 00000000000..5b84e1a502e --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse struct { + ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse()(*ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse{ + ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse: *NewItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable instead. +type ItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable interface { + ItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_request_builder.go new file mode 100644 index 00000000000..ef0dcb265a0 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teamTemplateDefinition +type ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Add()(*ItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teamTemplateDefinition +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Remove()(*ItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + return NewItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_request_body.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..6e796077e67 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody()(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody(), 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_response.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_response.go new file mode 100644 index 00000000000..48cc5672354 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse()(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..c7f18f4d977 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder provides operations to call the add method. +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_response.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_response.go new file mode 100644 index 00000000000..157377dc008 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse struct { + ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse()(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse{ + ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse: *NewItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse(), + } + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable instead. +type ItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable interface { + ItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..e077973a4b6 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teamTemplateDefinition +type ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teamTemplateDefinition +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..aee4448d551 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(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 *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_request_body.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..eacfa95a376 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody()(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody(), 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_response.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..5ac0670d6db --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse()(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) 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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..9adb3e53b47 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_response.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_response.go new file mode 100644 index 00000000000..ed5367d64a1 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teamtemplatedefinition + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse struct { + ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse()(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse{ + ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse: *NewItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse(), + } + return m +} +// CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable instead. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable interface { + ItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_request_builder.go new file mode 100644 index 00000000000..e62dea957a2 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teamTemplateDefinition +type ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Add()(*ItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teamTemplateDefinition +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teamTemplateDefinition +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Remove()(*ItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teamTemplateDefinition +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go index dc6540e2fa6..2affc033c93 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go @@ -110,6 +110,11 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) GetAllMembers()(*ItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder when successful func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) Members()(*ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) { diff --git a/teamwork/10fafad9e99cf1fef12c147bd1d455912fedd8e3592a0c1735ef8990a0ca52d1.go b/teamwork/10fafad9e99cf1fef12c147bd1d455912fedd8e3592a0c1735ef8990a0ca52d1.go new file mode 100644 index 00000000000..b332bc0a0fe --- /dev/null +++ b/teamwork/10fafad9e99cf1fef12c147bd1d455912fedd8e3592a0c1735ef8990a0ca52d1.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder provides operations to call the add method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/153b57d1ac0443fec706e39dfaf75c58ef4d4cb35c6b61c243d56c79ff332f8a.go b/teamwork/153b57d1ac0443fec706e39dfaf75c58ef4d4cb35c6b61c243d56c79ff332f8a.go new file mode 100644 index 00000000000..0c50e9dc4f9 --- /dev/null +++ b/teamwork/153b57d1ac0443fec706e39dfaf75c58ef4d4cb35c6b61c243d56c79ff332f8a.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/1ba898a0ea2a3ac3b1e2779d62c28f11d5efe9b9c7d6f941ede212532f036a71.go b/teamwork/1ba898a0ea2a3ac3b1e2779d62c28f11d5efe9b9c7d6f941ede212532f036a71.go new file mode 100644 index 00000000000..1300042a64b --- /dev/null +++ b/teamwork/1ba898a0ea2a3ac3b1e2779d62c28f11d5efe9b9c7d6f941ede212532f036a71.go @@ -0,0 +1,157 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teamwork +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/23453337558dded404a311a6ef2fd41148946e99c1f0d52b955245bb05cecc02.go b/teamwork/23453337558dded404a311a6ef2fd41148946e99c1f0d52b955245bb05cecc02.go new file mode 100644 index 00000000000..462f123213e --- /dev/null +++ b/teamwork/23453337558dded404a311a6ef2fd41148946e99c1f0d52b955245bb05cecc02.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/461f46294dedb32f2231a7a2b855d38c7dcff20393dec8376bdc35b014249e19.go b/teamwork/461f46294dedb32f2231a7a2b855d38c7dcff20393dec8376bdc35b014249e19.go new file mode 100644 index 00000000000..7d3bb250a4b --- /dev/null +++ b/teamwork/461f46294dedb32f2231a7a2b855d38c7dcff20393dec8376bdc35b014249e19.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/4aef4aaea061361c5f2cb4bfa8ba999ae9d7c0b88cd2d54ae85087792432407a.go b/teamwork/4aef4aaea061361c5f2cb4bfa8ba999ae9d7c0b88cd2d54ae85087792432407a.go new file mode 100644 index 00000000000..f13203c3119 --- /dev/null +++ b/teamwork/4aef4aaea061361c5f2cb4bfa8ba999ae9d7c0b88cd2d54ae85087792432407a.go @@ -0,0 +1,157 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teamwork +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/4d333acd567d5eb92201e6f15a0e9fa1fc81907b44f8fbc6acb12f529d226296.go b/teamwork/4d333acd567d5eb92201e6f15a0e9fa1fc81907b44f8fbc6acb12f529d226296.go new file mode 100644 index 00000000000..8caec2180c4 --- /dev/null +++ b/teamwork/4d333acd567d5eb92201e6f15a0e9fa1fc81907b44f8fbc6acb12f529d226296.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/6d9b6e271a0f5fcae5717b928c84745ba0e992b6ff4548d06b89d42611972abb.go b/teamwork/6d9b6e271a0f5fcae5717b928c84745ba0e992b6ff4548d06b89d42611972abb.go new file mode 100644 index 00000000000..c74a18ad7f7 --- /dev/null +++ b/teamwork/6d9b6e271a0f5fcae5717b928c84745ba0e992b6ff4548d06b89d42611972abb.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/70ad5bb9f1a3b748e8e8332a89dd4d075bba0c3dcb931826fac511440b1622a5.go b/teamwork/70ad5bb9f1a3b748e8e8332a89dd4d075bba0c3dcb931826fac511440b1622a5.go new file mode 100644 index 00000000000..0d0432ba8e3 --- /dev/null +++ b/teamwork/70ad5bb9f1a3b748e8e8332a89dd4d075bba0c3dcb931826fac511440b1622a5.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/8eb005c7547c0e44090896abd5c000b4e44f242218031ea71e94d59e83023891.go b/teamwork/8eb005c7547c0e44090896abd5c000b4e44f242218031ea71e94d59e83023891.go new file mode 100644 index 00000000000..7c24d59044e --- /dev/null +++ b/teamwork/8eb005c7547c0e44090896abd5c000b4e44f242218031ea71e94d59e83023891.go @@ -0,0 +1,80 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/8eb8577fbcb7acd1848a3cf1146984acb6b6738ca31687edd92bb9ffa90ed297.go b/teamwork/8eb8577fbcb7acd1848a3cf1146984acb6b6738ca31687edd92bb9ffa90ed297.go new file mode 100644 index 00000000000..680ea0b3c34 --- /dev/null +++ b/teamwork/8eb8577fbcb7acd1848a3cf1146984acb6b6738ca31687edd92bb9ffa90ed297.go @@ -0,0 +1,80 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/ae3ff4aa231bbbaa489a40756e4f1be864be6529bf5e30eb2943ef2e1df815c2.go b/teamwork/ae3ff4aa231bbbaa489a40756e4f1be864be6529bf5e30eb2943ef2e1df815c2.go new file mode 100644 index 00000000000..390b0ff6b81 --- /dev/null +++ b/teamwork/ae3ff4aa231bbbaa489a40756e4f1be864be6529bf5e30eb2943ef2e1df815c2.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/c0869a4d11dc8dc7992f44f59ab24bbffdb416d38701f5f6f173927a020f6086.go b/teamwork/c0869a4d11dc8dc7992f44f59ab24bbffdb416d38701f5f6f173927a020f6086.go new file mode 100644 index 00000000000..a6bd322361d --- /dev/null +++ b/teamwork/c0869a4d11dc8dc7992f44f59ab24bbffdb416d38701f5f6f173927a020f6086.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/d1a3803408c3cfe61792c186b158be353ba5beb582bab6fa95c261953e678156.go b/teamwork/d1a3803408c3cfe61792c186b158be353ba5beb582bab6fa95c261953e678156.go new file mode 100644 index 00000000000..e76a06cad24 --- /dev/null +++ b/teamwork/d1a3803408c3cfe61792c186b158be353ba5beb582bab6fa95c261953e678156.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder provides operations to call the add method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/d9cf68c916c0f6b5c0c32defbf23bc86bbfd52bf53a935437610610916cdc3e3.go b/teamwork/d9cf68c916c0f6b5c0c32defbf23bc86bbfd52bf53a935437610610916cdc3e3.go new file mode 100644 index 00000000000..e8e0473ebc0 --- /dev/null +++ b/teamwork/d9cf68c916c0f6b5c0c32defbf23bc86bbfd52bf53a935437610610916cdc3e3.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go index 449d515ce2e..776bb18ed9e 100644 --- a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go @@ -110,6 +110,11 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder when successful +func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) GetAllMembers()(*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *DeletedTeamsItemChannelsItemMembersRequestBuilder when successful func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) Members()(*DeletedTeamsItemChannelsItemMembersRequestBuilder) { diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_request_body.go b/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_request_body.go new file mode 100644 index 00000000000..d02fef3e5a6 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_request_body.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody instantiates a new DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody()(*DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) { + m := &DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody(), 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_response.go b/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_response.go new file mode 100644 index 00000000000..a34b711f150 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewDeletedTeamsItemChannelsItemGetAllMembersAddPostResponse instantiates a new DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersAddPostResponse()(*DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse) { + m := &DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse) 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 *DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_add_request_builder.go b/teamwork/deleted_teams_item_channels_item_get_all_members_add_request_builder.go new file mode 100644 index 00000000000..ac8c9b66385 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_add_request_builder.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder provides operations to call the add method. +type DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) { + m := &DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/add", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder instantiates a new DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderInternal(urlParams, requestAdapter) +} +// Post add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// Deprecated: This method is obsolete. Use PostAsAddPostResponse instead. +// returns a DeletedTeamsItemChannelsItemGetAllMembersAddResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemGetAllMembersAddResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDeletedTeamsItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DeletedTeamsItemChannelsItemGetAllMembersAddResponseable), nil +} +// PostAsAddPostResponse add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable 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/conversationmembers-add?view=graph-rest-beta +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDeletedTeamsItemChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable), nil +} +// ToPostRequestInformation add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersAddPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderPostRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_add_response.go b/teamwork/deleted_teams_item_channels_item_get_all_members_add_response.go new file mode 100644 index 00000000000..e8d7f5c8987 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable instead. +type DeletedTeamsItemChannelsItemGetAllMembersAddResponse struct { + DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse +} +// NewDeletedTeamsItemChannelsItemGetAllMembersAddResponse instantiates a new DeletedTeamsItemChannelsItemGetAllMembersAddResponse and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersAddResponse()(*DeletedTeamsItemChannelsItemGetAllMembersAddResponse) { + m := &DeletedTeamsItemChannelsItemGetAllMembersAddResponse{ + DeletedTeamsItemChannelsItemGetAllMembersAddPostResponse: *NewDeletedTeamsItemChannelsItemGetAllMembersAddPostResponse(), + } + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable instead. +type DeletedTeamsItemChannelsItemGetAllMembersAddResponseable interface { + DeletedTeamsItemChannelsItemGetAllMembersAddPostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_get_all_members_conversation_member_item_request_builder.go new file mode 100644 index 00000000000..35e85341933 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_conversation_member_item_request_builder.go @@ -0,0 +1,157 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters get getAllMembers from teamwork +type DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetQueryParameters +} +// DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + m := &DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder instantiates a new DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property getAllMembers for teamwork +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Patch update the navigation property getAllMembers in teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// ToDeleteRequestInformation delete navigation property getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*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 getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*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 getAllMembers in teamwork +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_get_all_members_count_request_builder.go new file mode 100644 index 00000000000..7b5a6483625 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_count_request_builder.go @@ -0,0 +1,80 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder provides operations to count the resources in the collection. +type DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters get the number of the resource +type DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetQueryParameters +} +// NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) { + m := &DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder instantiates a new DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderInternal(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 *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderGetRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_request_body.go b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_request_body.go new file mode 100644 index 00000000000..702830e64c1 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_request_body.go @@ -0,0 +1,126 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody()(*DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) { + m := &DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody(), 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["values"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + } + m.SetValues(res) + } + return nil + } + return res +} +// GetValues gets the values property value. The values property +// returns a []ConversationMemberable when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetValues() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValues())) + for i, v := range m.GetValues() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("values", 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetValues sets the values property value. The values property +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBody) SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetValues()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetValues(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_response.go b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_response.go new file mode 100644 index 00000000000..0c8cbdc640f --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_post_response.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse()(*DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse) { + m := &DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse) 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 *DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_remove_request_builder.go b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_request_builder.go new file mode 100644 index 00000000000..aee973396c2 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_request_builder.go @@ -0,0 +1,99 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder provides operations to call the remove method. +type DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) { + m := &DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/remove", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// Deprecated: This method is obsolete. Use PostAsRemovePostResponse instead. +// returns a DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable 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-remove?view=graph-rest-beta +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDeletedTeamsItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable), nil +} +// PostAsRemovePostResponse remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable 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-remove?view=graph-rest-beta +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable), nil +} +// ToPostRequestInformation remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedTeamsItemChannelsItemGetAllMembersRemovePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderPostRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_remove_response.go b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_response.go new file mode 100644 index 00000000000..b3be0e16925 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable instead. +type DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse struct { + DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRemoveResponse instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRemoveResponse()(*DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse) { + m := &DeletedTeamsItemChannelsItemGetAllMembersRemoveResponse{ + DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse: *NewDeletedTeamsItemChannelsItemGetAllMembersRemovePostResponse(), + } + return m +} +// CreateDeletedTeamsItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable instead. +type DeletedTeamsItemChannelsItemGetAllMembersRemoveResponseable interface { + DeletedTeamsItemChannelsItemGetAllMembersRemovePostResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/teamwork/deleted_teams_item_channels_item_get_all_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_get_all_members_request_builder.go new file mode 100644 index 00000000000..a77f72f6d8c --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teamwork +type DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetQueryParameters +} +// DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) Add()(*DeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*DeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewDeletedTeamsItemChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) { + m := &DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilder instantiates a new DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) Count()(*DeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) Remove()(*DeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemGetAllMembersRequestBuilder) { + return NewDeletedTeamsItemChannelsItemGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go index 778789f7139..b420bdc1395 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go @@ -110,6 +110,11 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) GetAllMembers()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Members()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_post_response.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_post_response.go new file mode 100644 index 00000000000..9b0bb400948 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_post_response.go @@ -0,0 +1,89 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateActionResultPartFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ActionResultPartable when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActionResultPartable)() +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_response.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_response.go new file mode 100644 index 00000000000..79af26eb36d --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse struct { + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse{ + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse: *NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddPostResponseable +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_remove_response.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_remove_response.go new file mode 100644 index 00000000000..1f6f4e00194 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse struct { + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse{ + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse: *NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemovePostResponseable +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_request_builder.go new file mode 100644 index 00000000000..867368eadff --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Add()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) Remove()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_add_response.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_add_response.go new file mode 100644 index 00000000000..f1d13a36a33 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_add_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse struct { + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse{ + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse: *NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponse(), nil +} +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddPostResponseable +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_remove_response.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_remove_response.go new file mode 100644 index 00000000000..eb9427ecd2d --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_remove_response.go @@ -0,0 +1,27 @@ +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse struct { + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse{ + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse: *NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponse(), + } + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponse(), nil +} +// Deprecated: This class is obsolete. Use TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable instead. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemovePostResponseable +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_request_builder.go new file mode 100644 index 00000000000..e429a1215f6 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_get_all_members_request_builder.go @@ -0,0 +1,162 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters get getAllMembers from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters 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"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Add provides operations to call the add method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Add()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByConversationMemberId provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if conversationMemberId != "" { + urlTplParams["conversationMember%2Did"] = conversationMemberId + } + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersConversationMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get getAllMembers from teamwork +// returns a ConversationMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil +} +// Post create new navigation property to getAllMembers for teamwork +// returns a ConversationMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConversationMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil +} +// Remove provides operations to call the remove method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) Remove()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get getAllMembers from teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderGetRequestConfiguration)(*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 getAllMembers for teamwork +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go index 471c9c7825f..4c8bb1d4775 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go @@ -110,6 +110,11 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } +// GetAllMembers provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) GetAllMembers()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelGetAllMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Members provides operations to manage the members property of the microsoft.graph.channel entity. // returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) Members()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) { diff --git a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go index efd0491a236..3712cde0405 100644 --- a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go @@ -31,7 +31,7 @@ func NewManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequ urlParams["request-raw-url"] = rawUrl return NewManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. +// Post applies a management action against a specific managed tenant. Performing this operation makes the appropriate configurations and creates the appropriate policies. For example, when applying the required multifactor authentication for admins, management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that are assigned an administrative directory role. // returns a ManagementActionDeploymentStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -54,7 +54,7 @@ func (m *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyReq } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionDeploymentStatusable), nil } -// ToPostRequestInformation applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. +// ToPostRequestInformation applies a management action against a specific managed tenant. Performing this operation makes the appropriate configurations and creates the appropriate policies. For example, when applying the required multifactor authentication for admins, management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that are assigned an administrative directory role. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyApplyPostRequestBodyable, requestConfiguration *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go index 892fcbbbdc9..ff22098e48c 100644 --- a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go @@ -70,7 +70,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable), nil } -// Patch join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. +// Patch join a multi-tenant organization, after the owner of the multi-tenant organization adds your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. // returns a MultiTenantOrganizationJoinRequestRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -107,7 +107,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. +// ToPatchRequestInformation join a multi-tenant organization, after the owner of the multi-tenant organization adds your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable, requestConfiguration *MultiTenantOrganizationJoinRequestRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index 2ec7f73be03..30b0ffcd796 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -75,12 +75,12 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a multi-tenant organization. +// Patch create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. // returns a MultiTenantOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a multi-tenant organization. +// ToPatchRequestInformation create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/1290deb0e327abcb542c23ffbed2e3811a438cd6f2281bc45dbebbbce321c767.go b/users/1290deb0e327abcb542c23ffbed2e3811a438cd6f2281bc45dbebbbce321c767.go new file mode 100644 index 00000000000..ff103bc4986 --- /dev/null +++ b/users/1290deb0e327abcb542c23ffbed2e3811a438cd6f2281bc45dbebbbce321c767.go @@ -0,0 +1,98 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters 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"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Count()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/14d4a934a05bdc0c0fbf509ba5e3c67c0a7fb0b6c9d9f1744767c07197f74a96.go b/users/14d4a934a05bdc0c0fbf509ba5e3c67c0a7fb0b6c9d9f1744767c07197f74a96.go new file mode 100644 index 00000000000..c9df13f3088 --- /dev/null +++ b/users/14d4a934a05bdc0c0fbf509ba5e3c67c0a7fb0b6c9d9f1744767c07197f74a96.go @@ -0,0 +1,80 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderInternal(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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/3834112cfc3825e04ccb56f960ce095d709be2f66ded80499e078de06be8b2af.go b/users/3834112cfc3825e04ccb56f960ce095d709be2f66ded80499e078de06be8b2af.go index d936e8832e1..ea452dde7de 100644 --- a/users/3834112cfc3825e04ccb56f960ce095d709be2f66ded80499e078de06be8b2af.go +++ b/users/3834112cfc3825e04ccb56f960ce095d709be2f66ded80499e078de06be8b2af.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/62a13cccb40e22c715f3f92656b1ace84e79cd9d1cdb5ce49b79e4c904b772d8.go b/users/62a13cccb40e22c715f3f92656b1ace84e79cd9d1cdb5ce49b79e4c904b772d8.go index 8efc03f18a8..04259fc0b50 100644 --- a/users/62a13cccb40e22c715f3f92656b1ace84e79cd9d1cdb5ce49b79e4c904b772d8.go +++ b/users/62a13cccb40e22c715f3f92656b1ace84e79cd9d1cdb5ce49b79e4c904b772d8.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/72f96136825ef4baf0ec53016f04e2d7a324c7bc98688e843f8075941d99f63c.go b/users/72f96136825ef4baf0ec53016f04e2d7a324c7bc98688e843f8075941d99f63c.go index e2125e37e59..e7bed7b33aa 100644 --- a/users/72f96136825ef4baf0ec53016f04e2d7a324c7bc98688e843f8075941d99f63c.go +++ b/users/72f96136825ef4baf0ec53016f04e2d7a324c7bc98688e843f8075941d99f63c.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/a790b530c417fc3f3c9eac97ccad59210786c342fb5bffb15bb3cdbc3966b2bc.go b/users/a790b530c417fc3f3c9eac97ccad59210786c342fb5bffb15bb3cdbc3966b2bc.go index 4acd6c53b65..faf930b6d85 100644 --- a/users/a790b530c417fc3f3c9eac97ccad59210786c342fb5bffb15bb3cdbc3966b2bc.go +++ b/users/a790b530c417fc3f3c9eac97ccad59210786c342fb5bffb15bb3cdbc3966b2bc.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesD urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/a859c1f89c7531a8a04d44b6c5397eda7e49ce4da5fc450bf582170feae76cf4.go b/users/a859c1f89c7531a8a04d44b6c5397eda7e49ce4da5fc450bf582170feae76cf4.go new file mode 100644 index 00000000000..21221372f8e --- /dev/null +++ b/users/a859c1f89c7531a8a04d44b6c5397eda7e49ce4da5fc450bf582170feae76cf4.go @@ -0,0 +1,91 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters assign the hardware OATH token to a user. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get assign the hardware OATH token to a user. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) MailboxSettings()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) ServiceProvisioningErrors()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation assign the hardware OATH token to a user. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go b/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go index e5338e10c72..86ebce4db7e 100644 --- a/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go +++ b/users/ac9bc1bd9beda7930d90e130dc7a40195f945ce5e8e9126dd328944617e995a7.go @@ -18,7 +18,7 @@ type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol } return nil } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable, error) { @@ -126,7 +126,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/bdd758b3595e9571ef53ca2f0d5370ac7f7e6f0715ea835b89578cb9fb9dbf23.go b/users/bdd758b3595e9571ef53ca2f0d5370ac7f7e6f0715ea835b89578cb9fb9dbf23.go new file mode 100644 index 00000000000..915876dfa39 --- /dev/null +++ b/users/bdd758b3595e9571ef53ca2f0d5370ac7f7e6f0715ea835b89578cb9fb9dbf23.go @@ -0,0 +1,80 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderInternal(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 *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderGetRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/d3b984526e4db6de5f4d5cbafd0c107c9268d4e37d6e6012c930fe00e35a0dcc.go b/users/d3b984526e4db6de5f4d5cbafd0c107c9268d4e37d6e6012c930fe00e35a0dcc.go new file mode 100644 index 00000000000..279c96e64b9 --- /dev/null +++ b/users/d3b984526e4db6de5f4d5cbafd0c107c9268d4e37d6e6012c930fe00e35a0dcc.go @@ -0,0 +1,98 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\serviceProvisioningErrors +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters 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"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) Count()(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a ServiceProvisioningErrorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServiceProvisioningErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil +} +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/e60ea2cd237739cfc84f4387f46567feed9818c48b86eb7f9f226bb2fa0480d9.go b/users/e60ea2cd237739cfc84f4387f46567feed9818c48b86eb7f9f226bb2fa0480d9.go index 8cabedc8d51..f3de2acc7e1 100644 --- a/users/e60ea2cd237739cfc84f4387f46567feed9818c48b86eb7f9f226bb2fa0480d9.go +++ b/users/e60ea2cd237739cfc84f4387f46567feed9818c48b86eb7f9f226bb2fa0480d9.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/f01bc838a35eefb89ce1e5d33b46d2ef8363294d8dd147dfc99f4c8a8a95b5dd.go b/users/f01bc838a35eefb89ce1e5d33b46d2ef8363294d8dd147dfc99f4c8a8a95b5dd.go new file mode 100644 index 00000000000..7d98b08d5cb --- /dev/null +++ b/users/f01bc838a35eefb89ce1e5d33b46d2ef8363294d8dd147dfc99f4c8a8a95b5dd.go @@ -0,0 +1,123 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(*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 property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/f782a862db9462f007948656a9aa412381b022d80a410ee844e1c09f6e7b9085.go b/users/f782a862db9462f007948656a9aa412381b022d80a410ee844e1c09f6e7b9085.go new file mode 100644 index 00000000000..0338729b521 --- /dev/null +++ b/users/f782a862db9462f007948656a9aa412381b022d80a410ee844e1c09f6e7b9085.go @@ -0,0 +1,162 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignTo provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) AssignTo()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesItemAssignToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property hardwareOathDevices for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// Patch update the navigation property hardwareOathDevices in users +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete navigation property hardwareOathDevices for users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration)(*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 exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration)(*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 hardwareOathDevices in users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_post_request_body.go b/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_post_request_body.go new file mode 100644 index 00000000000..064eb40a16c --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_post_request_body.go @@ -0,0 +1,187 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody()(*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) { + m := &ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody(), 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["serialNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSerialNumber(val) + } + return nil + } + res["verificationCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerificationCode(val) + } + return nil + } + return res +} +// GetSerialNumber gets the serialNumber property value. The serialNumber property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) GetSerialNumber()(*string) { + val, err := m.GetBackingStore().Get("serialNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVerificationCode gets the verificationCode property value. The verificationCode property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) GetVerificationCode()(*string) { + val, err := m.GetBackingStore().Get("verificationCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("serialNumber", m.GetSerialNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("verificationCode", m.GetVerificationCode()) + 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetSerialNumber sets the serialNumber property value. The serialNumber property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) SetSerialNumber(value *string)() { + err := m.GetBackingStore().Set("serialNumber", value) + if err != nil { + panic(err) + } +} +// SetVerificationCode sets the verificationCode property value. The verificationCode property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBody) SetVerificationCode(value *string)() { + err := m.GetBackingStore().Set("verificationCode", value) + if err != nil { + panic(err) + } +} +type ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + GetSerialNumber()(*string) + GetVerificationCode()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() + SetSerialNumber(value *string)() + SetVerificationCode(value *string)() +} diff --git a/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_request_builder.go b/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_request_builder.go new file mode 100644 index 00000000000..d1e087a31b7 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_assign_and_activate_by_serial_number_request_builder.go @@ -0,0 +1,71 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder provides operations to call the assignAndActivateBySerialNumber method. +type ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderInternal(urlParams, requestAdapter) +} +// Post assign and activate a hardware token at the same time by hardware token serial number. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/hardwareoathauthenticationmethod-assignandactivatebyserialnumber?view=graph-rest-beta +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) Post(ctx context.Context, body ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation assign and activate a hardware token at the same time by hardware token serial number. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberPostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_assign_and_activate_post_request_body.go b/users/item_authentication_hardware_oath_methods_assign_and_activate_post_request_body.go new file mode 100644 index 00000000000..07fab8d552d --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_assign_and_activate_post_request_body.go @@ -0,0 +1,188 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody()(*ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) { + m := &ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody(), 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDevice gets the device property value. The device property +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) GetDevice()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable) { + val, err := m.GetBackingStore().Get("device") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["device"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDevice(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable)) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["verificationCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerificationCode(val) + } + return nil + } + return res +} +// GetVerificationCode gets the verificationCode property value. The verificationCode property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) GetVerificationCode()(*string) { + val, err := m.GetBackingStore().Get("verificationCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("device", m.GetDevice()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("verificationCode", m.GetVerificationCode()) + 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDevice sets the device property value. The device property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) SetDevice(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable)() { + err := m.GetBackingStore().Set("device", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetVerificationCode sets the verificationCode property value. The verificationCode property +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBody) SetVerificationCode(value *string)() { + err := m.GetBackingStore().Set("verificationCode", value) + if err != nil { + panic(err) + } +} +type ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDevice()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable) + GetDisplayName()(*string) + GetVerificationCode()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDevice(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable)() + SetDisplayName(value *string)() + SetVerificationCode(value *string)() +} diff --git a/users/item_authentication_hardware_oath_methods_assign_and_activate_request_builder.go b/users/item_authentication_hardware_oath_methods_assign_and_activate_request_builder.go new file mode 100644 index 00000000000..da41618485e --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_assign_and_activate_request_builder.go @@ -0,0 +1,71 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder provides operations to call the assignAndActivate method. +type ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivate", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post assign and activate a hardware token at the same time. This operation requires the device ID to activate it. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/hardwareoathauthenticationmethod-assignandactivate?view=graph-rest-beta +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) Post(ctx context.Context, body ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation assign and activate a hardware token at the same time. This operation requires the device ID to activate it. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAuthenticationHardwareOathMethodsAssignAndActivatePostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderPostRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_count_request_builder.go b/users/item_authentication_hardware_oath_methods_count_request_builder.go new file mode 100644 index 00000000000..da470c813e5 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_count_request_builder.go @@ -0,0 +1,80 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsCountRequestBuilder provides operations to count the resources in the collection. +type ItemAuthenticationHardwareOathMethodsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsCountRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsCountRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsCountRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsCountRequestBuilderInternal(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 *ItemAuthenticationHardwareOathMethodsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemAuthenticationHardwareOathMethodsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsCountRequestBuilderGetRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_hardware_oath_authentication_method_item_request_builder.go b/users/item_authentication_hardware_oath_methods_hardware_oath_authentication_method_item_request_builder.go new file mode 100644 index 00000000000..1feadc04b8f --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_hardware_oath_authentication_method_item_request_builder.go @@ -0,0 +1,130 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. +type ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters the hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +type ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters +} +// Activate provides operations to call the activate method. +// returns a *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) Activate()(*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Deactivate provides operations to call the deactivate method. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) Deactivate()(*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property hardwareOathMethods for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Device provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) Device()(*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +// returns a HardwareOathAuthenticationMethodable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathAuthenticationMethodFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable), nil +} +// ToDeleteRequestInformation delete navigation property hardwareOathMethods for users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*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 hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_activate_post_request_body.go b/users/item_authentication_hardware_oath_methods_item_activate_post_request_body.go new file mode 100644 index 00000000000..77c15c46eec --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_activate_post_request_body.go @@ -0,0 +1,150 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody instantiates a new ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody()(*ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) { + m := &ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody(), 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 *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + 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 *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["verificationCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerificationCode(val) + } + return nil + } + return res +} +// GetVerificationCode gets the verificationCode property value. The verificationCode property +// returns a *string when successful +func (m *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) GetVerificationCode()(*string) { + val, err := m.GetBackingStore().Get("verificationCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("verificationCode", m.GetVerificationCode()) + 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 *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) 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 *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetVerificationCode sets the verificationCode property value. The verificationCode property +func (m *ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBody) SetVerificationCode(value *string)() { + err := m.GetBackingStore().Set("verificationCode", value) + if err != nil { + panic(err) + } +} +type ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + GetVerificationCode()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() + SetVerificationCode(value *string)() +} diff --git a/users/item_authentication_hardware_oath_methods_item_activate_request_builder.go b/users/item_authentication_hardware_oath_methods_item_activate_request_builder.go new file mode 100644 index 00000000000..a44c6e5d5bc --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_activate_request_builder.go @@ -0,0 +1,71 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder provides operations to call the activate method. +type ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post activate a hardware OATH token that is already assigned to a user. A user can self-activate their token or an admin can activate for 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/hardwareoathauthenticationmethod-activate?view=graph-rest-beta +func (m *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) Post(ctx context.Context, body ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation activate a hardware OATH token that is already assigned to a user. A user can self-activate their token or an admin can activate for a user. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemAuthenticationHardwareOathMethodsItemActivatePostRequestBodyable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilderPostRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_deactivate_request_builder.go b/users/item_authentication_hardware_oath_methods_item_deactivate_request_builder.go new file mode 100644 index 00000000000..27ce9c44ceb --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_deactivate_request_builder.go @@ -0,0 +1,67 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder provides operations to call the deactivate method. +type ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post deactive a hardware OATH token. It remains assigned to 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/hardwareoathauthenticationmethod-deactivate?view=graph-rest-beta +func (m *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation deactive a hardware OATH token. It remains assigned to a user. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_device_assign_to_mailbox_settings_request_builder.go b/users/item_authentication_hardware_oath_methods_item_device_assign_to_mailbox_settings_request_builder.go new file mode 100644 index 00000000000..63ae20d9bcd --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_device_assign_to_mailbox_settings_request_builder.go @@ -0,0 +1,123 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\mailboxSettings +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// Patch update property mailboxSettings value. +// returns a MailboxSettingsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMailboxSettingsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable), nil +} +// ToGetRequestInformation settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderGetRequestConfiguration)(*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 property mailboxSettings value. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxSettingsable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderPatchRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_device_assign_to_request_builder.go b/users/item_authentication_hardware_oath_methods_item_device_assign_to_request_builder.go new file mode 100644 index 00000000000..84ba0d270e6 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_device_assign_to_request_builder.go @@ -0,0 +1,91 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters assign the hardware OATH token to a user. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get assign the hardware OATH token to a user. +// returns a Userable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable), nil +} +// MailboxSettings the mailboxSettings property +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) MailboxSettings()(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToMailboxSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ServiceProvisioningErrors the serviceProvisioningErrors property +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) ServiceProvisioningErrors()(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation assign the hardware OATH token to a user. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_count_request_builder.go b/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_count_request_builder.go new file mode 100644 index 00000000000..6d24461181d --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_count_request_builder.go @@ -0,0 +1,80 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder provides operations to count the resources in the collection. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetQueryParameters +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderInternal(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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderGetRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_request_builder.go b/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_request_builder.go new file mode 100644 index 00000000000..777737fb954 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_device_hardware_oath_devices_request_builder.go @@ -0,0 +1,152 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters 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"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByHardwareOathTokenAuthenticationMethodDeviceId provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) ByHardwareOathTokenAuthenticationMethodDeviceId(hardwareOathTokenAuthenticationMethodDeviceId string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hardwareOathTokenAuthenticationMethodDeviceId != "" { + urlTplParams["hardwareOathTokenAuthenticationMethodDevice%2Did"] = hardwareOathTokenAuthenticationMethodDeviceId + } + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesHardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) Count()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceCollectionResponseable), nil +} +// Post create new navigation property to hardwareOathDevices for users +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToGetRequestInformation exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderGetRequestConfiguration)(*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 hardwareOathDevices for users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderPostRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_item_device_request_builder.go b/users/item_authentication_hardware_oath_methods_item_device_request_builder.go new file mode 100644 index 00000000000..caa6b4c3744 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_item_device_request_builder.go @@ -0,0 +1,167 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. +type ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters exposes the hardware OATH method in the directory. +type ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignTo provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) AssignTo()(*ItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceAssignToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property device for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get exposes the hardware OATH method in the directory. +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// HardwareOathDevices provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. +// returns a *ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) HardwareOathDevices()(*ItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceHardwareOathDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property device in users +// returns a HardwareOathTokenAuthenticationMethodDeviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable), nil +} +// ToDeleteRequestInformation delete navigation property device for users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderDeleteRequestConfiguration)(*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 exposes the hardware OATH method in the directory. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderGetRequestConfiguration)(*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 device in users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathTokenAuthenticationMethodDeviceable, requestConfiguration *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilderPatchRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsItemDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_hardware_oath_methods_request_builder.go b/users/item_authentication_hardware_oath_methods_request_builder.go new file mode 100644 index 00000000000..6de8c8dcb01 --- /dev/null +++ b/users/item_authentication_hardware_oath_methods_request_builder.go @@ -0,0 +1,162 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAuthenticationHardwareOathMethodsRequestBuilder provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. +type ItemAuthenticationHardwareOathMethodsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters the hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +type ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters 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"` +} +// ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAuthenticationHardwareOathMethodsRequestBuilderGetQueryParameters +} +// ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignAndActivate provides operations to call the assignAndActivate method. +// returns a *ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) AssignAndActivate()(*ItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// AssignAndActivateBySerialNumber provides operations to call the assignAndActivateBySerialNumber method. +// returns a *ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) AssignAndActivateBySerialNumber()(*ItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsAssignAndActivateBySerialNumberRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ByHardwareOathAuthenticationMethodId provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. +// returns a *ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) ByHardwareOathAuthenticationMethodId(hardwareOathAuthenticationMethodId string)(*ItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hardwareOathAuthenticationMethodId != "" { + urlTplParams["hardwareOathAuthenticationMethod%2Did"] = hardwareOathAuthenticationMethodId + } + return NewItemAuthenticationHardwareOathMethodsHardwareOathAuthenticationMethodItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemAuthenticationHardwareOathMethodsRequestBuilderInternal instantiates a new ItemAuthenticationHardwareOathMethodsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsRequestBuilder) { + m := &ItemAuthenticationHardwareOathMethodsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemAuthenticationHardwareOathMethodsRequestBuilder instantiates a new ItemAuthenticationHardwareOathMethodsRequestBuilder and sets the default values. +func NewItemAuthenticationHardwareOathMethodsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAuthenticationHardwareOathMethodsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAuthenticationHardwareOathMethodsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemAuthenticationHardwareOathMethodsCountRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) Count()(*ItemAuthenticationHardwareOathMethodsCountRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +// returns a HardwareOathAuthenticationMethodCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathAuthenticationMethodCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodCollectionResponseable), nil +} +// Post create new navigation property to hardwareOathMethods for users +// returns a HardwareOathAuthenticationMethodable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable, requestConfiguration *ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateHardwareOathAuthenticationMethodFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable), nil +} +// ToGetRequestInformation the hardware OATH time-based one-time password (TOTP) devices assigned to a user for authentication. +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationHardwareOathMethodsRequestBuilderGetRequestConfiguration)(*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 hardwareOathMethods for users +// returns a *RequestInformation when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareOathAuthenticationMethodable, requestConfiguration *ItemAuthenticationHardwareOathMethodsRequestBuilderPostRequestConfiguration)(*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 *ItemAuthenticationHardwareOathMethodsRequestBuilder when successful +func (m *ItemAuthenticationHardwareOathMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationHardwareOathMethodsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_request_builder.go b/users/item_authentication_request_builder.go index e44bb9d609e..92d1d0b5bf7 100644 --- a/users/item_authentication_request_builder.go +++ b/users/item_authentication_request_builder.go @@ -100,6 +100,11 @@ func (m *ItemAuthenticationRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Authenticationable), nil } +// HardwareOathMethods provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. +// returns a *ItemAuthenticationHardwareOathMethodsRequestBuilder when successful +func (m *ItemAuthenticationRequestBuilder) HardwareOathMethods()(*ItemAuthenticationHardwareOathMethodsRequestBuilder) { + return NewItemAuthenticationHardwareOathMethodsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Methods provides operations to manage the methods property of the microsoft.graph.authentication entity. // returns a *ItemAuthenticationMethodsRequestBuilder when successful func (m *ItemAuthenticationRequestBuilder) Methods()(*ItemAuthenticationMethodsRequestBuilder) { diff --git a/users/item_calendar_calendar_view_delta_request_builder.go b/users/item_calendar_calendar_view_delta_request_builder.go index 6a9cbe88c4a..f3c3968e604 100644 --- a/users/item_calendar_calendar_view_delta_request_builder.go +++ b/users/item_calendar_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, r } return res.(ItemCalendarCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(ItemCalendarCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index 1272da56fc0..662ad3887b5 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 83ff2856c3a..289c4adace1 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } return res.(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go index 04ea3f008e5..3ca6f1dac2d 100644 --- a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx conte } return res.(ItemCalendarCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGet } return res.(ItemCalendarCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 9aea59e7138..8144df465a4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } return res.(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } return res.(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_delta_request_builder.go b/users/item_calendar_events_delta_request_builder.go index 5dbccbcc9a5..93c9e857d43 100644 --- a/users/item_calendar_events_delta_request_builder.go +++ b/users/item_calendar_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, request } return res.(ItemCalendarEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx contex } return res.(ItemCalendarEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go index 0f7eb65c151..22f85ea97a3 100644 --- a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx } return res.(ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDel } return res.(ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index a1c8b46f39e..362da9c469d 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } return res.(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } return res.(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_delta_request_builder.go b/users/item_calendar_events_item_instances_delta_request_builder.go index edb35f20bab..7d8b46286aa 100644 --- a/users/item_calendar_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Con } return res.(ItemCalendarEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetRespon } return res.(ItemCalendarEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index 13979860bbc..e109a376357 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } return res.(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } return res.(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go index 3801e303520..ecb2dcf7432 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) Get } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) Get } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go index cc3160bc1c8..c2e44efdbd7 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaReques } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaReques } return res.(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go index 240e13568ff..20c28b4bcea 100644 --- a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx c } return res.(ItemCalendarGroupsItemCalendarsItemEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) GetAsDelt } return res.(ItemCalendarGroupsItemCalendarsItemEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index 4f5efce262b..524a7379e92 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRe urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaR } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaR } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go index 6bd6ea4d0e7..a8e298b0a92 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuild } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuild } return res.(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_delta_request_builder.go b/users/item_calendar_view_delta_request_builder.go index bfe1dc3cd92..395ae3cd2c5 100644 --- a/users/item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go index ba1cfd333c8..e96802bddf1 100644 --- a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx co } return res.(ItemCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDelta } return res.(ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 97b19a4a8cb..9a7c0b94fa5 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } return res.(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } return res.(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_view_item_instances_delta_request_builder.go index a92869cce3a..6f5394d44d3 100644 --- a/users/item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Conte } return res.(ItemCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse } return res.(ItemCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index fdf07fb61b5..678c97a1554 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendars_item_calendar_view_delta_request_builder.go index 031f9a1ae25..3751172abb6 100644 --- a/users/item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemCalendarViewDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemCalendarViewDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) Get(ctx context.Conte } return res.(ItemCalendarsItemCalendarViewDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemCalendarViewDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse } return res.(ItemCalendarsItemCalendarViewDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index 08afaf3ecd1..95da9605122 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilde } return res.(ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 473fcea4910..7d8fd89ce37 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaR urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDelta } return res.(ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDelta } return res.(ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go index cb37e543807..10464da98f2 100644 --- a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemCalendarViewItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx } return res.(ItemCalendarsItemCalendarViewItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDel } return res.(ItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 0b0481da227..1fa30dd079d 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaR urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDelta } return res.(ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDelta } return res.(ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_delta_request_builder.go b/users/item_calendars_item_events_delta_request_builder.go index 6ad6edf637a..48da1712689 100644 --- a/users/item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendars_item_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx context.Context, re } return res.(ItemCalendarsItemEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx c } return res.(ItemCalendarsItemEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index 2c0baef9067..818d6586d15 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 99f2c0b8ea3..b92c0f634c8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaReques } return res.(ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaReques } return res.(ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_instances_delta_request_builder.go index c8d190e67db..242497d43df 100644 --- a/users/item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) Get(ctx contex } return res.(ItemCalendarsItemEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetR } return res.(ItemCalendarsItemEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index fe2cb967904..42e281ebfff 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaReques } return res.(ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaReques } return res.(ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go b/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go index 965d7bf915b..231900bf2bb 100644 --- a/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go +++ b/users/item_cloud_p_cs_item_retrieve_review_status_request_builder.go @@ -31,9 +31,12 @@ func NewItemCloudPCsItemRetrieveReviewStatusRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemRetrieveReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function retrieveReviewStatus +// Get get the review status of a Cloud PC. // returns a CloudPcReviewStatusable 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/cloudpc-retrievereviewstatus?view=graph-rest-beta func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } -// ToGetRequestInformation invoke function retrieveReviewStatus +// ToGetRequestInformation get the review status of a Cloud PC. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemRetrieveReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_retrieve_snapshots_request_builder.go b/users/item_cloud_p_cs_item_retrieve_snapshots_request_builder.go index 3d8196aaec2..a23342fbe3b 100644 --- a/users/item_cloud_p_cs_item_retrieve_snapshots_request_builder.go +++ b/users/item_cloud_p_cs_item_retrieve_snapshots_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCloudPCsItemRetrieveSnapshotsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters invoke function retrieveSnapshots +// ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters list all cloudPcSnapshot resources for a Cloud PC. type ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemCloudPCsItemRetrieveSnapshotsRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemRetrieveSnapshotsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function retrieveSnapshots +// Get list all cloudPcSnapshot resources for a Cloud PC. // Deprecated: This method is obsolete. Use GetAsRetrieveSnapshotsGetResponse instead. // returns a ItemCloudPCsItemRetrieveSnapshotsResponseable 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/cloudpc-retrievesnapshots?view=graph-rest-beta func (m *ItemCloudPCsItemRetrieveSnapshotsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemRetrieveSnapshotsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemCloudPCsItemRetrieveSnapshotsRequestBuilder) Get(ctx context.Contex } return res.(ItemCloudPCsItemRetrieveSnapshotsResponseable), nil } -// GetAsRetrieveSnapshotsGetResponse invoke function retrieveSnapshots +// GetAsRetrieveSnapshotsGetResponse list all cloudPcSnapshot resources for a Cloud PC. // returns a ItemCloudPCsItemRetrieveSnapshotsGetResponseable 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/cloudpc-retrievesnapshots?view=graph-rest-beta func (m *ItemCloudPCsItemRetrieveSnapshotsRequestBuilder) GetAsRetrieveSnapshotsGetResponse(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemRetrieveSnapshotsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemCloudPCsItemRetrieveSnapshotsRequestBuilder) GetAsRetrieveSnapshots } return res.(ItemCloudPCsItemRetrieveSnapshotsGetResponseable), nil } -// ToGetRequestInformation invoke function retrieveSnapshots +// ToGetRequestInformation list all cloudPcSnapshot resources for a Cloud PC. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemRetrieveSnapshotsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetrieveSnapshotsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_set_review_status_request_builder.go b/users/item_cloud_p_cs_item_set_review_status_request_builder.go index a122b69f5af..4f887d364ac 100644 --- a/users/item_cloud_p_cs_item_set_review_status_request_builder.go +++ b/users/item_cloud_p_cs_item_set_review_status_request_builder.go @@ -30,8 +30,11 @@ func NewItemCloudPCsItemSetReviewStatusRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemSetReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action setReviewStatus +// Post set the review status of a specific Cloud PC device using the Cloud PC ID. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-setreviewstatus?view=graph-rest-beta func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) Post(ctx context.Context } return nil } -// ToPostRequestInformation invoke action setReviewStatus +// ToPostRequestInformation set the review status of a specific Cloud PC device using the Cloud PC ID. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemSetReviewStatusRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemSetReviewStatusPostRequestBodyable, requestConfiguration *ItemCloudPCsItemSetReviewStatusRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_delta_request_builder.go b/users/item_events_delta_request_builder.go index 78e13c99347..f207a8981e8 100644 --- a/users/item_events_delta_request_builder.go +++ b/users/item_events_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemEventsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ItemEventsDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Contex } return res.(ItemEventsDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_exception_occurrences_delta_request_builder.go index 59fa0f447fa..39a65904eea 100644 --- a/users/item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context. } return res.(ItemEventsItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetRes } return res.(ItemEventsItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index d1ef70eba9c..dde89eb2ae4 100644 --- a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get } return res.(ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get } return res.(ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_delta_request_builder.go b/users/item_events_item_instances_delta_request_builder.go index 8dddbdac8e5..ff7b863c97a 100644 --- a/users/item_events_item_instances_delta_request_builder.go +++ b/users/item_events_item_instances_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemInstancesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemInstancesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, re } return res.(ItemEventsItemInstancesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemInstancesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx c } return res.(ItemEventsItemInstancesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index b40efe8507d..d6f3e572115 100644 --- a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,7 +55,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// Get get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -79,7 +79,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// GetAsDeltaGetResponse get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get } return res.(ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. +// ToGetRequestInformation get a set of event resources that are added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar that belongs to the user. When getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of events in the specified calendar. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go index bb4c7a9ddbe..4446f3fa852 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -53,7 +53,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -77,7 +77,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) Get(ctx } return res.(ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a ItemMailFoldersItemChildFoldersItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -100,7 +100,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) GetAsDe } return res.(ItemMailFoldersItemChildFoldersItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_messages_delta_request_builder.go index c5615b5a341..d5806541c60 100644 --- a/users/item_mail_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. type ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -53,7 +53,7 @@ func NewItemMailFoldersItemMessagesDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMailFoldersItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -77,7 +77,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemMailFoldersItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a ItemMailFoldersItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -100,7 +100,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(ItemMailFoldersItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_delta_request_builder.go b/users/item_messages_delta_request_builder.go index 599fa2f2242..69091ecd987 100644 --- a/users/item_messages_delta_request_builder.go +++ b/users/item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. type ItemMessagesDeltaRequestBuilderGetQueryParameters struct { // A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. ChangeType *string `uriparametername:"changeType"` @@ -53,7 +53,7 @@ func NewItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// Get get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -77,7 +77,7 @@ func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// GetAsDeltaGetResponse get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a ItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -100,7 +100,7 @@ func (m *ItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Cont } return res.(ItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that were added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). Using deltas allows you toincrementally maintain and synchronize a local store of a user's messages. // returns a *RequestInformation when successful func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 47bd7d95a6b..e40d68e6607 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBui func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Count()(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get indicates collection of App Log Upload Request. +// Get the collection property of AppLogUploadRequest. // returns a AppLogCollectionRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppLogCollectionRequestable), nil } -// ToGetRequestInformation indicates collection of App Log Upload Request. +// ToGetRequestInformation the collection property of AppLogUploadRequest. // returns a *RequestInformation when successful func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_notebook_item_request_builder.go b/users/item_onenote_notebooks_notebook_item_request_builder.go index aeec3f5db72..c712809a3a3 100644 --- a/users/item_onenote_notebooks_notebook_item_request_builder.go +++ b/users/item_onenote_notebooks_notebook_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteNotebooksNotebookItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { @@ -136,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_request_builder.go b/users/item_onenote_notebooks_request_builder.go index 5e16578e556..b5a3fb99cff 100644 --- a/users/item_onenote_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { @@ -126,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the collection of OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_pages_onenote_page_item_request_builder.go b/users/item_onenote_pages_onenote_page_item_request_builder.go index 912bf7bde8e..cb5205d13f2 100644 --- a/users/item_onenote_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_pages_onenote_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesOnenotePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable, error) { @@ -151,7 +151,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_pages_request_builder.go b/users/item_onenote_pages_request_builder.go index c275fe466a7..629bff734fe 100644 --- a/users/item_onenote_pages_request_builder.go +++ b/users/item_onenote_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenotePagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenotePagesRequestBuilderGetQueryParameters the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenotePagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenotePagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOnenotePagesRequestBuilder) Count()(*ItemOnenotePagesCountRequestBuilder) { return NewItemOnenotePagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenotePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenotePagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenotePagesRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenotePageable), nil } -// ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the pages in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_section_groups_request_builder.go b/users/item_onenote_section_groups_request_builder.go index 8b7ee7340e3..01646b018c5 100644 --- a/users/item_onenote_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_section_groups_section_group_item_request_builder.go b/users/item_onenote_section_groups_section_group_item_request_builder.go index 32dde34b9f5..bbfb99dc06d 100644 --- a/users/item_onenote_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_section_groups_section_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the section groups in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_sections_onenote_section_item_request_builder.go b/users/item_onenote_sections_onenote_section_item_request_builder.go index a41d98b731a..31d74f32472 100644 --- a/users/item_onenote_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_sections_onenote_section_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,7 +80,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { @@ -146,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_sections_request_builder.go b/users/item_onenote_sections_request_builder.go index f3c7eac294e..43b770e9aeb 100644 --- a/users/item_onenote_sections_request_builder.go +++ b/users/item_onenote_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// Get the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. +// ToGetRequestInformation the sections in all OneNote notebooks that the user or group owns. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)